Tentei importar a biblioteca para acompanhar o professor, porém a IDE retorna um erro. Já instalei pelo prompt o numpy
C:\Users\david>pip3 install numpy
Requirement already satisfied: numpy in c:\users\david\appdata\local\programs\python\python39\lib\site-packages (1.21.0)
codigo:
import numpy as np
numeros = np.array([1, 3.5])
print(numeros)
Erro:
"D:\Arquivos\Cursos\Alura\Python\Codigos Fonte\venv\Scripts\python.exe" "D:/Arquivos/Cursos/Alura/Python/Codigos Fonte/Pt4_Collections/Collections_numpy.py"
Traceback (most recent call last):
File "D:\Arquivos\Cursos\Alura\Python\Codigos Fonte\Pt4_Collections\Collections_numpy.py", line 1, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
Process finished with exit code 1
Porém se eu rodar no cmd vai normal:
C:\Users\david>python
Python 3.9.4 (tags/v3.9.4:1f2e308, Apr 6 2021, 13:40:21) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> import numpy as np
>>> numeros = np.array([1, 3.5])
>>> print(numeros)
[1. 3.5]
>>>
O que estou fazendo de errado? Procurei pelo google, mas nao encontrei nada que pudesse me ajudar/conseguisse entender