Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to download and install python modules?
I am new to python and only know basic programming. I want to start working with modules. Especially the 'wmi' module. How do I download and install it.
python comes with pip, so use that
pip install wmi
then test with 
import wmi
Also, to browse modules that are available (searching by subject), visit: https://pypi.python.org/pypi
And you can find wheels here: http://www.lfd.uci.edu/~gohlke/pythonlibs/

to install from a wheel, download the wheel to your favorite directory,
change to that directory and use
pip install wheel name
Wheels are named (on gohike) like:
  • ad3‑2.0.2‑cp27‑cp27m‑win32.whl
  • ad3‑2.0.2‑cp27‑cp27m‑win_amd64.whl
  • ad3‑2.0.2‑cp34‑cp34m‑win32.whl
  • ad3‑2.0.2‑cp34‑cp34m‑win_amd64.whl
  • ad3‑2.0.2‑cp35‑cp35m‑win32.whl
  • ad3‑2.0.2‑cp35‑cp35m‑win_amd64.whl
The number after the cp is the python version number
then the 32 and 64 are for 32 bit and 64 bit os.
download it from the internet and install it or use pip
I'd try to use pip first, directly from the net.
If there's any problem (most work ok), and there is a wheel on gohike,
download that next and use pip to install

finally, you can download the package, find the setup.py file and run:
python setup.py install

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  NameError: name 'download' is not defined ntdropper 3 73 Jan-13-2018, 07:18 AM
Last Post: snippsat
  Install Python 2 and 3 on same Computer Able98 6 858 Dec-13-2017, 06:32 PM
Last Post: snippsat
  Defining Variables in outside modules Barnettch3 4 106 Dec-12-2017, 10:19 PM
Last Post: Larz60+
  Importing modules Pistolpete 2 119 Nov-29-2017, 05:24 PM
Last Post: nilamo
  Problems installing Python - Failed to install MSI package Johnnyq70 1 182 Oct-29-2017, 08:50 PM
Last Post: Larz60+
  cant download packages to pycharm Arifattal 5 326 Oct-22-2017, 07:33 PM
Last Post: metulburr
  Libraries needed for python install? burvil 7 542 Oct-18-2017, 04:55 AM
Last Post: burvil
  Download file from Internet Tribunal 1 183 Oct-11-2017, 06:03 PM
Last Post: Larz60+
  managing modules/scripts dynamically hbknjr 2 176 Oct-06-2017, 05:07 PM
Last Post: hbknjr
  No Script Folder in Python 3.6.2 Download jriemer 3 645 Sep-24-2017, 08:19 PM
Last Post: snippsat

Forum Jump:

Users browsing this thread: 1 Guest(s)