Ошибка установки Conda для PySoundFIle

Я пытаюсь понять, почему моя установка conda pysoundfile с помощью следующей команды не удается

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установка. Кто-нибудь знает, что здесь происходит и как я могу обойти эту проблему?

1 ответ

Решение

Мне удалось воспроизвести эту ошибку с помощью conda и python 3.7.

pip install pysoundfile отлично работает, если вы хотите установить звуковой файл.

Другие вопросы по тегам