Я пытаюсь настроить среду с python 3.7, pandas и scikit-learn, чтобы проверить, совместим ли мой код с 3.7. Но мне трудно разобраться в сообщениях об ошибках, с которыми я сталкиваюсь. Я работаю на Windows 10 64-битной
Когда я бегу
conda create --name Py37Test python=3.7 pandas scikit-learn
Я получаю это сообщение об ошибке
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- python=3.7
- scikit-learn -> python[version='>=2.7,<2.8.0a0']
Use "conda info <package>" to see the dependencies for each package.
но когда я бегу
conda info scikit-learn
это говорит:
dependencies:
mkl >=2018.0.0
numpy >=1.11.3,<2.0a0
python >=3.6,<3.7.0a0
scipy
vc 14.*
Точно так же, если я бегу
conda create --name Py37Test python=3.7 pandas
Я получаю ошибку:
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- pandas -> python-dateutil -> six
- pandas -> python[version='>=2.7,<2.8.0a0']
- python=3.7
Use "conda info <package>" to see the dependencies for each package.
enter code here
А когда я тогда бегу
conda info pandas
Я получаю
dependencies:
numpy >=1.11.3,<2.0a0
python >=3.6,<3.7.0a0
python-dateutil >=2.5.*
pytz
vc 14.*
Что опять-таки означает, что с зависимостями все в порядке.
Помощь?!
Обновление:
Бег
>conda create --name Py37Test python=3.7 pandas=0.23.1 scikit-learn=0.19.1
дает:
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- python=3.7
- scikit-learn=0.19.1 -> python[version='>=2.7,<2.8.0a0']
Use "conda info <package>" to see the dependencies for each package.