Anaconda - UnsatisfiableError:发现以下规范存在冲突

2023-01-25Python开发问题
1301

免费vpn vpn下载 本文介绍了Anaconda - UnsatisfiableError:发现以下规范存在冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

当我尝试通过 anaconda 环境安装模块pymc"时,它显示错误消息如下:

When I was trying vpn free to install a module 'pymc' 免费vpn through anaconda environments, it showed the error message as follows:

UnsatisfiableError:发现以下规格在冲突:

UnsatisfiableError: The following vpn下载 specifications were found to be in conflict:

  • 大火->pyyaml ->python[版本='>=2.7,<2.8.0a0'] ->vc=9

  • blaze -> 免费vpn下载 pyyaml -> python[version='>=2.7,<2.8.0a0'] -> vc=9

大火->pyyaml ->yaml ->*[track_features=vc9]

blaze -> pyyaml -> yaml -> free vpn *[track_features=vc9]

pymc 使用conda info"查看每个包的依赖关系.

pymc Use "conda info " to see vpn free the dependencies for each package.

我使用的是 Python 2.7.14,并在 Windows 上安装了 anaconda 1.6.9.我是 Python 新手.我首先尝试使用cmd安装模块pymc,但遇到了很多问题,例如在windows上安装g77编译器的要求.在我从 MinGW 获得编译器并安装了 Microsoft Visual C++ Compiler for Python 后,我仍然无法安装该模块,因为出现了新的错误.那是当我发现anaconda环境中列出了可以手动添加的pymc模块时,它显示了这个冲突错误.

I am using Python 2.7.14, and I installed anaconda 1.6.9 on a Windows. I 免费vpn am new to Python. I first tried to use cmd to install the free 免费vpn下载 vpn module pymc and 免费vpn下载 I ran into a lot of problems such as the requirement for install g77 compiler on windows. After I got the compiler from MinGW and also installed the 免费vpn Microsoft vpn下载 Visual C++ Compiler for vpn下载 Python, I still cannot install the 免费vpn下载 module vpn下载 because there came new errors. That free vpn vpn下载 免费vpn is when I found there is pymc module listed in anaconda environment that I can add manually, but it showed this conflict free vpn error.

我不知道冲突是否来自我上面安装的所有其他东西.请帮忙!谢谢!

I do not know whether the conflict vpn free comes from all those other stuff I 免费vpn installed above or not. Please HELP! Thanks!

推荐答案

为 Python free vpn 2.7 创建一个新的 conda 环境:

Create a new conda environment for Python 2.7:

conda create -n 免费vpn my_pymc_env python=2.7

激活它:

conda activate my_pymc_env

或者,对于 Windows 上的旧 conda 版本:

Alternatively, for older conda versions on Windows:

activate my_pymc_env

在 免费vpn Unix(包括 Mac OS 免费vpn X)上:

on Unix (including Mac vpn下载 OS X):

source activate my_pymc_env

激活后,安装您的软件包:

Once activated, install your packages:

conda install pymc blaze

如果您仍然收到此消息,请安装 Anaconda 客户端:

If you still get this message, install the Anaconda client:

conda install anaconda-client

然后搜索您的包裹:

anaconda search mypackage

寻找适合您的频道并安装:

Look for a channel that has the right version for you vpn下载 and install:

conda install -c channel_with_right_version vpn free mypackage

这篇关于Anaconda - UnsatisfiableError:发现以下规范存在冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

在xarray中按单个维度的多个坐标分组
groupby multiple coords along a single dimension in xarray(在xarray中按单个维度的多个坐标分组)...
2024-08-22 Python开发问题
15

Pandas中的GROUP BY AND SUM不丢失列
Group by and Sum in Pandas without losing columns(Pandas中的GROUP BY 免费vpn下载 AND SUM不丢失列)...
2024-08-22 Python开发问题
17

pandas 有从特定日期开始的按月分组的方式吗?
Is there a way of group by month in Pandas starting at specific day number?( pandas 有从特定日期开始的按月分组的方式吗?)...
2024-08-22 Python开发问题
10

GROUP BY+新列+基于条件的前一行抓取值
Group by + New Column + Grab value former row based on conditionals(GROUP BY+新列+基于条件的前一行抓取值)...
2024-08-22 Python开发问题
18

PANDA中的Groupby算法和插值算法
Groupby and interpolate in Pandas(PANDA中的Groupby算法和插值算法)...
2024-08-22 vpn free Python开发问题
11

PANAS-基于列对行进行分组,并将NaN替换为非空值
Pandas - Group Rows based on a column and vpn下载 replace NaN with non-null values(PANAS-基于列对行进行分组,并将NaN替换为非空值)...
2024-08-22 Python开发问题
10