About 166,000 results
Open links in new tab
  1. How can I create a virtual environment with Python 3?

    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. 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 …

  4. 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.

  5. 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.

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

    conda create -n test_env python=3.6.3 anaconda the documentation conda create -n test_env sets name of the environment to test_env python=3.6.3 anaconda says that you want to use python in …

  7. 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.

  8. Failed to create virtual environment in PyCharm - Stack Overflow

    Oct 25, 2021 · I have problem with create virtual environment in PyCharm. Exactly, Python in version 3.10 was add to Path during installation and I use latest version PyCharm community. Did anyone …

  9. 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.

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

    Jun 11, 2025 · 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 assume I cannot change the global python version …