我尝试在 Windows 终端中运行pip install instagram-scraper,pip install igramscraper但出现此错误:错误:命令错误,退出状态 1:python setup.py Egg_info 检查日志以获取完整的命令输出。错误全文是:Using cached instagram-scraper-1.9.0.tar.gz (35 kB) ERROR: Command errored out with exit status 1: command: 'c:\users\a\appdata\local\programs\python\python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\a\\AppData\\Local\\Temp\\pip-install-imeolj6n\\instagram-scraper\\setup.py'"'"'; file='"'"'C:\\Users\\a\\AppData\\Local\\Temp\\pip-install-imeolj6n\\instagram-scraper\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\a\AppData\Local\Temp\pip-pip-egg-info-pvp8sv0c' cwd: C:\Users\a\AppData\Local\Temp\pip-install-imeolj6n\instagram-scraper\ Complete output (28 lines): Traceback (most recent call last): File "c:\users\a\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\__init__.py", line 2470, in resolve return functools.reduce(getattr, self.attrs, module) AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts' During handling of the above exception, another exception occurred:我使用的是 python3,它已在环境变量中设置为路径。
添加回答
举报
0/150
提交
取消