About 358,000 results
Open links in new tab
  1. How to create virtual env with Python 3? - Stack Overflow

    To create a virtual environment, go to your project’s directory and run the following command. This will create a new virtual environment in a local folder named .venv: python3 -m venv .venv Activate a …

  2. How can I set up a virtual environment for Python in Visual Studio …

    Jan 9, 2019 · In my project folder I created a venv folder: python -m venv venv When I run command select python interpreter in Visual Studio Code, my venv folder is not shown. I went one level up like …

  3. How to create a venv with a different Python version

    Dec 20, 2021 · I had a similar case, and here is how I solved it with using pyenv to install different versions of the Python interpreter and venv to create a virtual environment.

  4. What is a virtualenv, and why should I use one? - Stack Overflow

    Feb 1, 2017 · Virtual environments, or "virtualenvs" are lightweight, self-contained Python installations, designed to be set up with a minimum of fuss, and to "just work" without requiring extensive …

  5. python - Conda: Creating a virtual environment - Stack Overflow

    In general yes, there are differences between virtual and non-virtual environment. In context of this question, no - when you create an environment using conda create, it's a virtual one.

  6. python - Why is virtualenv necessary? - Stack Overflow

    A Virtual Environment, put simply, is an isolated working copy of Python which allows you to work on a specific project without worry of affecting other projects.

  7. Best way to create a Python virtual environment with a higher Python ...

    Jun 11, 2025 · But I would prefer to work in a Jupyter notebook. It appears that I cannot create a virtual environment with a Python version higher than the global version. I have contacted support but let's …

  8. Python venv not creating virtual environment - Stack Overflow

    Sep 26, 2019 · I'm trying to create a virtual environment for my current Django project using python3 -m venv env however the command doesn't create any directory with bin/include/lib folders. What …

  9. python - How can I activate my virtualenv in the Visual Studio Code ...

    Jul 13, 2022 · How can I activate my virtual environment in the Visual Studio Code terminal? I've tried using the workspace settings method, but the settings file was empty.

  10. Create a python venv that works on systems with no python installed

    Mar 31, 2023 · The original Python interpreter (and its standard library) used to create the virtual environment are necessary to use the virtual environment after its creation.