About 371,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 …

  2. python - How to install uv when I already need an virtual …

    Jun 22, 2025 · How to install uv when I already need an virtual environment to install it? With the standalone installer, or any other method - pip, cargo, docker or just by downloading the binary.

  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 …

  4. python - Can I have different virtual environments in a project …

    Jan 17, 2025 · On a Windows machine, I'm developing a Python project that I manage using uv. I run the unit tests with uv run pytest, and uv automatically creates a virtual environment in …

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

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

  7. python - How do I solve "error: externally-managed-environment" …

    error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are …

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

  9. python - How to activate virtual environment from Windows 10 …

    Oct 23, 2017 · I'm trying to create and activate a virtual environment, using Windows 10 command prompt. I know that virtualenv is installed correctly, as the command virtualenv venv Works. …

  10. VS Code doesn't open Python virtual environment

    Jul 14, 2025 · I'm using Python 3.13.5 with VS Code 1.102.0 on Ubuntu 24.04.2. With VS Code updates, there were often problems with opening venv environment, but usually reloading VS …