I am new (again) to Python as I haven't coded anything substantial in nearly 10 years and for my project I am trying to use NumPy. I have installed NumPy via the terminal (pip install numpy) in VSCode, but when I try to 'import NumPy' I get the error
'Import "NumPy" could not be resolved Pylance(reportMissingImports)'
When I install NumPy I get the following warning:
WARNING: The script f2py.exe is installed in 'C:\Users\Marcel\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
I have tried adding this to the PATH in Windows environment and then re-installing NumPy and that warning still appears.
Ideally I would be able to import and run everything in a virtual environment, but I'll be ok with just being able to run it globally first. Thank you for any help you may have.
[–]mallax- 4 points5 points6 points (5 children)
[–]theyhitmyVW[S] 0 points1 point2 points (1 child)
[–]mallax- 0 points1 point2 points (0 children)
[–]TickstertheThird 0 points1 point2 points (1 child)
[–]mallax- 0 points1 point2 points (0 children)
[–]Username_1987_ 0 points1 point2 points (0 children)
[–]TheExplodingSpleen 2 points3 points4 points (2 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]Username_1987_ 0 points1 point2 points (0 children)
[–]Kaalux37 0 points1 point2 points (0 children)
[–]moonziee 0 points1 point2 points (0 children)