如何解决不一致的环境 - Jupyter Lab

时间:2021-02-13 21:45:41

标签: anaconda

我尝试安装 graphviz,但收到一条消息,指出我的环境不一致。查看我尝试过的其他帖子

conda install anaconda
conda install -c anaconda anconda
conda update --all
conda uninstall anaconda

但都失败了。

运行“conda update --all”时,虽然看起来好像解决了问题,但再次运行相同的命令会给出相同的输出。

运行“conda install anaconda”时,它运行了 6 个小时而没有做太多事情。最终我阻止了它。这是屏幕输出:

(base) C:\Windows\system32>conda install anaconda
Collecting package metadata (current_repodata.json): done
Solving environment: |
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  - defaults/win-64::ipykernel==5.3.4=py38h5ca1d4c_0
  - conda-forge/noarch::ipympl==0.6.3=pyhd8ed1ab_0
  - defaults/noarch::ipywidgets==7.6.3=pyhd3eb1b0_1
  - conda-forge/noarch::nbclassic==0.2.5=pyhd8ed1ab_0
  - defaults/noarch::nbclient==0.5.1=py_0
  - defaults/win-64::nbconvert==6.0.7=py38_0
  - defaults/win-64::notebook==6.1.4=py38_0
  - defaults/win-64::widgetsnbextension==3.5.1=py38_0
  - defaults/win-64::_ipyw_jlab_nb_ext_conf==0.1.0=py38_0
failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry
 with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  - defaults/win-64::ipykernel==5.3.4=py38h5ca1d4c_0
  - conda-forge/noarch::ipympl==0.6.3=pyhd8ed1ab_0
  - defaults/noarch::ipywidgets==7.6.3=pyhd3eb1b0_1
  - conda-forge/noarch::nbclassic==0.2.5=pyhd8ed1ab_0
  - defaults/noarch::nbclient==0.5.1=py_0
  - defaults/win-64::nbconvert==6.0.7=py38_0
  - defaults/win-64::notebook==6.1.4=py38_0
  - defaults/win-64::widgetsnbextension==3.5.1=py38_0
  - defaults/win-64::_ipyw_jlab_nb_ext_conf==0.1.0=py38_0
failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining clyent:  23%|█████?                 | 41/176 [00:28<01:33,  1.44it/s]/
Examining libsodium:  38%|███████▌            | 67/176 [01:12<03:33,  1.96s/it]|
Examining conda-env:  41%|████████?           | 72/176 [01:13<01:42,  1.02it/s]\
Examining m2w64-gmp:  56%|███████████?        | 99/176 [03:40<03:11,  2.49s/it]\
Examining mkl-service:  65%|███████████      | 114/176 [04:38<06:29,  6.28s/it]\
Examining chardet:  69%|██████████████?      | 121/176 [04:40<01:08,  1.24s/it]/
Examining conflict for six htmlmin testpath ipython console_shortcut wcwidth cf\
Examining conflict for six htmlmin testpath ipython console_shortcut wcwidth cf-
failed                                                                         -

CondaError: KeyboardInterrupt

Terminate batch job (Y/N)? y

(base) C:\Windows\system32>

0 个答案:

没有答案