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

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

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

  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 - Automatically create file 'requirements.txt' - Stack Overflow

    Sometimes I download the Python source code from GitHub and don't know how to install all the dependencies. If there isn't any requirements.txt file I have to create it by hand. Given the …

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

  7. Use different Python version with virtualenv - Stack Overflow

    Oct 8, 2009 · How do I create a virtual environment for a specified version of Python?

  8. How can I access environment variables in Python?

    How can I get the value of an environment variable in Python?

  9. How to set environment variables in Python? - Stack Overflow

    I need to set some environment variables in the Python script and I want all the other scripts that are called from Python to see the environment variables' set. If I do, …

  10. pip - How can I make a list of installed packages in a certain ...

    Dec 10, 2017 · Make sure to use a recent version of virtualenv that uses option --no-site-packages by default. This way the purpose of using virtualenv is to create a python …