【问题标题】:Conda Installation Fails for PySoundFIlePySoundFIle 的 Conda 安装失败
【发布时间】:2020-04-09 09:07:33
【问题描述】:

我试图了解为什么我通过以下命令安装 pysoundfile 的 conda 失败

conda install -n condaenv -c conda-forge  pysoundfile

错误消息似乎抱怨所需的 python 版本和我安装的版本之间缺少可比性。但据我了解,我在 conda 环境中拥有的版本已列出并且应该受支持,对吧?这是错误信息:

Collecting package metadata (current_repodata.json): done
Solving environment: 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: 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 python=3.7: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 16.26it/s]\failed

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

Specifications:

  - pysoundfile=0.10.2 -> python[version='2.7.*|3.5.*|3.6.*|3.6.9|>=2.7,<2.8.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0|3.4.*',build=0_73_pypy]

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 your CUDA driver:

  - feature:/win-64::__cuda==11.0=0

Your installed CUDA driver is: 11.0

我认为关于我的 cuda 驱动程序的警告是次要问题,与 pysoundfile 安装没有任何关系。有人知道这里发生了什么以及我如何绕过这个问题吗?

【问题讨论】:

    标签: python anaconda soundfile


    【解决方案1】:

    我能够使用 conda 和 python 3.7 复制此错误。

    如果你想安装声音文件,pip install pysoundfile 工作得很好。

    【讨论】:

    • 我这样做是为了解决这个问题,但它仍然有点令人沮丧。
    猜你喜欢
    • 1970-01-01
    • 2017-06-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多