cdrx / docker-pyinstaller

PyInstaller for Linux and Windows inside Docker
MIT License
616 stars 238 forks source link

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. #95

Closed s2339956 closed 4 years ago

s2339956 commented 4 years ago

➜ src docker run -v "$(pwd):/src/" cdrx/pyinstaller-windows:python3 Collecting cffi==1.13.2 Downloading https://files.pythonhosted.org/packages/71/71/6011c17e8a523be0be20149ed7ba7e8671db7ec6fc52868e4f9a49d527f8/cffi-1.13.2-cp37-cp37m-win_amd64.whl (175kB) Collecting pytest==4.6.3 Downloading https://files.pythonhosted.org/packages/b3/eb/df264c0b1ff4aaf263375dc09aabd9093364f66060be9b26f3a2c166d558/pytest-4.6.3-py2.py3-none-any.whl (229kB) Collecting cryptography==2.8 Downloading https://files.pythonhosted.org/packages/a4/9c/9ad11ad293bb75d37fa63a0d1f47ae7f6ccda32bc7452bf2ffb788ca753f/cryptography-2.8-cp37-cp37m-win_amd64.whl (1.5MB) Collecting BeautifulSoup==3.2.2 Downloading https://files.pythonhosted.org/packages/40/f2/6c9f2f3e696ee6a1fb0e4d7850617e224ed2b0b1e872110abffeca2a09d4/BeautifulSoup-3.2.2.tar.gz ERROR: Command errored out with exit status 1: command: 'c:\Python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\users\root\Temp\pip-install-kkn9qi2k\BeautifulSoup\setup.py'"'"'; file='"'"'C:\users\root\Temp\pip-install-kkn9qi2k\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\root\Temp\pip-install-kkn9qi2k\BeautifulSoup\pip-egg-info' cwd: C:\users\root\Temp\pip-install-kkn9qi2k\BeautifulSoup\ Complete output (6 lines): Traceback (most recent call last): File "", line 1, in File "C:\users\root\Temp\pip-install-kkn9qi2k\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 19.3.1; however, version 20.1.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

----------------------------------------

I tried to use this image file, but he got the above error, I am running on macOS

cdrx commented 4 years ago
"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'."