Vmodel项目环境配置
在/root/miniconda3/envs/pytorch311/lib/python3.11/site-packages/durbango/pd_utils.py。出现:ModuleNotFoundError: No module named 'pandas.util.testing'出现:ValueError: too many dimensions 'matrix'# 重新进入虚拟环境。
1.conda create -n pytorch311 python=3.11
# 重新进入虚拟环境
source activate
# 退出虚拟环境
conda deactivate
最后,重新执行 conda activate pytorch311
pip install torch-2.0.0+cpu-cp311-cp311-linux_x86_64
cd vmodel-main/
python -m pip install dist/vmodel-0.0.2-py3-none-any.whl --force-reinstall
基于上面环境,配置Graph-WaveNet网络:
pip install -r requirements.txt
ModuleNotFoundError: No module named 'seaborn'
ModuleNotFoundError: No module named 'funcy'
ModuleNotFoundError: No module named 'tqdm'
ModuleNotFoundError: No module named 'ipykernel'
出现:ModuleNotFoundError: No module named 'pandas.util.testing'
在/root/miniconda3/envs/pytorch311/lib/python3.11/site-packages/durbango/pd_utils.py
Replace pandas.util.testing with pandas.testing
from pandas.testing import assert_frame_equal
ModuleNotFoundError: No module named 'sklearn'
conda install scikit-learn
出现:ValueError: too many dimensions 'matrix'
ValueError: All ufuncs must have type numpy.ufunc. Received (<ufunc 'sph_legendre_p'>, <ufunc 'sph_legendre_p'>, <ufunc 'sph_legendre_p'>)
pip install --upgrade torch
pip uninstall numpy scipy -y
pip install numpy scipy --force-reinstall
pip install py3nvml
更多推荐

所有评论(0)