![]() ![]() ![]() Open the Anaconda prompt and, assuming you want your base environment setup, type:Ĭonda env update -n base -file geospatial_python.yml If you have accepted the default (windows) installation it should be: C:\Users\ username This will mean that in one line you should be able to get up and running.ĭownload the file ( geospatial_python.yml) and save it to the location where you have installed anaconda. I have built a yml file with all the Geospatial, Computer Vision, Machine Learning Libraries that you should need. Open the prompt and check your version: Boom! Python 3.7.7! ![]() Allow yourself ~20mins to uninstall and reinstall. Then download the latest version and install. If you want to change your base environment, and at somepoint I think you are going to want to do that, then the only option I found was to uninstall your Anaconda version. You can do this with a command such as (where p圓7 is the name of my new virtual environment): conda create -name p圓7 python=3.7 To create a virtual environment, using the Python version that you want, is a reasonable approach. If you want to use a different version of Python, for example Python 3.5, simply create a new environment and specify the version of Python that you want. When you create a new environment, conda installs the same Python version you used when you downloaded and installed Anaconda. Basically the documentation says you cannot do it, unless you want to create a virtual environment: I tried a number of ways including the following commands: conda update python conda install python=3.7 I have now come to a natural break in projects and I want to upgrade my version to Python 3.7 – which is the default version that Anaconda uses (3.7.7 as of the start of April 2020). 18 months ago I wrote about setting up Anaconda for Python. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |