convex radiation treatment planning
-
(install gcc)
-
create python 3.7 environment, e.g. by (ana)conda:
conda create -n conrad python=3.7
-
git clone https://github.com/mueller-seb/conrad/
-
select the correct branch (cvxpy_1.0 or brachytherapy)
git checkout <branch>
-
pip install -r requirements.txt
-
pip install -e .
In case of problems compare library versions with requirements_py37.txt
-
cd /docs
-
pip install -r requirements.txt
-
pip install mock
-
install make
-
make html
-
downgrade setuptools<58 to avoid use_2to3 error
pip install setuptools==57.5.0
-
'get_installed_distributions' from 'pip._internal.utils.misc' deprecated since pip>20.X; use pkg_resources instead
Don't use the master branch of conrad, it is deprecated as it depends on CVXPY 0.x However if you do so, you have to use gcc<=10 to compile old CVXPY libraries.
- multiprocess==0.70.5 if error "Python before 3.6 not supported" occurs
- CVXcanon==0.1.1 if error "canonInterface.py" occurs in hello_world.py
- scs==1.2.7 if SCS solving error occurs in CVX
- install matplotlib if 'NoneType' object has no attribute dvh_plot
see /oldrequirements for a full list of libraries