Skip to main content Reinstalling Dojo-Env
What to do if your environment breaks and you need to re-install it.
- It is not uncommon to accidentally break our virtual environment by installing a new package or updating a pre-existing one.
- In the event that your environment stops working and it needs to be re-installed:
- open your terminal/gitbash and deactivate your
dojo-env
: - Type
conda activate base
or conda deactivate
and press enter. - Your terminal should now say
(base)
with your prompt instead of (dojo-env)
.
- Remove the broken
dojo-env
using the command: conda remove --name dojo-env --all
- enter
y
to approve the removal of the environment and hit enter.
- Wait for the env to be removed.
- This will delete all of the files associated with JUST our
dojo-env
. So anconda will still be installed, we will just need to re-install our dojo-env
.
- Once its completed, repeat the environment installation commands from step “2.3 Create the dojo-env environment”
- Don’t forget to run the python -m ipykernel command after creating the dojo-env in step 2.3!