Skip to content

Python 3.3 venv #529

Open
Open
@heydonovan

Description

@heydonovan

I'm still learning Python, so I could be way off here. It's from my understanding that virtualenv was a standalone package, and now Python 3 has it built-in? I didn't see that in the guide, but people online seem to repeat this information. For example: http://askubuntu.com/a/353903

This would be in reference to this page: http://docs.python-guide.org/en/latest/dev/virtualenvs/

Activity

cclauss

cclauss commented on Mar 11, 2017

@cclauss
Contributor

From Python 3.6 docs:

Note

The pyvenv script has been deprecated as of Python 3.6 in favor of using python3 -m venv to help prevent any potential confusion as to which Python interpreter a virtual environment will be based on.
28.3.1. Creating virtual environments

Creation of virtual environments is done by executing the command venv:

$ python3 -m venv /path/to/new/virtual/environment
$ source /path/to/new/virtual/environment/bin/activate

jhermann

jhermann commented on Feb 7, 2020

@jhermann
Contributor

#1034 should cover this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Python 3.3 venv · Issue #529 · realpython/python-guide