I’m trying to install anaconda on a different drive than home folder drive due to space constraints. I’m getting error /path_to_drive/anaconda3/conda.exe: Permission denied
. The drive path doesn’t have space. The permissions on drive are drwxrwxr-x 2 user user 4096 Jul 16 14:06 anaconda3
. The drive is on auto mount with these options ext4 rw,exec,user
. I’m using anaconda since 3-4 years, yet not able to get around this problem. Any help is appreciated. Thanks in advance.
dear Ashwini_pal
nice to meet you.
The permissions of the newly installed drive are different.
All you have to do is fix it.
This article is for beginners, but please refer to it.
regards, you.
ktsh.tanaka.2020
Thanks for the reply. I changed the folder permissions using sudo chmod u=rwx,g=rwx,o=rwx /path_to_ssd/anaconda3
. I’m still getting the same error.
dear Ashwini_pal
Thanks for reply.
A similar question can be found in the Ask Different article. In this case, MacOS is the target, but in the case of Ubuntu, the same phenomenon has been reported in the 2-byte code area, Russian, Scandinavian, etc.
Please use it as a reference.
Regards, you.
ktsh.tanaka.2020
Thanks, checked the article. It is about spaces in the drive path and I’ve already mentioned that drive path doesn’t contain spaces.
dear Ashwini_pal
I changed the folder permissions using
sudo chmod u=rwx,g=rwx,o=rwx /path_to_ssd/anaconda3
. I’m still getting the same error.
excuse me. I understand the matter of PATH.
The biggest problem is that there is a directory named Anaconda3 on the destination drive.
In this case, the Anaconda3 installer will recognize it as already installed and the installation will fail.
So the solution is
/ path_to_ssd / anaconda3
Stop, for example
/ path_to_ssd / DataScience
If you do, you will succeed.
I wish you good luck.
Regards, you.
ktsh.tanaka.2020
If there is directory with same name is destination folder, then anaconda issues a different error message. You can solve it by adding -u
option( for update) while installing the anaconda.
dear Ashwini_pal
If there is directory with same name is destination folder, then anaconda issues a different error message. You can solve it by adding
-u
option( for update) while installing the anaconda.
I understand this matter.
/path_to_drive/anaconda3/conda.exe`
By the way, this case seems to be the Windows version of Anaconda, but have you installed it with ReactOS or Wine?
In that case, it can only be installed inside a virtual drive created for Windows.
If you are using it with VirtualBox, please refer to the following URL etc. for drive expansion etc.
I wish you good luck.
Regards, you.
ktsh.tanaka.2020
My ssd was mounted with options auto,exec,rw,user
. After removing user
, I was able to install the miniconda3. The comment in this stackoverflow answer gave me the solution to my problem.
dear Ashwini_pal
Thank you for your reply.
This isn’t StackOverflow, but it seems to have helped a bit.
Yes, it’s best to look it up.