-
Notifications
You must be signed in to change notification settings - Fork 175
Install
Claudio Sparpaglione edited this page Jan 3, 2019
·
5 revisions
You can install PyOWM in multiple ways
As easy as:
pip install pyowm
You can install from source using setuptools
: either download a release from GitHub or just take the latest main branch), then:
$ unzip <zip archive> # or tar -xzf <tar.gz archive>
$ cd pyowm-x.y.z
$ python setup.py install
The .egg will be installed into the system-dependent Python libraries folder:
C:\PythonXY\Lib\site-packages # Windows
/usr/local/lib/pythonX.Y/dist-packages # Ubuntu
/usr/local/lib/pythonX.Y/dist-packages # MacOS 10.5.4
Windows users can get an exe installer for PyOWM versions on the Python Package Index
Run:
Yaourt -S python2-owm # Python 2.7 (https://aur.archlinux.org/packages/python-owm)
Yaourt -S python-owm # Python 3.x (https://aur.archlinux.org/packages/python2-owm)
Run:
zypper install python-pyowm