安装spyder后找不到conda模块

After installing spyder, conda module is not found

我通过运行ning $ conda install spyder

安装了spyder IDE之后

每当我尝试 运行 任何 conda 命令时,我都会收到以下错误:

Traceback (most recent call last):
  File "/home/homero/miniconda3/bin/conda", line 12, in <module>
    from conda.cli import main
ModuleNotFoundError: No module named 'conda'

我该如何解决这个问题?

编辑:

$python

Python 3.7.2(默认值,2018 年 12 月 29 日,06:19:36) [GCC 7.3.0] :: Anaconda, Inc. linux 键入 "help"、"copyright"、"credits" 或 "license" 以获取更多信息。

经过大量搜索后,找到了解决我问题的答案():

$ curl https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o ~/miniconda3.sh
$ bash ~/miniconda3.sh -bfp ~/miniconda3