Installing python software in virtual environment gives 'Permission denied' error
<p>I am trying to install a piece of python software on our server(<a href="http://integronfinder.readthedocs.io/en/v1.5/" rel="nofollow">http://integronfinder.readthedocs.io/en/v1.5/</a>). However, I am not the server administrator and cannot run the command under <code>sudo</code>, 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!</p>

<pre><code>(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 -&gt; build/scripts-2.7/integron_finder
copying build/scripts-2.7/integron_finder -&gt; /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
</code></pre>

<p>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?</p>

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

python install virtualenv permission-denied