- Download Python 3.12 from python.org (pytorch does not currently support 3.13)
- Run installer
- Select "Add python.exe to PATH"
- Enable "tcl/tk and IDLE"
- Install Homebrew if not present: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)'
- Install Python 3.12 with Tcl/Tk:
brew install [email protected]
brew install tcl-tk
- Install the required packages:
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.12 python3.12-tk
python --version
python -m tkinter
If python + tkinter has been installed successfully a small GUI window should open
pip install rsna-anonymizer
rsna-anonymizer
You need to provide a path to a project configuration to run in headless mode
rsna-anonymizer -c path/to/ProjectModel.json
pip install --upgrade rsna-anonymizer
- Setup python environment (>3.10) which includes Tkinter, recommend using pyenv with MacOS & Linux
- Ensure python is installed with Tkinter:
python -m tkinter, a small GUI window should open - Install poetry:
pip install poetry - Set virtual environment within project:
poetry config virtualenvs.in-project true - Clone repository
- Setup virtual environment and install all dependencies listed in pyproject.toml:
poetry install --with dev
1. Create tests/controller/.env file with your AWS_USERNAME and AWS_PASSWORD
2. poetry run pytest
Languages for 17.3: en_US, de, es, fr
- Windows: Install instructions or
choco install gettext - Mac OSX:
brew install gettext - Linux:
sudo apt-get install gettext
cd src/anonymizer/assets/locales/ ./extract_translations.sh
cd src/anonymizer/assets/locales/ ./update_translations.sh
Full class diagram on github here