How to get Conda and Virtualenv to work on mac OS Catalina?

前端 未结 8 1182
栀梦
栀梦 2020-12-30 05:55

I previously had Conda running smoothly on Mojave, but I\'ve found that the upgrade to Catalina moves the \"anaconda3\" folder to your Desktop > Relocated Items > Security >

8条回答
  •  不思量自难忘°
    2020-12-30 06:12

    I have the same problem, and this work for me : My solution:

    1. Copy your anaconda3 from Relocated Items folder
    2. Paste in User/YourUserName
    3. Open conda file in anaconda3/bin with the editor and edit the first line #!/anaconda3/bin/python to #!/Users/YourUserName/anaconda3/bin/python
    4. Save it and run conda file
    5. Open Terminal
    6. Run this : export PATH=''/Users/YourUserName/anaconda3/bin:$PATH"
    7. Run conda init zsh

提交回复
热议问题