我有以下.yml文件:
name: data_science_env_prob3
channels:
- defaults
dependencies:
- openssl=1.1.1
- pandas=0.23.4=py37h6440ff4_0
- scikit-learn=0.19.2=py37h4f467ca_0
- pip:
- treelite==0.32
- urllib3==1.24.1
- xgboost==0.71
当我试图创造一个环境
^{pr2}$,它将抛出一个错误:
Could not find a version that satisfies the requirement treelite==0.32 (from -r /path/condaenv.ijla7f1z.requirements.txt (line 17)) (from versions: )
No matching distribution found for treelite==0.32 (from -r /path/condaenv.ijla7f1z.requirements.txt (line 17))
但是,我可以用
pip install treelite
如何使用conda.yml文件安装treelite?在
编辑: 我创建了一个没有treelite的env,然后能够安装treelite,其中包括:
pip3 install --user treelite
但由于以下原因,它失败了:
pip install --user treelite
Collecting treelite
Could not find a version that satisfies the requirement treelite (from versions: )
No matching distribution found for treelite
Treelite目前无法通过PipforPython3.7使用。在
您要么需要从源代码安装,要么切换到python3.7环境。在
相关问题 更多 >
编程相关推荐