jarvisteach / appJar

Simple Tkinter GUIs in Python
http://appJar.info
Other
613 stars 68 forks source link

Unable to packaging the .py app via pyinstaller (installed through python setup.py) #485

Closed md4956 closed 6 years ago

md4956 commented 6 years ago

Hi, cant packaging the app,

Traceback (most recent call last):
  File "md_app.py", line 1, in <module>
ImportError: No module named appJar
[95932] Failed to execute script md_app
logout

I tried so much to import appJar from my venv folder in the app's directory. could you please tell me how should i import it ?

this is what i'm entering in mac terminal: pyinstaller -F -w -p venv/lib/python3.6/site-packages/appJar/ md_app.py

Binxlola commented 6 years ago

Have you tried moving the appJar folder out of venv folder? I tried to package once before on Mac and it worked, however my appJar folder was not in the venv folder but rather in the projects folder.

md4956 commented 6 years ago

Thank you so much for your solution, It worked on my Mac now.