Installation command:
pip install pyinstaller
or
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz
The second recommended:
because I just started using the first method of installation, and then when generating exe file an error occurs (if this error occurs delete the old version can be installed using a second statement)

after installation, to be directly pyinstaller a.py
If you want to get rid of the executable program to open the dos window, you can use the following command to generate exe files
pyinstaller a.py --noconsole
The environment is Ubuntu, jdk8, spark-2.4.5-bin-hadoop2.7, python3.8.2 1. Reason Since spark does not yet support python3.8 2. Solution So just downgrade python, I downgrade to python3.6.9 successful...
Background: After installing the latest version of Anaconda 3.9, after setting Python Interpreter in Pycharm to python.exe under the latest version of Anaconda file, the console fails to start and an ...
This machine environment: spark2.4.4, MINICONDA's latest Python 3.9 Run bin/pyspark Times wrong as follows: When it is said on the Internet, Spark is not so friendly for the latest Python version. It ...
Problem background The blogger’s version of pytorch is 0.4.1, and the version of torchvision is 0.2.1, an error occurs when the following code is executed. See the error below: Question inquiry ...
Announcement TypeError: An Integer Is Required (Got Type Tuple) The above operation, will occupy too much memory, operate with np.stack ((IM_B, IM_G, IM_R), AXIS = 2)...
Solution, I will not copy it anymore refer toPycharm, use Python Cyperror: An Integer Is Required (GOT TYPE BYTES) solution (python3.8) _WWWWHY_ Blog-CSDN blog Before after Can use console norm...
Python Socket TypeError: an integer is required (got type str) You can see that the Python prompts to connect, and the error isan integer is required (got type str) Then I saw my code. It is only nece...
I must record this problem, because I have gone too much road, spend too much time! Problem Description: When the brother's project is placed on his computer, no module name 'error appears, after seve...
When importing the Sklearn library, encounter TypeError: an integer is required (got type bytes) First check your Sklearn version, when you install Sklearn, if you use the following PIP command, you m...