I've been having trouble installing pyinstaller on Windows. Using the command:
C:\\Users\\Chris>py -m pip install pyinstaller --user
I keep getting the error:
Collecting pyinstaller Using cached PyInstaller-3.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'setuptools' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in C:\\Users\\Chris\\Ap pData\\Local\\Temp\\pip-build-jvfkrm8f\\pyinstaller\\
I have tried upgrading setuptools
C:\\Users\\Chris>py -m pip install setuptools --upgrade Requirement already up-to-date: setuptools in c:\\users\\chris\\lib\\site-packages
I also tried uninstalling and reinstalling setuptools.
How can I fix this?
Try doing
pip<py version> install pyinstaller --user
Like
pip3.6 install pyinstaller
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.