想更新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
目前这个环境里是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
不起作用
继续试
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.
啊这
貌似是这些镜像源用不了?
去搜索发现由于版权所以国内清华、中科大等镜像都停止更新了
所以根本装不了python3.8以上
网友评论