-
Notifications
You must be signed in to change notification settings - Fork 12
2. Installing codonPython
To be able to use the functions within the codonPython
package, you must install the package onto your machine. These instructions explain how to do this in the most basic form. Functions can most likely be used in more complex ways than in the example given below but this guide should help you get started.
Requirements
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.
- 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] :
- Import whichever function you wish to use.
Example:
Here is an example of importing and using the suppress_value function:
Common Errors
If you see an error like this, you may not have python installed correctly.
If you see an error like this you may not have git installed correctly. Try following the instructions here to set your PATH correctly.
If you see an error like this, you may not have pip installed correctly.
*Images may be blurred to hide identifiable information
If you have any issues please email [email protected].
📧 Email us at [email protected] 🐦Find NHS Digital on Twitter 📘Check out the documentation for Codon