The current 0.4.0 release of rdflib-jsonld still uses rdflib.py3compat which has been removed from the rdflib 5.0.0rc1 so any use of rdflib 5.0.0rc1 with rdflib-jsonld 0.4.0 breaks.
The rdflib.py3compat dependency in rdflib-jsonld has been removed from rdflib-jsonld master so a new release from master will fix this.
The current 0.4.0 release of rdflib-jsonld still uses rdflib.py3compat which has been removed from the rdflib 5.0.0rc1 so any use of rdflib 5.0.0rc1 with rdflib-jsonld 0.4.0 breaks.
The rdflib.py3compat dependency in rdflib-jsonld has been removed from rdflib-jsonld
master
so a new release frommaster
will fix this.