python3.6 uses pyinstall to package py as an operation instance of exe

  • 2021-01-22 05:12:04
  • OfStack

python3.6(Note that python is 32-bit, not the operating system is 32-bit. If you install a 64-bit python, you will find that pyinstall does not provide service.)

cmd: Python36: Scripts, C: Python36: Scripts. cmd: Python36: Scripts, C: Python36: Scripts. cmd: Python36: Scripts, C: Python36: Scripts > pip install openpyxl

3. Install pyinstall C: \ Python36 \ Scripts > pip install pyinstaller, hint after successful to directory C: \ Python36 \ Lib \ site - packages delete PyInstaller folder, to https: / / github com pyinstaller/download pyinstaller ZIP installation package, after decompression copies PyInstaller folder to C: \ Python36 \ Lib \ site - packages directory. Because python3.6 is not supported by pyinstall

4. So far the installation has been successful, can generate exe. C:\python3\Scripts > pyinstaller -F mytest.py, then go to the directory C:\Python36\Scripts\dist and you will find mytest.exe.


Related articles: