About 161,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

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

  5. virtualenv - I am trying to create a virtual environment in python …

    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

  6. Where do I put my python files in the venv folder?

    Jul 24, 2018 · I think @tripleee 's answer is enough to answer this question, but I recently has a problem when I put my python files in the myproject folder because I was making an exe file …

  7. python - Automatically create file 'requirements.txt' - Stack Overflow

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

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

  9. What is a virtualenv, and why should I use one? - Stack Overflow

    Feb 1, 2017 · (venv)$ deactivate $ python [...] >>> import requests Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'requests' You can …

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