"pip" is a package management system used to install and manage software packages written in Python. Many packages can be found in the Python Package Index (PyPI).
Many modules are installed through "pip", so as the SWMM5 module.
Installing pip in QGIS - python - PyQgis - OSGeo4w
1 - Download pip - https://bootstrap.pypa.io/get-pip.py ;
2 - Open OSGeo4W;
3 - go to the get-pip.py folder and type:
python get-pip.py
Python programming, with examples in hydraulic engineering and in hydrology.
Showing posts with label install. Show all posts
Showing posts with label install. Show all posts
Friday, November 6, 2015
Wednesday, November 4, 2015
How to Install New Python Modules / Packages in QGIS - method #1
Steps:
1 - copy source folder to C:\Program Files\QGIS Wien\apps\Python27\Lib\site-packages
2 - Open OSGeo4W Shell; go to unpacked folder, where setup.py lies - (>> cd "C:\Program Files\QGIS Wien\apps\Python27\Lib\site-packages")
3 - Type: >> python setup.py install
-----
If it shows errors regarding setuptools: you will have to install setuptools.
https://pypi.python.org/packages/source/s/setuptools/setuptools-18.4.zip#md5=38d5cd321ca9de2cdb1dafcac4cb7007
Download setuptools package, then repeat the same steps for installation.
Ps: in my opinion, this is the worst method to install modules. Next post I will tell how to use "pip" with QGIS Python.
Subscribe to:
Posts (Atom)