pavanagrawal123 / VSNotebooks

Jupyter Notebooks in Visual Studio Code
MIT License
63 stars 2 forks source link

ModuleNotFoundError even with both beta and previous version #29

Open kcemenike opened 5 years ago

kcemenike commented 5 years ago

Is it odd that even after installing the beta version, I still experience same moduleNotFound error when I try to import a module that is in the custom environment.

Importing the module in the terminal after activating the environment works, but it doesn't for VSNotebooks Beta :cry:

pavanagrawal123 commented 5 years ago

@kcemenike What operating system are you using?

FranciscoRZ commented 5 years ago

Hey there,

Thanks for the great work on the extension. Unfortunately, I'm experiencing similar issues as well.

OS: Windows 7 Extension: VSNotebooks 1.4.3 / VSNotebooksBeta 1.4.4

I have multiple conda environments, only one of which has tensorflow installed. I'm launching VSCode from the Anaconda Prompt in the activated environment and while I can import tensorflow from the python terminal, when I run it in the VSNotebook I get a ModuleNotFoundError.

This makes me think that VSNotebooks is not correctly detecting the activated environment it should be using.

Any help would be greatly appreciated!

Best,

Francisco