Report this

What is the reason for this report?

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 on November 5, 2019

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.