Skip to content

2. Installing codonPython

NatashaChetwynd edited this page Nov 26, 2019 · 3 revisions

Installation

Requirements

  • Git installed on machine.
  • Python installed on machine.
  • Pip installed on machine.

This software may be directly installed onto your machine or be available via an alternative platform e.g. anaconda.

-For NHS Digital staff this may need downloading via ZENworks, a resolveIT or on a virtual machine.

  1. Open a command prompt and enter the following:

python -m pip install --user git+https://github.com/codonlibrary/codonPython.git

It should start to load and look something like this [click image to enlarge] : Install

  1. Import whichever function you wish to use.

Example:

Here is an example of importing and using the suppress_value function: example-use

Common Errors

If you see an error like this, you may not have python installed correctly. Try following the instructions here to set your PATH correctly.

Python-error

If you see an error like this you may not have git installed correctly. Git-error

If you see an error like this, you may not have pip installed correctly. pip-error

*Images may be blurred to hide identifiable information

If you have any issues please email codon.library@nhs.net.

Clone this wiki locally