[GIS] Getting No module name exifread error from QGIS Photo2Shape plugin

exifreadphoto2shapeqgis

I had Photo2Shape plugin installed on QGIS 2.4 (Windows 64 bit), following installation of 2.6.1 and an upgrade of the plugin itself Photo2Shape is now broken.

Error message on install is "No module named exifread".

I've done an uninstall of all versions of QGIS, deleted all User folders, and done a clean install of 2.6.1 thinking this would reset all my plugins but they're still there? And Photo2shape still not finding Exifread.

Best Answer

On Windows you do have to install ExifTools manually as mentioned in the other posts above. But I could not get it working without knowing where to install it to.

  1. Download the python library from https://pypi.python.org/pypi/ExifRead

  2. Extract the folder "ExifRead-2.1.1" (the version number may vary) to any location on your harddrive. Although "C:\Program Files\QGIS Wien\apps\Python27\Lib\site-packages" should be prefered.

  3. In the folder "C:\Program Files\QGIS Wien\apps\Python27\Lib\site-packages" (or any other folder that is configured within the QGIS python-path environement) add a new file "exiftools.pth" with just one line of text containing the path to the folder where you extracted the files at step 1 into. You may need admin privileges to do so. In my case that file would contain the following line:

C:\Program Files\QGIS Wien\apps\Python27\Lib\site-packages\ExifRead-2.1.1

  1. Restart QGIS for an update of the pythonpath environement.
Related Question