Python 努力在水蟒身上安装稀疏点

Python 努力在水蟒身上安装稀疏点,python,anaconda,conda,Python,Anaconda,Conda,我相信这个包需要Cython,所以我运行了以下命令 conda install -c anaconda cython 这是正确安装的 然后,我运行以下命令下载sparse_dot_topn: conda install -c conda-forge sparse_dot_topn 我看到以下错误: 解决环境:初始冻结解决失败。用灵活的解决方法重试 Found conflicts! Looking for incompatible packages. This can take several

我相信这个包需要Cython,所以我运行了以下命令

conda install -c anaconda cython
这是正确安装的

然后,我运行以下命令下载sparse_dot_topn:

conda install -c conda-forge sparse_dot_topn
我看到以下错误:

解决环境:初始冻结解决失败。用灵活的解决方法重试

Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                          

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

Specifications:

  - sparse_dot_topn -> python[version='>=3.6,<3.7.0a0']

Your python: python=3.7

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.

The following specifications were found to be incompatible with each other:

Package libcxx conflicts for:
python=3.7 -> libcxx[version='>=4.0.1']
sparse_dot_topn -> libcxx[version='>=9.0.0']
Package zlib conflicts for:
python=3.7 -> zlib[version='>=1.2.11,<1.3.0a0']
Package xz conflicts for:
python=3.7 -> xz[version='>=5.2.4,<6.0a0']
Package libffi conflicts for:
python=3.7 -> libffi[version='>=3.2.1,<4.0a0']
Package ncurses conflicts for:
python=3.7 -> ncurses[version='>=6.1,<7.0a0']
Package cython conflicts for:
sparse_dot_topn -> cython
Package openssl conflicts for:
python=3.7 -> openssl[version='>=1.0.2o,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a']
Package readline conflicts for:
python=3.7 -> readline[version='>=7.0,<8.0a0']
Package numpy conflicts for:
sparse_dot_topn -> numpy
Package scipy conflicts for:
sparse_dot_topn -> scipy
Package sqlite conflicts for:
python=3.7 -> sqlite[version='>=3.24.0,<4.0a0|>=3.25.2,<4.0a0|>=3.25.3,<4.0a0|>=3.26.0,<4.0a0|>=3.27.2,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0']
Package tk conflicts for:
python=3.7 -> tk[version='>=8.6.7,<8.7.0a0|>=8.6.8,<8.7.0a0']
Package pip conflicts for:
python=3.7 -> pip
发现冲突!正在查找不兼容的包。
这可能需要几分钟。按CTRL-C以中止。
失败
不满意错误:发现以下规格
要与环境中现有的python安装不兼容,请执行以下操作:
规格:
-稀疏点->python[version='>=3.6,=4.0.1']
稀疏点->libcxx[version='>=9.0.0']
包zlib冲突用于:

python=3.7->zlib[版本='>=1.2.11,=5.2.4,=3.2.1,=6.1,=1.0.2o,=1.1.1a,=1.1.1b,=1.1.1c,=1.1.1d,=7.0,=3.24.0,=3.25.2,=3.26.0,=3.27.2,=3.29.0,=3.30.1,=8.6.7,=8.8,这将创建一个具有所需版本的新环境。我尝试了一个新的python版本,并安装了一个新环境

conda create --name your_env  "python>=3.6,<3.7"

conda create——命名您的_env"python>=3.6,环境到哪里去了?我需要把我的文件放进这个文件夹吗?不,所以你可以使用这个
conda info--envs
检查你的环境,然后你可以看到创建的环境列表,你只需要激活这个环境。然后从anaconda终端或者你正在使用的任何终端,只要为安装
sparse\u dot\u topn
,anaconda将自动安装该软件包所需的所有依赖项。我收到以下错误:解决环境:初始冻结解决失败。使用灵活解决重试。即使使用新环境?您还有哪个conda版本?