OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

No module named 'numpy': Visual Studio Code

  • Thread starter Thread starter billboard
  • Start date Start date
B

billboard

Guest
I'm trying to setup Visual Studio Code for python development

to begin with, I've installed

  1. Anaconda Python
  2. Visual Studio Code

and in a new file I have the following code

Code:
import numpy as np
import pandas as pd
from pandas import Series, DataFrame

upon hitting Ctrl+Shift+B I get the following error

Code:
import numpy as np

ImportError: No module named 'numpy'

Also, is there python interactive window in VS Code? How to open it.
<p>I'm trying to setup Visual Studio Code for python development</p>

<p>to begin with, I've installed </p>

<ol>
<li>Anaconda Python</li>
<li>Visual Studio Code</li>
</ol>

<p>and in a new file I have the following code</p>

<pre><code>import numpy as np
import pandas as pd
from pandas import Series, DataFrame
</code></pre>

<p>upon hitting Ctrl+Shift+B I get the following error</p>

<pre><code>import numpy as np
</code></pre>

<p>ImportError: No module named 'numpy'</p>

<p>Also, is there python interactive window in VS Code? How to open it.</p>
 

Latest posts

M
Replies
0
Views
1
MusicLovingIndianGirl
M
Q
Replies
0
Views
2
quora question
Q
Top