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

    CREATE VIRTUAL ENVIRONMENT: For Python 3 version: Command: python3 -m venv [environment_name] Example: python3 -m venv my_virtual_environment. For Python 2 …

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

    Jan 9, 2019 · You can easily create a Python virtual environment in Visual Studio Code (VSCode) by following these steps: Open the terminal in VSCode. You can do this by navigating to the …

  3. 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. For example, you can work on a …

  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 python and venv to create a virtual environment. Here is a workflow that you can …

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

    Create a virtual environment conda create -n yourenvname python=x.x anaconda Activate your virtual environment source activate yourenvname Install additional Python packages to a …

  6. Use different Python version with virtualenv - Stack Overflow

    Oct 8, 2009 · I had to run a pyenv shell for the selected python version: pyenv shell 3.11.3 and then run python -m venv env to create the virtual environment. This creates a virtual …

  7. python - What is a virtualenv, and why should I use one ... - Stack ...

    Feb 1, 2017 · When a virtualenv is active, pip will install packages within the environment, which does not affect the base Python installation in any way. In Python 3.3 or later, you can create a …

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

    Oct 23, 2017 · In Windows 10 Pro I used the below command to create the virtual environment and activate the same. I use virtual environment to run my Python programs. Run the below …

  9. python - How do I activate a virtualenv inside PyCharm's terminal ...

    Mar 10, 2014 · For Windows users when using PyCharm and a virtual environment under Windows, you can use the /k parameter to cmd.exe to set the virtual environment …

  10. Activate python virtualenv in Dockerfile - Stack Overflow

    Feb 1, 2018 · # Create a Python virtual environment to hold installed packages. RUN python -m venv ai # Install packages inside the virtual environment. RUN <<EOF source ai/bin/activate …

Refresh