Installation Guidelines: Windows - Developer (Manual)
If you are a Developer running Windows and wishing to install Python & all dependent libraries manually then this is the right page for you.
Install Python
3.7 is preferred, although 2.7 is currently still supported
NB For 2.7, 32-bit Python should be used even on 64-bit Windows:
Install Python Libraries
Windows users should generally use Windows Installers, where available
Note: These libraries are checked here:
Mandatory
- lxml for XML export/import: http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
- Shapely for GIS Features: http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely
- setuptools for installing dateutil (& tweepy): http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe
- dateutil: http://labix.org/download/python-dateutil/python-dateutil-1.5.tar.gz
- No Windows installer, so install by unzipping, opening a command line inside the folder &
python setup.py install
- No Windows installer, so install by unzipping, opening a command line inside the folder &
Optional
- xlrd for XLS output: https://pypi.python.org/packages/42/85/25caf967c2d496067489e0bb32df069a8361e1fd96a7e9f35408e56b3aab/xlrd-1.0.0.tar.gz
- xlwt for XLS output: https://pypi.python.org/packages/0b/69/644313df86e6375ec2c6b34ec8ac544b9cc7803b7d943223d32811860f3d/xlwt-1.1.2.tar.gz
- ReportLab for PDF output: http://www.lfd.uci.edu/~gohlke/pythonlibs/#reportlab
- Pillow Python Image Library for PDFs: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow
- GDAL for Shapefile support:
- PyRTF for Survey to export as RTF: http://sourceforge.net/projects/pyrtf/files/pyrtf/0.45/PyRTF-0.45.tar.gz/download
- MatPlotLib for charts (used in the Survey application but not for the S3Report pivottable reports): http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.3.0/matplotlib-1.3.0.win32-py2.7.exe/download
- numpy required by matplotlib & also Vulnerability module: http://sourceforge.net/projects/numpy/files/NumPy/1.7.1/numpy-1.7.1-win32-superpack-python2.7.exe/download
- IPython for a nicer interactive shell: http://archive.ipython.org/release/0.12.1/ipython-0.12.1.win32.exe
- Python extensions for Windows: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win32-py2.7.exe/download
- tweepy python library for Twitter Send/Receive: https://pypi.python.org/packages/source/t/tweepy/tweepy-2.1.tar.gz
- TwitterSearch python library to search Twitter: https://github.com/ckoepp/TwitterSearch/archive/master.zip
- Pyserial to use a Modem for SMS: http://sourceforge.net/projects/pyserial/files/pyserial/2.5/pyserial-2.5.win32.exe/download
- RPy2 for Climate module: https://pypi.python.org/packages/source/r/rpy2/rpy2-2.3.8.tar.gz
- SciPy for Climate module: http://www.lfd.uci.edu/~gohlke/pythonlibs/dhzoqiqp/scipy-0.12.0.win32-py2.7.exe
- NetCDF for Climate module: https://code.google.com/p/netcdf4-python/downloads/detail?name=netCDF4-1.0.5.win32-py2.7.exe&can=2&q=
- PyTZ for Timezone awareness (unused currently)
- PyWURFL for Browser Capabilities (unused currently)
- MySQLDB for accessing MySQL databases: http://www.codegood.com/download/10/
- Psycopg for accessing PostgreSQL databases:
Install git
A Windows installer is available here -- pick the latest one available and install it.
Note: Do not install or use "git bash". It is incompatible with instructions shown here. It is incompatible with git used from the Windows command prompt. It has been known to damage git repositories. To avoid confusion and make it easier for us to help you, please run git from the Windows command prompt.
Next
Configure git; install Web2Py and Sahana Eden:
Attachments (1)
-
ssh-keygen.cmd
(140 bytes
) - added by 13 years ago.
Wrapper for ssh-keygen
Download all attachments as: .zip