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

    virtualenv is the tool of choice for Python 2, while venv handles the task in Python 3. Yet you can create the virtual environment for Python 3 using any of them.

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

  3. How can I access environment variables in Python?

    I haven’t set it (PYTHONPATH) before; what I am doing just go with command prompt and type CMD anywhere (since python.exe is in my shell PATH). If I try to access Window …

  4. How to leave/exit/deactivate a Python virtualenv - Stack Overflow

    39 Running deactivate [name of your environment] is able to exit/deactivate from your python environment. Example with python3.6 Windows 10 in PowerShell:

  5. How to determine if Python is running inside a virtualenv?

    Dec 9, 2009 · A Python process can be running in a virtual environment by direct execution of the virtualenv's Python binary (or a script with that binary as its shebang), without ever shell …

  6. What is the use of python-dotenv? - Stack Overflow

    Jan 9, 2017 · Need an example and please explain me the purpose of python-dotenv. I am kind of confused with the documentation.

  7. Conda env vs venv / pyenv / virtualenv / Poetry / Docker, etc

    Apr 13, 2021 · To add a question to the great question and discussion here on pyenv, venv, virtualenv, and virtualenvwrapper, could someone please explain how Conda environments fit …

  8. python - Reading in environment variables from an environment …

    Oct 24, 2016 · 539 I use Python Dotenv Library. Just install the library pip install python-dotenv, create a .env file with your environment variables, and import the environment variables in …

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

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