在调试代码时遇到问题:
from numpy.testing.nosetester import import_nose
ModuleNotFoundError: No module named 'numpy.testing.nosetester'
原因是:
numpy版本>1.18,而scipy的版本<=0.19,所以只要把scipy的版本更新,比如1.1.0就行了
解决方法:
python -m pip install upgrade scipy
在调试代码时遇到问题:
from numpy.testing.nosetester import import_nose
ModuleNotFoundError: No module named 'numpy.testing.nosetester'
原因是:
numpy版本>1.18,而scipy的版本<=0.19,所以只要把scipy的版本更新,比如1.1.0就行了
解决方法:
python -m pip install upgrade scipy