mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-08 11:33:55 -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
|
||||
|
||||
This will install the latest development version of pyenv-virtualenv into
|
||||
the `~/.pyenv/plugins/pyenv-virtualenv` directory. From that directory, you
|
||||
can check out a specific release tag. To update pyenv-virtualenv, run `git
|
||||
pull` to download the latest changes.
|
||||
the `~/.pyenv/plugins/pyenv-virtualenv` directory.
|
||||
**Important note:** If you installed pyenv into a non-standard directory, make sure that you clone this
|
||||
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)
|
||||
|
||||
@@ -44,13 +48,13 @@ Or, if you would like to install the latest development release:
|
||||
### Using `pyenv virtualenv` with pyenv
|
||||
|
||||
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
|
||||
virtualenv. For example,
|
||||
`pyenv virtualenv`, specifying the Python version you want and the name
|
||||
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
|
||||
under `~/.pyenv/versions`.
|
||||
will create a virtualenv based on Python 2.7.5
|
||||
under `~/.pyenv/versions` in a folder called `my-virtual-env-2.7.5`.
|
||||
|
||||
|
||||
### Create virtualenv from current version
|
||||
|
||||
Reference in New Issue
Block a user