![]() I determined this by running conda create -n foo -dry-run -c anaconda python=3.6.5 anaconda and then examining the version of the anaconda package that Conda ended up with in the solve. Use your new isolated env: conda activate my_env If you do install from this, then make sure to update Conda immediately after installation: conda update conda However, I strongly recommend the following alternate solution as better practice. 1 You can download this from the Anaconda distribution archive. Note These steps assume you are starting in the base environment created by the installer. The Anaconda distribution with Python 3.6.5 was version 5.2.0. Once that is working.Ĭreate your Anaconda env: conda create -name my_env -c anaconda python=3.6.5 anaconda=5.2.0 Follow the instructions below to update Anaconda to the latest version. I know that conda update python updates python to latest version, but I want to update it to only 3.5.1. StepsÄownload and install Miniconda or a Miniforge variant. Currently I have anaconda3 installed in my server with the following version: Python 3.4.3 Anaconda 2.3.0 (64-bit) I want to update the Python to Python 3.5.1. In the long run this will give you better stability. Fortunately, you don't have to install a full Anaconda distribution, but rather can use a lightweight Miniconda (or Miniforge) distribution and create a secondary environment for the purpose of having an Anaconda Python 3.6.5 distribution. Ultimately, you don't want to mess with your base environment, so best practice is to have the latest version there. What is installed in the base environment is relatively fixed once installed. Miniconda + Anaconda environment Reasoning However, I strongly recommend the following alternate solution as better practice. If you do install from this, then make sure to update Conda immediately after installation: conda update conda Choose the appropriate version for your operating system (Windows, macOS, or Linux). 1 You can download this from the Anaconda distribution archive. Follow these steps: Go to the Anaconda Individual Edition download page. The Anaconda distribution with Python 3.6.5 was version 5.2.0.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |