Commit ffebef04 authored by Jon Pye's avatar Jon Pye
Browse files

Commit prior to switching instructions to Conda

parent f7eff185
......@@ -10,6 +10,12 @@ link: https://www.qgis.org/en/site/forusers/download.html
*Mac users note - you will need to install the secondary packages from kyngchaos.com listed on this site.*
##### Natural Earth Quickstart Pack
link: http://kelso.it/x/nequickstart
will let you download the Natural Earth Quickstart Pack - with layers for most geographical features and sample projects for ArcMap and QGIS
### Working in Python - CartoPy:
Python, cartopy, and owslib are needed. Below we will create a Python virtual environment to hold these things and all their prerequisites. I will try and be OS-agnostic in these instructions, apologies if they are incomplete for your distribution.
......@@ -22,18 +28,32 @@ Follow instructions for your OS/platform
Windows users may have to add python to their PATH variable
*2) Installing the python package manager pip:*
A good Windows tutorial to get Python, Pip and virtualenv working can be found here:
http://docs.python-guide.org/en/latest/starting/install/win/
If you follow this guide, skip ahead to step 4) when you're done.
*2) Installing Setuptools and the python package manager pip:*
Setuptools: link: https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
save this file locally and then run:
#> python ez_setup.py
Pip:
howto: https://pip.pypa.io/en/latest/installing.html
link: https://bootstrap.pypa.io/get-pip.py
run get-pip.py in your new python environment
run get-pip.py like you did with ez_setup.py
#> python get-pip.py
*3) Now we can install python packages on the command line through pip.*
In a command-line window (cmd or Terminal), type:
In a command-line window (Windows **cmd** or OSX/Linux **Terminal** ), type:
#> pip install virtualenv
......@@ -46,7 +66,7 @@ And activate this virtual python environment
Windows:
#> Scripts/activate
#> carto-demo/Scripts/activate.bat
Mac/Linux:
......@@ -54,6 +74,10 @@ Mac/Linux:
*5) Now we can use pip to install (most of) the rest of our requirements*
Windows users may need a compiler, try Visual Studio at this link:
http://download.microsoft.com/download/A/5/4/A54BADB6-9C3F-478D-8657-93B3FC9FE62D/vcsetup.exe
pip will install prerequisites, so this is the most painless way to do things
#> pip install matplotlib
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment