SoFunction
Updated on 2024-12-20

Various problems with installing pyinstaller (summary)

The environment is Win7, anaconda3, using python version 3.6.5.

anaconda integrates most of the commonly used third-party libraries, such as numpy, etc., but some are not integrated and need to be installed and loaded manually, before the installation of third-party libraries using the command: pip install ** (** represents the name of the library)

Question 1

As usual installation method, pip install pyinstaller appears timeout error, often download about 10 percent of a bunch of red errors or warnings, usually because of the slow speed of the network caused by the solution:

pip --default-timeout=100 install -U ***(*** stands for module name)

Question 2

An environment error occurs

Solution: pip --default-timeout=100 install --user ***

Question 3

Missing msgpack

Solution: pip install --user msgpack

Question 4

appearedinstalling build dependencies ... error

Solution: pip --default-timeout=100 install --user pyinstaller (that is, change the -U just now to --user, not sure why, but it did work)

Due to the manual documentation of errors that occur during the installation process, there are some errors that are not screenshotted, so feel free to comment below if you don't understand!

to this article on the installation of pyinstaller encountered a variety of problems (summary) of the article is introduced to this, more related to the installation of pyinstaller problem content please search for my previous articles or continue to browse the following related articles I hope you will support me in the future more!