本机中原pyinstallerreleases为3.5releases,It was intended that the pip install --upgrade pyinstaller
When I upgraded, I got an error and uninstalled and reinstalled it again, so I can't do anything about it, but it looks like I can't install it via pip for the time being.
Here's how to install the source code. First, download the source code for version 3.6./project/PyInstaller/#files
After the completion of the download if the Win10 operating system, be sure to pack the command window in an administrator way, otherwise it will prompt the problem of insufficient privileges, for example, I am to put the source code to the E disk, first switch to the source code where the path, and then execute the
python install
This will start the installation, which is then passed through thepip show pyinstaller
This completes the installation of the module.
PS: python install pyinstaller method
When you write a script in python and need to send it to someone else, you will always think of how to package it into an exe file and send it to the other party. In this case, the other party can directly use the runtime, no need to install python. so look at the online tutorials, most of them guide you to install pyinstaller.
You'll usually be guided through the installation, using pip install.pip install pyinstaller
--- That said, pip is indeed fantastic tool and does work very hard to install the software you need. But if you're using python version 3.6, then congratulations, you'll get it. But if you are using a version lower than 3.6, the installation will be a pain in the ass. Either you get an error that the download failed, or you get an error that the compilation failed, or you get an error that pypiwin32.... is missing.
If you are lucky, then you may be able to install it successfully, if not, like me, it took a week to install 。。。。。。
A week of tossing and turning still paid off, and a good trick was found for installing pyinstaller. Without further ado, if you're below version 3.6 of python.
Execute the order first: pip install -U pip
, upgrade the pip version first, because I found that python 3.6 version also has a high pip version and can install pyinstaller without any problem.
After upgrading pip, execute the command : pip install pyinstaller
As long as the Internet speed is not bad, just sit back and wait for the installation to succeed.
summarize
The above is a small introduction to the pyinstaller 3.6 version of the solution failed to install via pip, I hope to help you, if you have any questions please leave me a message, I will reply to you in time. Here also thank you very much for your support of my website!
If you find this article helpful, please feel free to reprint it, and please note the source, thank you!