timrdf / DataFAQs

LINKED DATA QUALITY REPORTS
41 stars 7 forks source link

rdflib 4 breaks surf #125

Open timrdf opened 11 years ago

timrdf commented 11 years ago

If rdflib 4 is installed, follow this to remove it:

sudo vi /usr/local/lib/python2.6/dist-packages/easy-install.pth # delete the lines
sudo rm -rf /usr/local/lib/python2.6/dist-packages/rdflib-4.0.1-py2.6.egg
sudo rm -rf /usr/local/lib/python2.6/dist-packages/rdfextras-0.4-py2.6.egg

then install the older version that SuRF likes:

sudo easy_install -U rdflib==3.2.1
sudo easy_install -U rdfextras
timrdf commented 10 years ago

See at https://github.com/timrdf/csv2rdf4lod-automation/issues/371, too. Fixed by following https://github.com/RDFLib/rdfextras/issues/42:

edit e.g. /usr/local/lib/python2.7/dist-packages/surf.rdflib-1.0.0_r338-py2.7.egg/surf_rdflib/reader.py

timrdf commented 10 years ago

Also noted at https://github.com/timrdf/DataFAQs/wiki/Errors#surf-depends-on-pre-4-rdflib