在anaconda中切换python虚拟环境时,权限被拒绝

时间:2018-08-10 18:24:28

标签: python anaconda

我编码:

conda create -n pygame python=3

在终端中。然后我想使用 activate 来切换环境,但它显示:

-bash: /anaconda3/bin/activate: Permission denied

出什么问题了? 这是我的蟒蛇的信息:

 active environment : None
   user config file : /Users/zavierlyu/.condarc
     populated config files : /Users/zavierlyu/.condarc
      conda version : 4.5.9
conda-build version : 3.12.1
     python version : 2.7.15.final.0
   base environment : /anaconda3  (writable)
       channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
                      https://repo.anaconda.com/pkgs/main/noarch
                      https://repo.anaconda.com/pkgs/free/osx-64
                      https://repo.anaconda.com/pkgs/free/noarch
                      https://repo.anaconda.com/pkgs/r/osx-64
                      https://repo.anaconda.com/pkgs/r/noarch
                      https://repo.anaconda.com/pkgs/pro/osx-64
                      https://repo.anaconda.com/pkgs/pro/noarch
      package cache : /anaconda3/pkgs
                      /Users/zavierlyu/.conda/pkgs
   envs directories : /anaconda3/envs
                      /Users/zavierlyu/.conda/envs
           platform : osx-64
         user-agent : conda/4.5.9 requests/2.19.1 CPython/2.7.15 Darwin/17.7.0 OSX/10.13.6
            UID:GID : 501:20
         netrc file : None
       offline mode : False

第一次使用堆栈溢出。对不起,技能差。

0 个答案:

没有答案