

- TERMINAL CONDA PYTHON VERSION INSTALL
- TERMINAL CONDA PYTHON VERSION UPDATE
- TERMINAL CONDA PYTHON VERSION UPGRADE
The command below creates a conda environment named subscribe in python version 3.6.

I recommend you open the video in a separate tab to watch the commands in action. With that, let’s get into conda environment commands.

Consequently, they have to frequently switch between python 2 and 3 in their different class projects. However, another class has a professor who sets assignments in Python 2. For example, a couple of my classmates at UC San Diego recently started a machine learning class where one professor sets assignments in Python 3. It allows you to separate out packages, dependencies and versions you are going to use from project to project.Ī common use of virtual environments for python users is having separate Python 2 and 3 environments. What should you do? Set up a virtual environment.
TERMINAL CONDA PYTHON VERSION UPGRADE
If you upgrade one package it could break your other projects relying on old versions of the package as the old project’s syntax could become deprecated or obsolete. Say you have multiple projects and they all rely on a library (Pandas, Numpy etc). Why you Need Multiple Conda/Python Environments.
TERMINAL CONDA PYTHON VERSION INSTALL
This isn’t a discussion on conda vs pip as Jake VanderPlas covered it pretty extensively, but why you can mostly install packages through either pip or conda. This is because pip packages are also installable into Conda environments. Most of the time (with some exceptions) there isn’t much of a difference between installing packages through conda or through pip. Pip is a Python package manager which stands for “Pip Installs Packages” that is usually coupled with virtualenv (a tool for creating isolated environments). You can be substitute scikit-learn for whatever package you want to update.
TERMINAL CONDA PYTHON VERSION UPDATE
Run the command below to update a package. You can be substitute numpy for whatever package you want to uninstall. Run the command below to uninstall a package. You can be substitute numpy for whatever package you want to install. Open a command prompt/anaconda prompt (windows) or a terminal (mac/linux) and run the command below. While Conda is a package and environment manager, let’s first review the package manager functionality of conda and then focus on the environment manager functionality. In case you need a refresher, a package manager is a tool which automates the process of installing, updating, and removing packages. Luckily, Anaconda makes it easy to install packages with the package manager functionality of conda.
