Numpy install | Sololearn: Learn to code for FREE!

+1

Numpy install

I have installed Microsoft VS code on my laptop, how to I install Numpy?

2/23/2022 8:58:33 AM

Naomi

5 Answers

New Answer

+4

open cmd as administrator and write pip install numpy

+2

uninstall python and reinstall it again then try

+1

I have figured it out for those wondering… From here i typed in cmd promt py -m pip install - - upgrade pip From here pip-22.0.3 was successfully installed

+1

I'm not familiar with vscode . Just to be more accurate try these steps: Run python interpreter from cmd then import numpy

0

My command prompt now says Successfully installed pip -22.0.3 But there is a warning underneath it saying i am using pip version 21.2.4; however, version 22.0.3 is still avaliable and that i should consider upgrading. 1. How to i upgrade? 2. How do i know if numpy works now in VS code, as when i write ‘numpy’ it doesnt recognise the text. I have installed the latest version of Python