Anaconda 模块无法访问

Anaconda Modules Inaccessible

免责声明:我的 Anaconda 环境曾一度出现问题,我的最佳猜测是 uninstall/reinstall Anaconda,但现在我遇到了以下错误。

我已经成功重装Anaconda,可以验证各种模块是否存在。但是,当我尝试调用终端中的任何给定模块时(例如,jupyter notebook),我得到以下错误的变体:

Traceback (most recent call last):
  File "/Users/MYNAME/anaconda3/bin/jupyter", line 7, in <module>
    from jupyter_core.command import main
ImportError: No module named jupyter_core.command

我没有足够的命令行编程经验来解读有关此主题的其他帖子...我假设可执行路径或其他问题有问题?如果有帮助,这里是 conda info 对我的输出:

     active environment : None
            shell level : 0
       user config file : /Users/MYNAME/.condarc
 populated config files : /Users/MYNAME/.condarc
          conda version : 4.6.8
    conda-build version : 3.17.6
         python version : 3.7.1.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
          package cache : /anaconda3/pkgs
                          /Users/MYNAME/.conda/pkgs
       envs directories : /anaconda3/envs
                          /Users/MYNAME/.conda/envs
               platform : osx-64
             user-agent : conda/4.6.8 requests/2.21.0 CPython/3.7.1 
Darwin/18.5.0 OSX/10.14.4
                UID:GID : MYUID
             netrc file : None
           offline mode : False

只需在特定的 conda 虚拟环境下重新安装 jupyter notebook。 喜欢:
balabala$ conda activate tensorflow_gpuenv
balabala$ pip install jupyter
(我正在使用 ubuntu。)