Home >Backend Development >Python Tutorial >Where is the executable file generated by pycharm
The location of the generated executable file in PyCharm depends on the operating system: Windows: pyinstaller - dist folder; cx_Freeze - build folder macOS: py2app - dist folder (under /Applications) Linux: pyinstaller - dist file folder; the cx_Freeze - build folder can also specify a specific output directory: pyinstaller (--distpath), cx_Freeze (-d), py2app (--output).
Where PyCharm generates the executable file
Generate the executable file in PyCharm, the specific location depends on the operation System:
Windows
dist
file folder, located in the PyCharm project directory. build
folder, located within the PyCharm project directory. macOS
dist
folder, located in the /Applications
folder of the PyCharm project. Linux
dist
folder, located within the PyCharm project directory. build
folder, located within the PyCharm project directory. Additional options
In addition to the above locations, you can also specify a specific output directory:
--distpath
option. -d
option. --output
option. Make sure you have the necessary permissions to build the executable file. If you're using Windows, you may need to run Command Prompt as an administrator.
The above is the detailed content of Where is the executable file generated by pycharm. For more information, please follow other related articles on the PHP Chinese website!