Python Forum
Using PyInstaller in PyCharm
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using PyInstaller in PyCharm
#6
(Jan-13-2019, 12:11 PM)DarkLight Wrote: --some errors reported - so I update:
Adding Pyinstaller to PyCharm can be done by adding it as an external tool:

Adding tool:
------------

  1. In Pycharm - File->Settings->Tools->External Tools
  2. Click on the '+' sign to add a new tool (if it is the first tool you add, just fill the form, no need for the '+')
  3. Fill the fields:
    Name: Pyinstaller
    Description: Generate a single executable
    Program: C:\Users\[your_user_here]\AppData\Roaming\Python\Scripts\pyinstaller.exe (Make sure that Pyinstaller is recognized in PyCharm Project...)
    Arguments: --onefile $FilePath$
    Working directory: $FileDir$


Using the tool
--------------

In PyCharm: Tools->External Tools->Pyinstaller

The exe file will appear on a dist subfolder of the .py file folder
Reply


Messages In This Thread
Using PyInstaller in PyCharm - by Oliver - Jan-07-2018, 11:44 AM
RE: Using PyInstaller in PyCharm - by Larz60+ - Jan-07-2018, 12:11 PM
RE: Using PyInstaller in PyCharm - by Oliver - Jan-08-2018, 10:57 AM
RE: Using PyInstaller in PyCharm - by Larz60+ - Jan-08-2018, 11:13 AM
RE: Using PyInstaller in PyCharm - by DarkLight - Jan-13-2019, 12:11 PM
RE: Using PyInstaller in PyCharm - by DarkLight - Jan-13-2019, 04:30 PM
RE: Using PyInstaller in PyCharm - by bchip50 - Dec-26-2019, 10:10 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020