Problem executing python script placed in ~/bin folder
Forum rules
Before you post please read how to get help
Before you post please read how to get help
Problem executing python script placed in ~/bin folder
I have a python script. i have changed it's permission by "chmod +x py_mem.py" . then i have symlinked it to ~/bin/pymem. Now though if i try "which pymem" i get "/home/user/bin/pymem", i can't run the script without absolute path "~/bin/pymem".
Re: Problem executing python script placed in ~/bin folder
What does
If it doesn't include
Finally where are you trying to launch the script from? If cron then that's a special case as cron runs in a barebones environment and you generally need to globally specify $PATH in the crontab or launch command via the full path.
$PATH
input into the terminal return?If it doesn't include
/home/<user>/bin
what does cat .profile
returnFinally where are you trying to launch the script from? If cron then that's a special case as cron runs in a barebones environment and you generally need to globally specify $PATH in the crontab or launch command via the full path.
Cinnamox theme maker - https://github.com/smurphos/cinnamox-gtk-theme
Cinnamox themes - https://github.com/smurphos/cinnamox_themes
Cinnamox themes - https://github.com/smurphos/cinnamox_themes