The radar development sandbox is installed using Python Poetry and requires a python 3.8 environment to already be installed on the device.
- Check to see if Python Poetry is installed. If the below command is successful, poetry is installed move on to setting up the conda environment
poetry --version
- If Python Poetry is not installed, follow the Poetry Install Instructions. On linux, Poetry can be installed using the following command:
curl -sSL https://install.python-poetry.org | python3 -
- If conda isn't already installed, follow the Conda Install Instructions to install conda
- Once conda is installed, create a new conda environment with the correct version of python
conda create -n ECE661_mmseg python=3.10
git clone https://github.com/davidmhunt/ECE661_mmSeg.git --recurse-submodules
cd ECE661_mmseg
poetry install
Note, if you get an error stating: that poetry failed to unlock the collection, enter the following command in the terminal or add it to your .bashrc file
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring