我有一个(我以为是)稳定的conda环境(保持笑声)。在这种环境下,我已经通过numba
安装了pip
(再次笑了)。我想通过pip
卸载,然后通过conda
重新安装。
在通过pip卸载后,我发现了这一点:
(tasso) ubuntu@ip-XXX:~/Work/ds_util/tasso$ conda install anaconda
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are missing from the target environment:
- mkl==2018.0.3=intel_1
- openmp==2018.0.3=intel_0
- intel-openmp==2019.1=intel_144
- zlib==1.2.11=5
- libffi==3.2.1=11
所有典型的conda技巧都无法在这里使用:conda install anaconda
给出了丢失包裹的相同列表。我希望程序包管理器能够管理这些程序包?这是miniconda
东西吗?
更多上下文:
(tasso) ubuntu@ip-XXX:~/Work/ds_util/tasso$ conda info
active environment : tasso
active env location : /home/ubuntu/miniconda3/envs/tasso
shell level : 2
user config file : /home/ubuntu/.condarc
populated config files : /home/ubuntu/.condarc
conda version : 4.7.11
conda-build version : not installed
python version : 3.7.3.final.0
virtual packages :
base environment : /home/ubuntu/miniconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
package cache : /home/ubuntu/miniconda3/pkgs
/home/ubuntu/.conda/pkgs
envs directories : /home/ubuntu/miniconda3/envs
/home/ubuntu/.conda/envs
platform : linux-64
user-agent : conda/4.7.11 requests/2.22.0 CPython/3.7.3 Linux/4.15.0-1016-aws ubuntu/18.04.1 glibc/2.27
UID:GID : 1000:1000
netrc file : None
offline mode : False
我对似乎总是与conda不同步的环境感到沮丧,这是人们处理的常见问题吗?