安裝了pytorch,程序報錯,找不到指定的模塊,使用以下方式在anaconda中重新安裝了一遍,就可以了。
conda install pytorch-cpu torchvision-cpu -c pytorch
numpy已經更新到最新了,但程序中仍報錯
ImportError: this version of pandas is incompatible with numpy < 1.13.3
your numpy version is 1.11.3.
Please upgrade numpy to >= 1.13.3 to use this pandas version
查看一下numpy版本,發現仍是老版本,刪除老版本
pip uninstall numpy
再重新安裝
pip install numpy