skip to Main Content

I am trying to start working with django and visual studio but I cannot figure out what are the instructiosns are to set up a virtual environemnt.

How do you do this? I have both tried in a blank file and also in the Terminal.
enter image description here

I tried to both use the terminal and add the code to a blank file

2

Answers


  1. Not sure if anaconda can solve your problem:https://www.anaconda.com/download/success

    conda create -n new_env_name python=x.x.x
    Then from VS, choose new_env_name as your executive.

    Login or Signup to reply.
  2. I typically use virutalenv module. More information: https://virtualenv.pypa.io/en/latest/user_guide.html. It is fairly easy to use. From the terminal, at your project directory, you can follow the steps laid in the guide to create a new virutal environment, activate it, and install/delete external libraries in it

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search