mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-10 04:23:53 -05:00
20
README.md
20
README.md
@@ -18,9 +18,13 @@ Installing pyenv-virtualenv as a pyenv plugin will give you access to the
|
|||||||
$ git clone git://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
|
$ git clone git://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
|
||||||
|
|
||||||
This will install the latest development version of pyenv-virtualenv into
|
This will install the latest development version of pyenv-virtualenv into
|
||||||
the `~/.pyenv/plugins/pyenv-virtualenv` directory. From that directory, you
|
the `~/.pyenv/plugins/pyenv-virtualenv` directory.
|
||||||
can check out a specific release tag. To update pyenv-virtualenv, run `git
|
**Important note:** If you installed pyenv into a non-standard directory, make sure that you clone this
|
||||||
pull` to download the latest changes.
|
repo into the 'plugins' directory of wherever you installed into.
|
||||||
|
|
||||||
|
From inside that directory you can:
|
||||||
|
- Check out a specific release tag.
|
||||||
|
- Get the latest development release by running `git pull` to download the latest changes.
|
||||||
|
|
||||||
### Installing with Homebrew (for OS X users)
|
### Installing with Homebrew (for OS X users)
|
||||||
|
|
||||||
@@ -44,13 +48,13 @@ Or, if you would like to install the latest development release:
|
|||||||
### Using `pyenv virtualenv` with pyenv
|
### Using `pyenv virtualenv` with pyenv
|
||||||
|
|
||||||
To create a virtualenv for the Python version use with pyenv, run
|
To create a virtualenv for the Python version use with pyenv, run
|
||||||
`pyenv virtualenv` with tha exact name of the version you want to create
|
`pyenv virtualenv`, specifying the Python version you want and the name
|
||||||
virtualenv. For example,
|
of the virtualenv directory. For example,
|
||||||
|
|
||||||
$ pyenv virtualenv 2.7.5 venv27
|
$ pyenv virtualenv 2.7.5 my-virtual-env-2.7.5
|
||||||
|
|
||||||
virtualenvs will be created into a directory of the same name
|
will create a virtualenv based on Python 2.7.5
|
||||||
under `~/.pyenv/versions`.
|
under `~/.pyenv/versions` in a folder called `my-virtual-env-2.7.5`.
|
||||||
|
|
||||||
|
|
||||||
### Create virtualenv from current version
|
### Create virtualenv from current version
|
||||||
|
|||||||
Reference in New Issue
Block a user