I can't import python modules in command prompt with pip. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

I can't import python modules in command prompt with pip.

It works on my 1 laptop but not on the other and unfortunately I need it on both, any idea why?

18th Aug 2018, 3:29 AM
Austin Kline
Austin Kline - avatar
6 Answers
+ 8
Austin Kline try py -m pip install <package> this is for Windows
18th Aug 2018, 4:52 AM
LONGTIE👔
LONGTIE👔 - avatar
+ 5
Austin Kline what type of error is it giving?
18th Aug 2018, 4:23 AM
LONGTIE👔
LONGTIE👔 - avatar
+ 2
LONGTIE 'pip' is not recognized as an internal or external command.
18th Aug 2018, 4:45 AM
Austin Kline
Austin Kline - avatar
+ 2
LONGTIE thanks for that useful info, I will be sure to come back to you if I have anymore questions regarding python.
20th Aug 2018, 1:23 AM
Austin Kline
Austin Kline - avatar
+ 1
set the path
18th Aug 2018, 3:43 AM
Sachin pawar
Sachin pawar - avatar
0
Check to make sure your '\Python37-32\Scripts' folder is in your PATH environment variable.
24th Sep 2018, 3:44 PM
Houston Million
Houston Million - avatar