The python win7 system of the installation process pyinstaller (including installation setuptools and pip)

While the discussion paper installation pyinstaller, but as install and use third-party libraries, also applies to other third-party libraries.

 

Native environment, the installation is complete python3.6 (64-bit), to complete the setting environment variables, can be used in the python command cmd command window starts normally python.

But the command or use pip pip install pyinstaller be wrong.

Description pip is not installed correctly.

At this point you can download from the official website

Whl which files need to be installed using the wheel, are interested can try. We direct download tar.gz file.

After the extract to a local

 

Start cmd command-line installation

 

Here reminder:

Redlines at the input path "cmd" command line window will be given the location (start powershell in the folder, right after the selection can also hold down the shift) in the current folder

 

cmd input python setup.py install

Installation will not proceed smoothly, it will prompt the lack of setuptools. . .

即“ No module named setuptools

No surprise surprise - meaning no accident -

So, you also need to install setuptools

Similarly, the first under good setuptools

 

 Unpack again locally, call cmd installation

Input cmd python setup.py install window

If the screen to quickly scroll up, it is being installed, wait a minute.

Setuptools after the completion of the installation can be installed pip.

As the operation described above can also pyinstaller.

Therefore, there is mounting order: setuptools - "pip -" pyinstaller

Further pip After installation need to set the path name in the system environment variable reference after the installation environment variable python method.

Can be installed after pip pip xxx install easily use the cmd command line to install.

I was a dividing line -------- --------

At the beginning of learning python, there are many problems, installation, setup, and so all kinds of pits, then hope to have a graphic tutorial.

所以行文啰嗦,大神见谅,希望能帮到如我般的初学者。

————————我还是一条分割线————————

参考:

https://www.tuicool.com/articles/eiM3Er3/

https://www.cnblogs.com/kongxc/p/7787670.html

等等

感谢分享,在此不一一列举了。

 

Guess you like

Origin www.cnblogs.com/tctxc/p/11203075.html