Search code examples
pythonpy2app

py2applet: command not found


I'm trying to create a GUI Python app using Py2App, but am having trouble running the setup script py2applet.

I've installed py2app via pip

$ sudo pip install py2app #this works ok

Then, I try to build the setup script:

$ py2applet --make-setup gui.py #this fails w/ no command found

What am I doing wrong?


Solution

  • Try refreshing your shells' memory or try to call the app with full path just to see if that works. E.g. /usr/bin/py2applet

    You can use

    sudo find / -name "py2applet" -type f
    

    To find the location if you don't know.

    Eg bash would have the hash -r command to refresh itself. http://ss64.com/bash/hash.html