sequence_hard
sequence_hard

Reputation: 5385

Installing python software in virtual environment gives 'Permission denied' error

I am trying to install a piece of python software on our server(http://integronfinder.readthedocs.io/en/v1.5/). However, I am not the server administrator and cannot run the command under sudo, as I get a 'permission denied' error when I try it. I tried circumventing the problem through creating a virtual environment and installing the program there, but I still get the same error!

(my_root) [user1@server Integron_Finder-1.5]$ python setup.py install
running install
running build
running build_scripts
changing mode of build/scripts-2.7/integron_finder from 664 to 775
running install_scripts
moving build/scripts-2.7/integron_finder.tmp -> build/scripts-2.7/integron_finder
copying build/scripts-2.7/integron_finder -> /home/user1/.conda/envs/my_root/bin
changing mode of /home/user1/.conda/envs/my_root/bin/integron_finder to 775
running install_data
creating /usr/share/integron_finder
error: could not create '/usr/share/integron_finder': Permission denied

Installing the software in a virtual environment is also what the developers suggest for users that do not have administrator rights. Can someone tell me what I am doing wrong and how I could try to fix it?

Upvotes: 0

Views: 304

Answers (2)

Bertrand Néron
Bertrand Néron

Reputation: 11

Use a virtual env is a good idea and it should work even if you have no admin rights.

I am one of the Integron_finder package dev. You should submit an issue on the github page of the project with all details. I will check quickly what goes wrong in the installation with a virtualenv.

Upvotes: 1

O. Edholm
O. Edholm

Reputation: 2412

It isn't that much you can do than to try to get sudo permission in some way or another.

Upvotes: 0

Related Questions