Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (20 loc) · 1.26 KB

WindowsInstallation.md

File metadata and controls

30 lines (20 loc) · 1.26 KB

Installing csw-to-geoblacklight on Windows

Pre-reqs

Environment variables to set

  • path to Python 2.7
  • path to Python Scripts directory

How to add an environment variable in Windows: https://www.computerhope.com/issues/ch000549.htm)

Install modules required for CSW-to-geoblacklight script

  1. Install pip
  1. Launch cmd prompt as administrator
  2. Run: python \get-pip.py.
  • path-to-file is the location where you saved get-pip.py (e.g., C:\Python27\Scripts)
  1. Run: pip install –r \requirements.txt
  • If you encounter the following error: “Fatal error in launcher: Unable to create process using '"' Download and run the pipreqs.py file using: python \pipreqs.py

  • Note: pipreqs.py assumes default Python 2.7 configuration, and that requirements.txt is installed in C:\Python27\Scripts\csw-to-geoblacklight-master\ - Make any necessary changes to paths before running the script.

Thank you to Cole Meyer from UMN OIT for these instructions.