django - pyvenv & pip not installing into local site-packages -
i'm test driving django 1.6b, python 3.3.2 (compiled source) , pyvenv ubuntu 12.04.
every time try , install perform pip install [package]
package attempts install globally rather local environment. simple workflow follows:
$ pyvenv environments/roebk
$ source environments/roebk/bin/activate
$ (roebk) pip install south
error: not create '/usr/local/lib/python3.3/site-packages/south': permission denied
i've double checked i'm using correct version of pip.
$ pip -v pip 1.4 /usr/local/lib/python3.3/site-packages/pip-1.4-py3.3.egg (python 3.3)
am missing obvious?
did install setuptools
, pip
environment? virtualenv
installs setuptools
, pip
automatically new environment.
$ virtualenv qwerty new python executable in qwerty/bin/python installing setuptools............done. installing pip...............done. $
according pyvenv docs need install them new environment manually.
common installation tools such distribute , pip work expected venvs - i.e. when venv active, install python packages venv without needing told explicitly. of course, need install them venv first: done running distribute_setup.py venv activated, followed running easy_install pip. alternatively, download source tarballs , run python setup.py install after unpacking, venv activated.
Comments
Post a Comment