安装Qlib时报错,ERROR: Could not find a version that satisfies the requirement pyqlib (from versions: none)
ERROR: No matching distribution found for pyqlib
方案一
这个问题说白了就是换源清华源,然后清华源里的Qlib索引是qlib而不是pyqlib
使用命令,就可以下载了
pip install qlib
(base) PS C:\Users\Dell\Desktop\test_qlib> pip install qlib
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting qlib
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/85/0f/f2d7c00f66d56af856e72669c9ebe4dd3fd7990fe75537569932b4833029/qlib-0.0.2.dev20-py3-none-any.whl (14 kB)
Installing collected packages: qlib
Successfully installed qlib-0.0.2.dev20
方案二
可能还会有版本的问题,重启一下电脑或者更新一下python版本,建议小更新不要大更新!!!