I am trying to deploy a Python package with pip in a virtual environment on an Ubuntu machine, but have encountered a permission problem. For example:
(TestVirtualEnv)test@testServer:~$ pip install markdown2
ends with:
error: failed to create '/home/test/virtualenvs/TestVirtualEnv/lib/python3.3/site-packages/markdown2.py': Permission denied
I cannot sudo since it will install the package all over the world and not in a virtual environment. I am chown ed site-packages ; ls only directories related to easy_install , pip and setuptools displayed, and nothing related to Markdown.
How to deploy a package in a virtual environment using pip without encountering rights errors?
python pip virtualenv
Arseni Mourzenko Oct 19 '13 at 22:46 2013-10-19 22:46
source share