DEV Community

Cover image for Create Virtual Environment in Python Using Conda
Arpit
Arpit

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.
https://the-tech-monk.medium.com/create-share-python-virtual-environment-using-conda-6dd9112a34f6?source=friends_link&sk=de6321c3e7500a4aad0209158423fdf1

Top comments (0)