Using pychar, import numpy no problem
But jupyter notebook no way.
I tried to add environment variables on the Internet, but I can’t.
Numpy, which is not a virtual environment, has no problem,
There are problems with virtual environments,
The virtual environment uses CONDA Install.
Considering the isolation of virtual environment, I use pip install ,
It can be found.
pip uninstall numpy
pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
The most direct and essential method: switch to the virtual environment and start jupyter At this time, switch the kernel to the python core of the virtual environment