ImportError: Unable to import required dependencies

报错

ImportError: Unable to import required dependencies:
numpy: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['D:\\Analytical\\Python\\Anaconda\\anaconda\\lib\\site-packages\\numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.

原因
安装numpy时没有先卸到旧版本,导致版本冲突

解决

#卸载numpy
pip uninstall numpy #多执行几次,直到出现 WARNING: Skipping numpy as it is not installed.

#安装numpy
pip install numpy==1.17.2

你可能感兴趣的:(报错,Python)