...
Python version is 2.7,Result should be like:
Code Block language bash title Show Python version collapse true C:\>python --version Python 2.7.6
Python package magic is installed and of version 0.4.6 else see Known Installation Issues
Code Block language bash title Python-Magic package versionnr C:\>pip show python-magic --- Name: python-magic Version: 0.4.6 PyPi Version: 0.4.6 Location: c:\python27\lib\site-packages home_page: http://github.com/ahupp/python-magic Summary: File type identification using libmagic Requires: Required by(0):
- Python package lxml is installed and of version 3.3.5 else download http://www.microsoft.com/en-us/download/details.aspx?id=44266, install this c++ compiler and install lxml with this command :
pip install lxml
Code Block language bash title Python lxml package C:\>pip show lxml --- Name: lxml Version: 3.3.5 PyPi Version: 3.4.0 Location: c:\python27\lib\site-packages home_page: http://lxml.de/ Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API. Requires: Extra Require [source]: cython(-) Extra Require [cssselect]: cssselect Extra Require [html5]: html5lib Extra Require [htmlsoup]: beautifulsoup4 Required by(5): html5lib[optional], pandas[html], astropy[optional], astropy[doc ], beautifulsoup4[optional]
...
- On the command line in the pywps folder
c:\pywps>
typepython c:\pywps\setup.py install
- Or open the Windows command line tool (start > run), drag and drop
setup.py
from yourc:\pywps
folder, type install after the location of the setup file and click ok. The PyWPS Python package will now be installed.)
Check if it is installed correctly into python like this :
Code Block | ||||
---|---|---|---|---|
| ||||
C:\>pip show pywps --- Name: pywps Version: 3.2.1 PyPi Version: trunk Location: c:\python27\lib\site-packages\pywps-3.2.1-py2.7.egg home_page: http://pywps.wald.intevation.org Summary: PyWPS: Implementation of OGC's Web Processing Service in Python Requires: Required by(0): |
Step 6
Test your WPS by starting Apache server and navigate to http://localhost/cgi-bin/pywps.cgi The result should be something similar to this, meaning that the pywps process runs correctly inside the apache web server.
...