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
*Describe the environment in which it occurs.                                    *Describe the symptoms of your problem clearly.
*Describe the research you did to try and understand the problem.      *Describe the goal, not the step. 
*Use meaningful, specific subject headers                                          *Write in clear, grammatical, correctly-spelled language
*Describe the problem's symptoms, not your guesses                         *Describe your problem's symptoms in chronological order
*Describe the diagnostic steps you took to try and pin down the problem yourself.
*Describe any possibly relevant recent changes in your computer or software configuration. 
*Provide a way to reproduce the problem in a controlled environment.
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
  python to install printer drivers automatic leoxucn 2 34 Jun-26-2017, 12:51 PM
Last Post: sparkz_alot
  pip and installing modules deep_logic 2 82 Jun-25-2017, 03:23 AM
Last Post: deep_logic
  Issue in launching spyder that was installed using pip install on Python 3.6.1 python300 6 170 Jun-02-2017, 10:44 PM
Last Post: python300
  Modules in Python Ewkos 15 509 May-30-2017, 07:52 AM
Last Post: Ewkos
  Modules issue, pip3 download modules only to pyhton3.5.2 not the latest 3.6.1 bmohanraj91 6 207 May-25-2017, 08:15 AM
Last Post: wavic
  python How to import All modules from namespace harun2525 1 122 May-20-2017, 10:10 AM
Last Post: buran
  Python modules to extract data from a graph? bigmit37 3 200 May-07-2017, 06:05 AM
Last Post: Skaperen
  import commands modules not working in python 3.6.0 bmohanraj91 2 227 May-01-2017, 10:59 AM
Last Post: bmohanraj91
  Python Selenium Document Lookup and Download Automation Error - Target Machine active Guttmann 4 297 Apr-18-2017, 12:13 AM
Last Post: metulburr
  How to install my Python application as an Arch Linux Program BigMan 1 176 Apr-11-2017, 09:55 AM
Last Post: wavic

Forum Jump:

Users browsing this thread: 1 Guest(s)