conda踩坑記錄2.UnsatisfiableError: The following specifications were found to be incompatible with th...

想更新deeptools的版本②

(atac) vip9t07@tpm9-desktop:~$ conda update deeptools=3.5.0

CondaError: Invalid spec for 'conda update': deeptools=3.5.0
Use 'conda install' instead.

(atac) vip9t07@tpm9-desktop:~$ conda install deeptools=3.5.0
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.
Solving environment: - 
Found conflicts! Looking for incompatible packages.                                                                                                       failed                                                                                                                                                        

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - deeptools=3.5.0 -> python[version='>=3']

Your python: python=2

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

看上去像是要更新python
目前這個環(huán)境里是python2.7
要求python3

我先看看conda要不要更新

(atac) vip9t07@tpm9-desktop:~$ conda update conda

PackageNotInstalledError: Package is not installed in prefix.
  prefix: /home/data/vip9t07/miniconda3/envs/atac
  package name: conda

出現了,新的報錯
按照方法python - PackageNotInstalledError: Package is not installed in prefix - Stack Overflow

(atac) vip9t07@tpm9-desktop:~$ conda list --name base conda
# packages in environment at /home/data/vip9t07/miniconda3:
#
# Name                    Version                   Build  Channel
conda                     4.10.1           py36h5fab9bb_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
conda-package-handling    1.7.3            py36h8f6f2f9_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge

(atac) vip9t07@tpm9-desktop:~$ conda update -n base conda
Collecting package metadata (current_repodata.json): done
Solving environment: \ 
Warning: >10 possible package resolutions (only showing differing packages):
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::libffi-3.2.1-1, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pycparser-2.18-py36_0, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pysocks-1.6.6-py36_0, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::yaml-0.1.6-0
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pycparser-2.18-py36_0, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pysocks-1.6.6-py36_0, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::yaml-0.1.6-0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::libffi-3.2.1-1
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::libffi-3.2.1-1, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pycparser-2.18-py36_0, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::yaml-0.1.6-0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::pysocks-1.6.6-py36_0
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pycparser-2.18-py36_0, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::yaml-0.1.6-0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::libffi-3.2.1-1, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::pysocks-1.6.6-py36_0
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::libffi-3.2.1-1, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pycparser-2.18-py36_0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::pysocks-1.6.6-py36_0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::yaml-0.1.6-0
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pycparser-2.18-py36_0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::libffi-3.2.1-1, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::pysocks-1.6.6-py36_0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::yaml-0.1.6-0
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::libffi-3.2.1-1, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pycparser-2.18-py36_0, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pysocks-1.6.6-py36_0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::yaml-0.1.6-0
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pycparser-2.18-py36_0, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pysocks-1.6.6-py36_0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::libffi-3.2.1-1, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::yaml-0.1.6-0
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::libffi-3.2.1-1, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pysocks-1.6.6-py36_0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::pycparser-2.18-py36_0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::yaml-0.1.6-0
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::libffi-3.2.1-1, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::pysocks-1.6.6-py36_0, https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64::yaml-0.1.6-0, https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64::pycparser-2.18-py36_0
  ... and othedone

# All requested packages already installed.

但還是有問題
找到一個方法
python - 解決conda中的軟件包解析 - IT工具網 (coder.work)

conda update --strict-channel-priority --all

不起作用

繼續(xù)試

Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - python=3.8

Current channels:

  - https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-64
  - https://mirrors.ustc.edu.cn/anaconda/pkgs/free/noarch
  - https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/linux-64
  - https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

啊這
貌似是這些鏡像源用不了?
去搜索發(fā)現由于版權所以國內清華、中科大等鏡像都停止更新了
所以根本裝不了python3.8以上

?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內容

友情鏈接更多精彩內容