|

楼主 |
发表于 2021-1-30 12:58:08
|
显示全部楼层
C:\Users\86185>pip install beautifulsoup
Defaulting to user installation because normal site-packages is not writeable
Collecting beautifulsoup
Using cached BeautifulSoup-3.2.2.tar.gz (32 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\86185\\AppData\\Local\\Temp\\pip-install-hhh19r4_\\beautifulsoup\\setup.py'"'"'; __file__='"'"'C:\\Users\\86185\\AppData\\Local\\Temp\\pip-install-hhh19r4_\\beautifulsoup\\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\86185\AppData\Local\Temp\pip-pip-egg-info-8vyouq2s'
cwd: C:\Users\86185\AppData\Local\Temp\pip-install-hhh19r4_\beautifulsoup\
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\86185\AppData\Local\Temp\pip-install-hhh19r4_\beautifulsoup\setup.py", line 3
"You're trying to run a very old release of Beautiful Soup under Python 3. This will not work."<>"Please use Beautiful Soup 4, available through the pip package 'beautifulsoup4'."
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 21.0 is available.
You should consider upgrading via the 'c:\program files\python39\python.exe -m pip install --upgrade pip' command.
安装报错了
|
|