user24257486
user24257486

Reputation: 1

Error converting .py file into .exe using pyinstaller

"Pyinstaller --name NAME --onefile --windowed python.py" The above command is used to convert a .py file into a .exe file. The above command gets executed and the .exe file is found inside the dist folder.

While running the .exe file, an error occurs. A snapshot of the error has been pasted below.

Whie runing .exe file

Pyinstaller --name NAME --windowed python.py. This commend also tried, but could not get rid of the error.

Upvotes: 0

Views: 30

Answers (1)

user24257486
user24257486

Reputation: 1

An error existed with the Anaconda interpreter. Solution: Install the Python interpreter locally and run the above command. The error will be resolved

Upvotes: 0

Related Questions