Anaconda install with OSGeo4W

I was coming across some errors when installing Anaconda, Miniconda specifically.

I think part of the reason is I have quite a few installs of Python due to OSGeo4W.

My error:

The solution:

Update the activate.bat file that is called when launching from the start menu. For me located in:

We need to add in the following to clear out and reset the python environment before launching anaconda:

So, editing the file from:


Updating the paths as required.

This just clears out the python and windows environmental variables before launching, similar to what OSGeo4W does.

Leave a Reply

Your email address will not be published. Required fields are marked *