[SOLVED] Trouble Installing python modules | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

[SOLVED] Trouble Installing python modules

I installed a module off PyPl. and when I try to use it it dose not work. am I missing a step? do I need to use pip or something? btw the module I installed was pywin32 223 edit: I'm using Windows 10 of that helps

7th Aug 2018, 5:55 PM
LONGTIE👔
LONGTIE👔 - avatar
21 Answers
+ 2
win: py -m pip install <package>
8th Aug 2018, 4:31 AM
TerrIA
TerrIA - avatar
+ 7
https://code.sololearn.com/ca0eiPioyfIJ/?ref=app run that prog on your pc. save the module in one of that dirs. did you edit your path variable? your computer must know where to find pip and python.
7th Aug 2018, 6:34 PM
Oma Falk
Oma Falk - avatar
+ 6
Can you give me the exact command VYPHON ?
7th Aug 2018, 5:59 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 6
when I try to do that in Windows command prompt. it says python is an invalid command. and pip isn't a valid command pip install pywin32 error
7th Aug 2018, 6:02 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 6
no py works
7th Aug 2018, 6:05 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 6
ok
7th Aug 2018, 6:41 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 5
pip install module
7th Aug 2018, 5:59 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 5
is "py" valid
7th Aug 2018, 6:03 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 5
do I have to move the files I downloaded to some other folder?
7th Aug 2018, 6:14 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 5
Tim good idea... but sucks in the long run. path variable should get the path
7th Aug 2018, 7:53 PM
Oma Falk
Oma Falk - avatar
+ 5
Ok I figured out the problem my pip was on version 9.0.1 not 18.0 now it's working thanks for the help Oma Falk VYPHON Mert Yazıcı Tim
7th Aug 2018, 8:22 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 5
@tim hattet ihr Hitzefrei?
7th Aug 2018, 8:23 PM
Oma Falk
Oma Falk - avatar
+ 4
and if you downloaded module without pip try "python setup.py install"
7th Aug 2018, 6:00 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 3
Use PIP for installing new Python modules.
7th Aug 2018, 5:57 PM
Dread
Dread - avatar
+ 3
As Mert said: pip install <moduleName>
7th Aug 2018, 6:02 PM
Dread
Dread - avatar
+ 3
Oma Falk Nö für die Oberstufe gilt die Regelung nicht mehr. Ich hatte heute 11 std aber die Lehrer waren gnädig und haben alle ein wenig kürzer gemacht
7th Aug 2018, 8:25 PM
Tim
Tim - avatar
+ 2
Oops, I automatically assumed you were on Linux.
7th Aug 2018, 6:12 PM
Dread
Dread - avatar
+ 2
If you download modules, then, if I remember correctly, you would have to put them into a specific folder that Python itself references to.
7th Aug 2018, 6:32 PM
Dread
Dread - avatar
+ 2
if python or pip is no valid command. first go to the path where you installed python (cd C:\...\python??)
7th Aug 2018, 7:25 PM
Tim
Tim - avatar