Author: Ian A Dalton
Updated: 2018-11-28
To install basic Python analytical toolkit distribution on a fresh (preferably Python >= 3.4) install:
- Download and extract or
git clone
this repository to the desktop or other clean workspace - Open a Terminal window (Mac OS) or
cmd.exe
/powershell.exe
in the new directory- Shift + Right-click on Windows, and "open command window/PowerShell here", or open it by launching
cmd.exe
/powershell.exe
and navigating withcd
to the extractedllrn-utils
directory.
- Shift + Right-click on Windows, and "open command window/PowerShell here", or open it by launching
- You're probably best off testing your Python version:
python --version
to see if the version you are expecting responds.- If you're running Mac OS, this may default to a native Python2, which may or may not have
pip
installed. - If so, try
python3 --version
. If the response here is the version you expected, usepython3
for the commands in the next step instead ofpython
- If you're running Mac OS, this may default to a native Python2, which may or may not have
- Type the following commands to upgrade pip and run the installation:
python -m pip install --upgrade pip
python setup.py install
If you have don't run into any errors, you can feel free to delete the python-dist
directory and everything in it at this point, but you may want to check your package versions:
pip freeze
to see a list of all installed package versions. Compare these to the list inrequirements.txt
.