Question

I can import modules like math but not random. I am using Windows 10. Can anyone tell me how to I load modules please.

Posted November 5, 2019 436 views
Python

I have gone to command line and tried to use pip but pip cannot be found.
I have found pip3.8.exe but it just opens an empty command line window, then closes it.

Can someone tell me please how to load modules and how I set paths for pip and python to find them.

Many thanks.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello,

I would recommend installing pip by following these steps here:

  • Download get-pip.py:

https://bootstrap.pypa.io/get-pip.py

  • Open a command prompt and go to the directory containing get-pip.py

  • Run this command:

python get-pip.py
  • To check if the installation was successful, open a command prompt and run:
pip -V

Note that you would need python installed in order to be able to do the above.

Hope that this helps!
Regards,
Bobby

Submit an Answer