简体   繁体   中英

PIP fails to install auto-py-to-exe

I have problem with PIP 3.8

C:\Users\iivoo\PycharmProjects\TEST\venv\Scripts>pip install auto-py-to-exe
Collecting auto-py-to-exe...

distutils.errors.DistutilsError: Setup script exited with error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\iivoo\AppData\Local\Temp\pip-install-gf4x4k83\gevent\

I don't know what is problem i have: latest visual studio c++ building tools, python 3.8, pip 3.8, latest pyinstaller, windows 10

Pls help me thank you!

Edit: Sorry bad english!

I will try to give you a short list of reasons for this failure.

  1. Auto Py To Exe uses (is based on) PyInstaller
  2. PyInstaller has no support for Python 3.8
  3. So, Auto Py To Exe doesn't work with Python 3.8.x but it does for Python : Python >= 2.7 ( including 3.7 🎉 ) Read here

PyInstaller is not supported on Python 3.8 yet. This solution works:

    pip uninstall pyinstaller
    pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip
    pip install -U gevent==1.5a3
    pip install -U auto-py-to-exe

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM