CondaValueError: prefix already exists: C:\Users\User\anaconda3\envs\quantra_py

pl solve

Hi Santok, 



You’ll have to deactivate the existing environment and remove it and then install a fresh one. 



If you want to remove an existing environment, you can do it in the following manner: 

Deactivate the environment: conda deactivate 

Run the following command: conda remove --name quantra_py --all



You can also refer to the following: https://stackoverflow.com/questions/40180652/condavalueerror-value-error-prefix-already-exists



Further, you’ll have to install it again. You can also refer to this blog to set up python on your local system: https://blog.quantinsti.com/set-up-python-system/



Hope this helps!



Thanks, 

Bhavika