Numpy | Sololearn: Learn to code for FREE!

0

Numpy

hy programers i,ve a problem for importing some modules .. for example import numpy . when i write this in the code .. i have an error (No module named numpy) and some of other module what the couse!😁

4/10/2020 2:04:15 PM

Monzer

25 Answers

New Answer

0

https://www.sololearn.com/discuss/2235625/?ref=app In modile pip install can't be done

+4

Numpy can't be Installed in mobile phone,even I get the same when learning python in mobile compiler

+1

Monzer I am sorry for you... should work in powershell as well. πŸ˜‰ BTW: The code I posted previously is a python program that runs in IDLE (or SoloLearn) that makes issuing pip commands easy for those unfamiliar. It is OS independent and I just copy and pasted from SoloLearn which is commented as running on linux. Any shell command works depending on your OS. Jay Matthews you should not need to search for it if python was installed properly. it is part of the python3 install and should add the location to pip (and the other support commands) to path. https://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows https://www.shellhacks.com/python-how-to-use-pip-basic-commands/

+1

I downloaded scipy,sympy,matplotlib,pandas and tensorflow with it.

+1

zuke .. i,ll try this command in second commaand ihave an 2 errors 1:error not found version that requeirment numpy 2: no matching distribution mumpy what the wrong hereπŸ˜–πŸ˜–πŸ’”

0

Depending on what environment you're on, you might need to add it: pip install numpy(scipy, sympy) Does this work? import numpy as np

0

no ... (import numpy as np)also not work

0

not just numpy . Also another moduls

0

Are you in IDLE?

0

yes. in IDLE

0

pip install numpy(scipy,sympy,matplotlib,etc.)

0

i don,t understand this ..pip install.......

0

It's a command to install modules you don't already have.

0

that mean,s i will write this command in IDLE or what?

0

Monzer you can create a python program to look at the version and help by not adding any input, or you can issue another command: --- start of code --- # linux shell command.py import os cmd=input() or 'pip -V ; pip -h' os.system(cmd) --- end of code --- I issue the pip -V command first so you can see the version installed, because alot of times pip complains it needs upgrading. pip -h just shows the help. normally you just issue... pip install [module name] ...in a shell. hope that is useful.

0

in windows my broπŸ˜…πŸ’–πŸ’–

0

I had to go into command prompt on the computer, and then navigate through all the different subdirectories until I finally found it. It was under AppData, I believe.

0

code crasher 😍😍 thank you for thisπŸ’–

0

jay mattews πŸ’–πŸ’–

0

if this pip for just numpy i have the same problem in other modules