I am having multiple problems with making my pythonscript dartsapp.py executable for my pi.
At first i tried to use
chmod +x dartsapp.py
and
./dartsapp.py
but i got the error:
-bash: ./dartsapp.py: cannot execute: required file not found
I also added the dir to PATH but still no luck. Afterwards i tried to use pyinstaller but when i try to call
pyinstaller --version
i get the same
-bash: pyinstaller: command not found
even though my PATH looks like this:
maxdu@LEDpi:~/0306 $ echo $PATH
/home/maxdu/0306:/home/maxdu/0306/dartsapp.py:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
What am i missing / doing wrong here?
New contributor
Maximilian Ducke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.