Skip to content

Installation Guide

Requirements

  • A command-line environment that supports Python and pip
  • python version >= 3.9 (Install)
  1. In your terminal type:
pip3 uninstall -y cdapython; pip3 install git+https://github.com/CancerDataAggregator/cdapython.git@develop

Terminal/Command line

cdapython is a python package, to run on the command line, start python

python3
and import the cdapython modules:

from cdapython import *

Interactive notebook

cdapython comes with jupyter notebook installed, and our documentation is all available as jupyter notebooks. To start a notebook server, go to your command line/terminal and type:

jupyter notebook
This will launch an interactive notebook in your browser. Be sure to import the cdapython modules in your first notebook block:

from cdapython import *