GluonTS依赖的package安装
包版本gluonts0.14.0matplotlib3.8.1mkl2023.1.0numpy1.26.1orjson3.9.10pandas2.1.2pip23.3python3.8.0scipy1.10.1urllib31.26.18wheel0.37.1
·
版本对应关系
包 | 版本 |
---|---|
python | 3.8.0 |
gluonts | 0.14.0 |
torch | 2.1.1 |
lightning | 2.1.2 |
scipy | 1.10.1 |
matplotlib | 3.7.4 |
orjson | 3.9.10 |
安装指令
conda create -n GluonTS python=3.8.0
conda activate GluonTS
pip install gluonts==0.14.0
pip install torch==2.1.1
pip install lightning==2.1.2
pip install scipy==1.10.1
pip install matplotlib==3.7.4
pip install orjson==3.9.10
pip install mxnet==1.6.0
安装mxnet,遇到错误,报错如下
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Running from numpy source directory.
`setup.py clean` is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)
Add `--force` to your command to use it anyway if you must (unsupported).
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
参考了如下博文的解决方案:
https://blog.csdn.net/weixin_62075168/article/details/129758163
③成功解决。
更多推荐
已为社区贡献1条内容
所有评论(0)