tati_alchueyr

SPARQLWrapper branch Python 3 error

Aug 7th, 2013
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.06 KB | None | 0 0
  1. $ mkvirtualenv sparqlwrapper-py3 --python=python3.3
  2.  
  3. $ svn checkout svn://svn.code.sf.net/p/sparql-wrapper/code sparql-wrapper-code
  4.  
  5. $ cd sparql-wrapper-code/branches/python3
  6.  
  7. $ svn log --limit 1
  8. ------------------------------------------------------------------------
  9. r119 | wikier | 2010-06-29 14:27:52 -0300 (Tue, 29 Jun 2010) | 1 line
  10.  
  11. fixed other issue with urllib
  12. ------------------------------------------------------------------------
  13.  
  14. $ python -c "import SPARQLWrapper; print(SPARQLWrapper.__version__)"
  15. 1.4.1
  16.  
  17. $ python setup.py
  18. Traceback (most recent call last):
  19.   File "setup.py", line 2, in <module>
  20.     from ez_setup import use_setuptools
  21.   File "/home/tati/Code/sparql-wrapper-code/branches/python3/ez_setup.py", line 106
  22.     except pkg_resources.VersionConflict, e:
  23.  
  24. # NOTE:
  25. # To fix this issue is quite simple - just replace "except pkg_resources.VersionConflict, e:" by "except pkg_resources.VersionConflict as e:"
  26. # However, as the package available on PYPI doesn't have this bug, it appears the source code on the branch is not up-to-date
Advertisement
Add Comment
Please, Sign In to add comment