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?
#1
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.
Quote
#2
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.
Quote
#3
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.
Quote
#4
download it from the internet and install it or use pip
Quote
#5
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
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Error with Pyinstaller Modules sym 9 652 Jan-23-2017, 04:12 PM
Last Post: sym
  HTTPError: Forbidden when try download image b33g33 8 295 Jan-21-2017, 12:42 PM
Last Post: scriptso
  Issues running Selenium to download zip file davehughes87 4 281 Jan-12-2017, 02:19 PM
Last Post: metulburr
  Python 3.5.2-bit install SNAFU Orthoducks 7 342 Dec-28-2016, 09:44 PM
Last Post: sparkz_alot
  Problem with NTLM to download data azahar 1 154 Dec-21-2016, 09:54 PM
Last Post: Larz60+
  Proxy Server - Modules can't connect to URL robmog 7 426 Nov-17-2016, 04:24 PM
Last Post: robmog
  How to use/install different versions of Python packages (Scipy) on the same system? gzb001 3 251 Nov-07-2016, 12:56 AM
Last Post: Blue Dog

Forum Jump:


Users browsing this thread: 1 Guest(s)