Python Forum
Using PyInstaller in PyCharm
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using PyInstaller in PyCharm
#1
This question might have gotten lost in the other thread so here it is again.

I was able to get PyInstaller to work from the command line (thanks for the replies!), but that's only for Python 2.7.

So now, I'm trying to get it working inside PyCharm, but so far, not quite.

I've imported both PyIntaller and PyInstaller Hooks.

My setup.py code looks like this:

import PyInstaller as pyinstaller
from binaryfilesearch import SearchBinaryFile

pyinstaller  SearchBinaryFile.py
Yet, I get a ...

setup.py", line 4
pyinstaller SearchBinaryFile.py
^
SyntaxError: invalid syntax


=====

Any suggestions on what I need to do I can build a standalone file using PyInstaller within PyCharm (so I can use 3.6 with f-strings, etc.)?

Thanks again.

- O
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