Python Forum
How to download and install python modules?
Thread Rating:
  • 2 Vote(s) - 4 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.
Reply
#2
python comes with pip, so use that
pip install wmi
then test with 
import wmi
Recommended Tutorials:
Reply
#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.
Reply
#4
download it from the internet and install it or use pip
Reply
#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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to see the date of installation of python modules. newbieAuggie2019 4 1,466 Mar-31-2023, 12:40 PM
Last Post: newbieAuggie2019
  python multiprocessing to download sql table mg24 5 1,407 Oct-31-2022, 03:53 PM
Last Post: Larz60+
  Python modules for accessing the configuration of relevant paths Imago 1 1,324 May-07-2022, 07:28 PM
Last Post: Larz60+
  How to install modules for 2.7 (or sharing from 3.8)) Persisto 2 2,374 Dec-31-2021, 02:33 PM
Last Post: Persisto
  download with internet download manager coral_raha 0 2,882 Jul-18-2021, 03:11 PM
Last Post: coral_raha
  Python modules to extract data from a graph? bigmit37 5 22,193 Apr-09-2021, 02:15 PM
Last Post: TysonL
  Where to add own python modules in WinPython? HinterhaeltigesSchlaengelchen 1 2,241 Jan-21-2021, 07:45 PM
Last Post: snippsat
  download pubmed PDFs using pubmed2pdf in python Wooki 8 5,369 Oct-19-2020, 03:06 PM
Last Post: jefsummers
  How can I download Python files from GitHub? bitcoin10mil 2 2,769 Aug-26-2020, 09:03 PM
Last Post: Axel_Erfurt
  Including modules in Python using sys.path.append JoeDainton123 1 2,849 Aug-24-2020, 04:51 AM
Last Post: millpond

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020