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 clonethis repository to the desktop or other clean workspace - Open a Terminal window (Mac OS) or
cmd.exe/powershell.exein the new directory- Shift + Right-click on Windows, and "open command window/PowerShell here", or open it by launching
cmd.exe/powershell.exeand navigating withcdto the extractedllrn-utilsdirectory.
- 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 --versionto 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
pipinstalled. - If so, try
python3 --version. If the response here is the version you expected, usepython3for 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 pippython 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 freezeto see a list of all installed package versions. Compare these to the list inrequirements.txt.