inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

[자동화 완전 정복] 인스타그램 휴대폰, 웹 자동화 프로그램 개발

weditor 설치방법 궁금합니다

해결된 질문

1984

da shin

작성한 질문수 3

1

weditor 설치방법에대해서
따로 언급이 없는거같은데

pip install -U weditor

이렇게해봤는데

  error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.

│ exit code: 1

╰─> [37 lines of output]

 

 

...

 

 

 

note: This error originates from a subprocess, and is likely not a problem with pip.

error: metadata-generation-failed

× Encountered error while generating package metadata.

╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.

hint: See above for details.

 

라고 나오네요

python selenium

답변 1

0

김지유

안녕하세요 da shin님 : )

 

pip install weditor

위의 명령어가 에러가 난다면

  1. 첫번째로 아래 명령어를 시도해주세요

pip3 install weditor

 

  1. 첫번째 명령어도 실패할 경우, 아래 명령어를 실행해주세요

pip install git+https://github.com/alibaba/web-editor.git

 

저도 weditor 설치 에러를 겪으면서 참고한 링크입니다
https://swlock.blogspot.com/2022/05/weditor-unicodedecodeerror-cp949.html

 

혹시, 1번째 2번째 명령어로도 설치가 안된다면 다시 질문을 달아주시면 빠르게 답변드리겠습니다

0

da shin

[ 1,2번쨰 방법 에러입니다 ]

Collecting weditor

Using cached weditor-0.6.7.tar.gz (2.2 MB)

Preparing metadata (setup.py) ... error

error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.

│ exit code: 1

╰─> [31 lines of output]

C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead

warnings.warn(

C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead

warnings.warn(

C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead

warnings.warn(

C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.

warnings.warn(

WARNING: The wheel package is not available.

Error parsing

Traceback (most recent call last):

File "c:\users\user\appdata\local\temp\pip-install-hhi_f0sf\weditor_bcc469b1a2154589b2087616ce035443\.eggs\pbr-5.11.0-py3.10.egg\pbr\core.py", line 111, in pbr

attrs = util.cfg_to_args(path, dist.script_args)

File "c:\users\user\appdata\local\temp\pip-install-hhi_f0sf\weditor_bcc469b1a2154589b2087616ce035443\.eggs\pbr-5.11.0-py3.10.egg\pbr\util.py", line 272, in cfg_to_args

pbr.hooks.setup_hook(config)

File "c:\users\user\appdata\local\temp\pip-install-hhi_f0sf\weditor_bcc469b1a2154589b2087616ce035443\.eggs\pbr-5.11.0-py3.10.egg\pbr\hooks\__init__.py", line 25, in setup_hook

metadata_config.run()

File "c:\users\user\appdata\local\temp\pip-install-hhi_f0sf\weditor_bcc469b1a2154589b2087616ce035443\.eggs\pbr-5.11.0-py3.10.egg\pbr\hooks\base.py", line 27, in run

self.hook()

File "c:\users\user\appdata\local\temp\pip-install-hhi_f0sf\weditor_bcc469b1a2154589b2087616ce035443\.eggs\pbr-5.11.0-py3.10.egg\pbr\hooks\metadata.py", line 25, in hook

self.config['version'] = packaging.get_version(

File "c:\users\user\appdata\local\temp\pip-install-hhi_f0sf\weditor_bcc469b1a2154589b2087616ce035443\.eggs\pbr-5.11.0-py3.10.egg\pbr\packaging.py", line 862, in get_version

version = getversion_from_pkg_metadata(package_name)

File "c:\users\user\appdata\local\temp\pip-install-hhi_f0sf\weditor_bcc469b1a2154589b2087616ce035443\.eggs\pbr-5.11.0-py3.10.egg\pbr\packaging.py", line 830, in getversion_from_pkg_metadata

pkg_metadata = email.message_from_file(pkg_metadata_file)

File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\email\__init__.py", line 54, in message_from_file

return Parser(*args, **kws).parse(fp)

File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\email\parser.py", line 53, in parse

data = fp.read(8192)

UnicodeDecodeError: 'cp949' codec can't decode byte 0xad in position 829: illegal multibyte sequence

error in setup command: Error parsing C:\Users\user\AppData\Local\Temp\pip-install-hhi_f0sf\weditor_bcc469b1a2154589b2087616ce035443\setup.cfg: UnicodeDecodeError: 'cp949' codec can't decode byte 0xad in position 829: illegal multibyte sequence

[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

error: metadata-generation-failed

× Encountered error while generating package metadata.

╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.

hint: See above for details.

 

[ 3번쨰 방법 에러입니다 ]

PS C:\Users\user\Desktop\project> pip install git+https://github.com/alibaba/web-editor.git

Collecting git+https://github.com/alibaba/web-editor.git

Cloning https://github.com/alibaba/web-editor.git to c:\users\user\appdata\local\temp\pip-req-build-0s60x86_

ERROR: Error [WinError 2] 지정된 파일을 찾을 수 없습니다 while executing command git version

ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

 

 

알려주신 방법 다 안되네요ㅠ

 

 

pip install weditor==0.6.4

 

이걸로 해서 설치는 된거같은데

상관없을까요 ?



 

0

김지유

아래 사이트에서 git 을 다운로드해주시고
https://git-scm.com/downloads

아래 명령어를 실행시키면 잘 설치될거에요 !

pip install git+https://github.com/alibaba/web-editor.git

site:instagram.com -inurl:explore/tags -inurl:p -inurl:reel intitle:'{keyword}'" 이 코드는 이제 최신게시물을 불러오지 못합니다.

0

222

1

weditor에서

0

254

2

핸드폰으로 자동 클릭안됩니다.

0

551

2

로긴할 때 폰으로 보안코드 보낸거 입력하라는거요..

0

220

1

insta_mobile.py 링크만 무한루프 뜹니다. 왜 그런가요?

0

405

2

폰에 atx라는 자동차 모양 아이콘의 앱이 설치되었어요.

0

350

2

팔로워 리스트 추출완료 count 관련 문의드립니다.

0

424

2

휴대폰 로그인 패턴

0

268

2

리스트 추출만 반복

0

397

2

해시태그 검색 후 최근게시물 없음

0

2544

2

에러 확인 좀 부탁드립니다.

0

320

2

해시태그 검색 결과가 수강 내용과 달라서 올려주신 최종 코드가 적용되지 않고 오류가 납니다.

0

540

2

아직 질문 해결이 되지 못했습니다.

0

409

2

https://www.instagram.com/explore/tags/{keyword} 이상해요

0

525

2

윈도우와 맥 환경이 다른 점이 많아서 초기 환경설정부터 막혀있습니다 ㅜ

1

691

2

인스타 검색 부분이 변경 되어서...

1

467

2

Web 태그 접속후, 최근 사진 없습니다.?

0

384

2

계속 안됩니다..

1

323

2

insta_web 질문 있습니다!

1

1646

3

섹션6-3 '댓글' 질문드립니다!

1

359

2

해시태그 추출

1

758

1

인스타그램 로그인 완료 후 검색 부분 (섹션 5 -3)

1

413

1

로그인 이후 발이 묶여서 멈추고 더이상 넘어가지 못하고 있습니다.

1

1094

3

MVWAER 질문 있습니다

0

317

1