I have a conda base environment that I want to use for a python notebook. In this base environment I've installed all the packages that I need. However, when I launch a jupyter notebook through vscode, it always gives me a ModuleNotFound error:
I've made sure that my python interpreter (bottom left) is conda base as well as the interpreter in the top right:
but the error never goes away.
The weird thing is that when I launch jupyter lab from terminal in my conda base environment, everything works fine as expected. What could be causing this error?
I uninstalled miniconda3 and installed anaconda instead. It magically fixed the problem. I love coding.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.