I am using a server with Python 3.4. I need to use Python 3.6.4 with some packages. I therefore created an environment with conda using
conda create --name myname python=3.6.4
conda install --name myname --file spec-file.txt
where spec-file.txt
was created from a conda on another machine in order to clone that enviroment.
However, when I try to run my script, it seems I don't have the permission to access them.
(myname) [myname@myserver my_folder]$ python myscript.py -img_lst_fp /home/myname/my_folder/myserver_pictures.csv -out_fl /home/myname/my_folder/output.csv
bash: /home/myname/.conda/envs/myname/bin/python: cannot execute binary file
(myname) [myname@myserver my_folder]$ python
bash: /home/myname/.conda/envs/myname/bin/python: cannot execute binary file
(myname) [myname@myserver my_folder]$ ./myscript.py -img_lst_fp /home/myname/my_folder/myserver_pictures.csv -out_fl /home/myname/my_folder/output.csv
bash: ./myscript.py: Permission denied
Is there a way to solve this without requesting the intervention of a root user?
EDIT: I have no idea why but now I cannot even execute "python"