How does one fix the issue of not writable paths with conda?

前端 未结 5 1175
梦谈多话
梦谈多话 2021-02-05 15:33

Why do I see the following error when using conda (usually when installing packages or making new envs) and how do I fix it:

Verifying transaction: | WARNING cond         


        
5条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-05 16:12

    As I said in the conda #7267 github issue, I had the same problem on Ubuntu because I installed Anaconda as a superuser: sudo bash Anaconda3-2019.10-Linux-x86_64.sh

    [solution Ubuntu] remove Anaconda and install it without the superuser privileges:

    sudo rm -rf ~/anaconda3
    bash Anaconda3-2019.10-Linux-x86_64.sh
    

    This fixed the problem.

提交回复
热议问题