pip install -U --force-reinstall git+ssh://git@github.com/MLGlobalHealth/dl4bi.gitpip install pdoc
git clone git@github.com:MLGlobalHealth/dl4bi.git
cd dl4bi
pdoc --docformat google --math dl4biExample scripts can be found here.
- Install Python 3.12 with
pyenv:- Install
pyenv:curl https://pyenv.run | bash - Copy the lines it says to your
~/.bashrcand reloadsource ~/.bashrc - Install Python 3.12:
pyenv install 3.12
- Install
- Create a virtualenv called
dl4bi-devusing Python 3.12:pyenv virtualenv 3.12 dl4bi-dev - Clone the repository and
cdinto it:git clone git@github.com:MLGlobalHealth/dl4bi.git && cd dl4bi - Inside the
dl4birepository, tellpyenvto use thedl4bi-devvirtualenv:pyenv local dl4bi-devpyenv local dl4bi-devcreates a.python-versionfile that tellspyenvto automatically activate thedl4bi-devvirtualenv whenever you are working in thedl4birepository, so allpythonandpipcommands will execute within thedl4bi-devvirtualenv
- Inside the
dl4bidirectory, install the package to thedl4bi-devvirtualenv:pip install -e .- Installing this package locally means it is installed "live", i.e. it immediately reflects any changes you make (this only needs to be done once)