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
  need some help for install Python 3.6.2 greed13 4 60 Sep-16-2017, 11:41 PM
Last Post: greed13
  Can not download the PDF thomas2004ch 34 536 Sep-03-2017, 04:17 AM
Last Post: thomas2004ch
  a module to import modules Skaperen 4 124 Aug-05-2017, 09:41 PM
Last Post: metulburr
  python to install printer drivers automatic leoxucn 4 167 Jul-10-2017, 09:21 PM
Last Post: Larz60+
  pip and installing modules deep_logic 2 269 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 424 Jun-02-2017, 10:44 PM
Last Post: python300
  Modules in Python Ewkos 15 944 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 476 May-25-2017, 08:15 AM
Last Post: wavic
  python How to import All modules from namespace harun2525 1 285 May-20-2017, 10:10 AM
Last Post: buran
  Python modules to extract data from a graph? bigmit37 3 345 May-07-2017, 06:05 AM
Last Post: Skaperen

Forum Jump:


Users browsing this thread: 1 Guest(s)