neuroinformatics-unit / HowTo

NIU website on common software problems and their troubleshooting
http://howto.neuroinformatics.dev/
Creative Commons Attribution 4.0 International
9 stars 1 forks source link

Add a how-to for setting up conda on windows. #44

Open JoeZiminski opened 9 months ago

JoeZiminski commented 9 months ago

There are some weird things about setting up conda on windows that have caused problems for new users and are basically impossible to debug without a lot of googling. I think the beow should work for cmd but definately work for powershell.

1) Set the conda directory in environment variables so powershell can recognise it. https://stackoverflow.com/questions/44597662/conda-command-is-not-recognized-on-windows-10

2) Set the powershell permissions to allow conda to function

https://stackoverflow.com/questions/62082873/conda-not-activated-in-power-shell

3) conda init powershell