Skip to content

Instantly share code, notes, and snippets.

@ilyash
Last active January 1, 2016 03:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ilyash/8088696 to your computer and use it in GitHub Desktop.
Python - copy system package to virtualenv (example)
tar -h -C /usr/lib/python2.7/dist-packages -czf netaddr.tgz netaddr netaddr-0.7.10.egg-info
tar -C $VIRTUAL_ENV/lib/python2.7/site-packages/ -xzf netaddr.tgz
@ilyash
Copy link
Author

ilyash commented Dec 22, 2013

Used it when "pip install netaddr" failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment