I have a python installation in a directory where I don't have admin rights or write permission. I am using Python 3.6.5 and conda 4.5.4 on windows 7.
When run conda install -c conda-forge python-fmask
I get the following error message:
Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(502): An error occurred while uninstalling package 'defaults::pytables-3.4.3-py36he6f6034_1'.
PermissionError(13, 'Access denied')
The folders conda-meta
and pkgs
are located in a directory where I have write permission. There are hardlinks to these folders in the Anaconda installation directories. In which directories does conda need permissions in order to install packages?
The first recommended software is to use Anaconda as it comes with the majority of useful handy packages, and it can be installed directly to your working machine in portable mode without requiring administrative right.
To install Python packages (“eggs”) from the Python language's package manager pip, follow our instructions below. This can be done without Administrator access in a per-user, per-project clean manner with virtualenv.
I was running into this problem. My solution is to reinstall Anaconda and when selecting installation type, select "Just Me" so that the installation is in your user directory where you have full access rights.
Perhaps this is not the most pleasant solution, as it requires reconfiguring your Anaconda setup, but it solves the problem.
You can try asking the administrator to let users have control over the folder where anaconda is installed. This is a one-time thing and is easier than asking to run as admin every time you have to install a package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With