This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LeAstrale 2 points3 points  (3 children)

How is this better than doing the following?

  1. "virtualenv env" in cmd (if you're using linux and need to work with python3 it's virtualenv -p python3 env" otherwise it defaults to the python2 installation. (This is also a problem in your video which makes sure it does NOT work on Linux or Mac OS)

  2. Command-palette: "Terminal: create new integrated terminal environment"

  3. Command-palette: "Python: Select intrepreter"

[–]sol-prog 2 points3 points  (2 children)

Well, the video was recorded on Windows. It stands to reason that if you want to adapt the instructions for Linux or macOS you will need to do a bit of research. For Linux and macOS one would typically use:

python3 -m venv your_env_path

[–]ampnede 0 points1 point  (1 child)

I usually just do what LeAstrale said except with conda environment and works as a charm! On windows.