Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need sudo installing with virtualenv #1

Closed
ttback opened this issue Mar 15, 2013 · 2 comments
Closed

Need sudo installing with virtualenv #1

ttback opened this issue Mar 15, 2013 · 2 comments

Comments

@ttback
Copy link

ttback commented Mar 15, 2013

it seems like if I have a django installed, there might be a permission issue, so sudo is required as opposed to what currently states in the doc.

I followed the direction:

  1. Clone the repo
  2. Install Virtualenv
  3. Create and activate Virtualenv
    virtualenv xblock
    source xblock/bin/activate
  4. cd to the repo
  5. pip install -r requirements.txt (no sudo)
    Error: Found existing installation: Django 1.5
    Uninstalling Django:
    OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/Django-1.5-py2.7.egg-info/dependency_links.txt'
@cpennington
Copy link
Contributor

It looks like you have Django installed globally, but at a higher version than xblock is expecting, and that your virtualenv is set up to use system wide packages. Try running the same set of steps, but using virtualenv --no-site-packages xblock when creating the virtualenv.

@ttback
Copy link
Author

ttback commented Mar 15, 2013

Thanks, that resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants