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

    python3 -m venv ./path-to-new-venv This is the recommended way to create virtual environments. Historically, a wrapper command pyvenv was provided for this. However, the wrapper was …

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

    Dec 20, 2021 · Therefore, when creating a new venv for a new project, I would like to downgrade Python, say to 3.8, only for this specific venv. How can I do that? What should I type onto the …

  3. How to create a Python 2.7 virtual environment using Python 3.7

    May 12, 2022 · The venv module was introduced in Python 3.3, so you cannot use it to create virtual environments with python 2.7. You could use the virtualenv package which is a superset of venv.

  4. virtualenv - I am trying to create a virtual environment in python but ...

    Dec 4, 2020 · Assuming that you are using Python 3, you can follow the below steps to create and activate Python environment: To create environment: python -m venv path/to/virtualenv

  5. python - How to create venv - Stack Overflow

    Dec 6, 2021 · I have been using my python v3.9 in my virtual environment, it contains all the packages and scripts i have been using for so long. But, now with the release of python v 3.10 it installed itself …

  6. Installing venv for python3 in WSL (Ubuntu) - Stack Overflow

    sudo apt install python3-venv In this case the installation seems to complete, but when I try to create a virtual environment with python3 -m venv ./venv, I get an error, telling me to do apt-get install …

  7. python - How can I properly use Pyenv and venv? - Stack Overflow

    Oct 10, 2018 · You create a directory for your project, cd into it, and run virtualenv venv for a simple virtualenv, but you can also specify which Python executable you'd like in your virtual environment …

  8. Create multiple virtualenv with different versions of python

    Is it possible to create two different versions of virtualenv in python, while having single python installed python. Can I create another virtualenv with say version 3.7.17 which is a lower version ?

  9. Creating a virtual Python environment in VS code

    Mar 6, 2024 · To create a .venv folder in vscode. Open vscode in a folder Install the python extension Use the command palette (ctrl+maj+P) and type "Python: Create environment" Follow the …

  10. How to create conda environment with specific python version

    Jun 22, 2019 · 45 To create an environment named py33 with python 3.3.0, using the channel conda-forge and a list of packages: