DEV Community

Cover image for Create Virtual Environment in Python Using Conda

Posted on

Create Virtual Environment in Python Using Conda

In this article, we’ll discuss about setting up virtual environments in python projects using conda.

While Anaconda Navigator is a nice tool to use to get an overview, being able to run your code from the command line can be convenient, too. With the conda command, which is luckily extremely easy.

First, you need to open the conda shell. You can do this from Anaconda Navigator if you wish, but you can also run it straight away.

How to Create Conda environment

On Windows, you can open Anaconda Prompt or Anaconda PowerShell Prompt from the start menu.

For Linux and OS X, the most convenient method is to initialize the shell integration. For zsh, you can use:

`$ conda init zsh`
Enter fullscreen mode Exit fullscreen mode

....Please visit below link for complete article.

Top comments (0)