rob-metalinkage / django-rdf-io

Simple RDF serialiser/deserialiser to support synching a django model with an external triple-store
Creative Commons Zero v1.0 Universal
37 stars 14 forks source link

Installation : ModuleNotFoundError: No module named 'rdf_io.protocols' #14

Closed AnasGhrab closed 4 years ago

AnasGhrab commented 4 years ago

Hi,

I get the error ModuleNotFoundError: No module named 'rdf_io.protocols' when I run makemigrations for the first time.

I don't know if it's related but as I'm using Django 3.0, I also get the error django 3.0.4 - cannot import name 'python_2_unicode_compatible'; so I have replaced from django.utils.encoding import python_2_unicode_compatible with: from six import python_2_unicode_compatible (as indicaed here https://github.com/pinax/pinax-blog/issues/128).

rob-metalinkage commented 4 years ago

Thanks - just assimilating some updates to support python3 - feel free to generate a pull request. am working on making the post-processing pipeline more flexible now rdflib is under active maintenance again - so please feel free to drop me a line about your requirements and Use Cases if you want any help.

rob-metalinkage commented 4 years ago

commit 9446206e9b06820560d3141c7c5dccd83aae5d40 should have fixed this...

Warning - need to run migrate on new project before installing rdf_io.