python3 - Geany is not compiling python script, but it runs on terminal - Ask Ubuntu


i installed anaconda, , run scripts on terminal with:

python3 scritp.py 

when execute on geany get:

importerror: no module named 'numpy' 

how run python script on geany on terminal?

you should write full python3 path execute on geany, explained below:

first, on terminal:

which python3 

and you'll like:

/home/myuser/anaconda3/bin/python3 

copy it, open python script on geany, build>set build commands>execute commands>execute> , substitute python /home/myuser/anaconda3/bin/python3

enter image description here

(of course if using other python version, procedure same)


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User