Skip to content

Instantly share code, notes, and snippets.

@glw
Last active March 15, 2018 18:52
Show Gist options
  • Save glw/5100315cb51feff5e6363e5aec374085 to your computer and use it in GitHub Desktop.
Save glw/5100315cb51feff5e6363e5aec374085 to your computer and use it in GitHub Desktop.
install pyexiv2 in python virtualenv

Installing pyexiv2 into a virtualenv

exiv2 is already installed via apt-get

download deb package

sudo aptitude download python-pyexiv2 #has libboost-python1.58.0 dependency

my best guess is that this has to be installed on the OS

sudo aptitude install libboost-python1.58.0

extract files and put in current folder

dpkg -x python-pyexiv2_0.3.2-5ubuntu4build2_amd64.deb .

move files into virtualenv

mv usr/lib/python2.7/dist-packages/* ~/.virtualenvs/NEWVIRTUALENV/lib/python2.7/site-packages/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment