Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not installing in python3 #6

Open
ttm opened this issue Jan 16, 2016 · 8 comments
Open

not installing in python3 #6

ttm opened this issue Jan 16, 2016 · 8 comments

Comments

@ttm
Copy link

ttm commented Jan 16, 2016

r@K45VM:~/repos/rdflib-web$ sudo python3 setup.py install
Traceback (most recent call last):
File "setup.py", line 66, in
config.update({'src_root': setup_python3()})
File "setup.py", line 15, in setup_python3
for line in open("MANIFEST.in"):
FileNotFoundError: [Errno 2] No such file or directory: 'MANIFEST.in'

I commented line 66 (dummy me). And now the error I get (with either install or uninstall commands) is:

r@K45VM:~/repos/rdflib-web$ sudo python3 setup.py uninstall
Traceback (most recent call last):
File "setup.py", line 64, in
from setuptools import setup
File "/usr/local/lib/python3.4/dist-packages/setuptools/init.py", line 11, in
from setuptools.extension import Extension
File "/usr/local/lib/python3.4/dist-packages/setuptools/extension.py", line 8, in
from .dist import _get_unpatched
File "/usr/local/lib/python3.4/dist-packages/setuptools/dist.py", line 21, in
packaging = pkg_resources.packaging
AttributeError: 'module' object has no attribute 'packaging'

@ttm
Copy link
Author

ttm commented Jan 16, 2016

restored packaging system with:

$ rm `python -c "import pkg_resources; print(pkg_resources.__file__)"`

@white-gecko
Copy link
Member

I get:

$ pip install rdflib-web
Collecting rdflib-web
  Could not find a version that satisfies the requirement rdflib-web (from versions: )
No matching distribution found for rdflib-web

@gromgull
Copy link
Member

gromgull commented Oct 4, 2017

This project is pretty much abandoned. It was created before rdflib worked with python3 (or before I did). It shouldn't be rocket science to make it work in py3, but I will not do it.

@gromgull
Copy link
Member

gromgull commented Oct 4, 2017

By this project, I mean rdflib-web - the rest of rdflib is quite alive!

@gromgull
Copy link
Member

gromgull commented Oct 4, 2017

This was also made quite a few years back - web-dev technology has come quite far since then, I would redo this as a single page app if I were to redo it today.

@white-gecko
Copy link
Member

Cool, thanks for the clarification.

@rwst
Copy link

rwst commented Jan 8, 2021

So which open source solution would a newbie like me choose for setting up a SPARQL web endpoint for a few hundred RDF graphs?

@dotmpe
Copy link
Collaborator

dotmpe commented Mar 23, 2021

I found a partial python3 port at the Y-Digital clone. I made it run with the flask dev server as well. Maybe there is an issue with encoding but initial impression is that it installs and runs well.

pip3 install https://github.com/dotmpe/rdflib-web/archive/master.zip

May offer for PR at later time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants