用pip下载beatifulSoup报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check th

ERROR: Command errored out with exit status 1:
     command: 'F:\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\asus\\AppData\\Local\\Temp\\pip-install-9z82sj6s\\BeautifulSoup\\setup.py'"'"'; __file__='"'"'C:\\Users\\asus\\AppData\\Local\\Temp\\pip-install-9z82sj6s\\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 pip-egg-info
         cwd: C:\Users\asus\AppData\Local\Temp\pip-install-9z82sj6s\BeautifulSoup\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "", line 1, in
      File "C:\Users\asus\AppData\Local\Temp\pip-install-9z82sj6s\BeautifulSoup\setup.py", line 22
        print "Unit tests have failed!"
                                      ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Unit tests have failed!")?
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

解决方案:

用pip下载beatifulSoup报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check th_第1张图片

你可能感兴趣的:(坑路历程)