解决 RuntimeError: implement_array_function method already has a docstring

At first, the program was running without problems. After installing a low version of opencv-python, I kept
Insert picture description here
reporting errors: Some opinions on the Internet say that the numpy/matplotlib/scipy version does not fit. After a long time of various ups and downs, numpy/matplotlib/ After scipy, I found that the terminal was running normally, which was a problem with pycharm. After a downgraded version of matplotlib was installed, when I checked it in the pycharm interpreter, I found that the version of matplotlib just installed was not updated. That is, the matplotlib version is 3.0.3 after the pip list, but it is still 3.2.2 in the pycharm interpreter...
In short, it is probably a version problem. After a long period of various attempts, I want to put numpy/matplotlib/scipy. All unloaded, i.e.

pip uninstall numpy
pip uninstall matplotlib
pip uninstall scipy

Remember to uninstall it cleanly. I have uninstalled one version of numpy and another version on my computer, so it’s best to uninstall it.

pip list

check. Then install the default version of numpy/matplotlib/scipy directly

pip install numpy
pip install matplotlib
pip install scipy

I don't have the pandas package. If there is one, I may also uninstall and reinstall it together. After reinstalling, update the pycharm interpreter, and then run, the problem is solved.

Guess you like

Origin blog.csdn.net/Peggiehu/article/details/107246290