-
Notifications
You must be signed in to change notification settings - Fork 28
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
FuXi==1.4.production fails on "from rdflib.sparql.parser import parse" - ImportError: cannot import name parse #4
Comments
Well, I installed from your GitHub repo here, following the cues on your comment on #1 and everything seems to work. Perhaps my confusion is in trying to understand what may be outdated documentation on the Google Code project wiki for FuXi. I'll leave this ticket open just to give you the chance to acknowledge what happened if you are interested in any more details, but feel free to close this out when you are ready. Thank you. |
Hey, Matthew. It's hard for me to say what the problem is. Unfortunately, I'm still $ python -c "import rdflib.sparql.parser as foo; print foo" $ python -c "import rdflib.sparql.parser as foo; print str(dir(foo))" What happens when you use "from rdflib.sparql.parser import parse" instead -- Chime On Sat, Jun 8, 2013 at 11:36 PM, Matthew A. Russell <
|
Chime - thanks for the response. I think I may have confused you in my initial message below. What I was trying to say in the first part of my message is that the initial error I was receiving was in a fresh virtualenv with nothing more than an "easy_install fuxi==1.4.production" in it, which led to that initial import error. In other words, it seems to be the case that whatever is on PyPI is giving me the problems. In that same environment, if I try the command you suggested, here's what happens: $ python -c "from rdflib.sparql.parser import parse" However, if I go into a clean virtualenv and do a "pip install git+git://github.com/ptwobrussell/FuXi#egg=FuXi-ptwobrussell-github", I end up with a FuXi that seems to work as expected. Does that make sense? On Jun 10, 2013, at 9:55 PM, chimezie notifications@github.com wrote:
|
On Mon, Jun 10, 2013 at 11:05 PM, Matthew A. Russell <
Yes, and thanks for clarifying. See the link below describing changes I https://groups.google.com/forum/?fromgroups#!topic/fuxi-discussion/x_fZn7V0kPM -- Chime |
@ptwobrussell - sorry for any confusion that I've caused you. If you want to use FuXi (as opposed to work on the port), then you should follow Chimezie's recommendations and use it with the "layercake-cake" support package. The code in this repos (https://github.com/RDFLib/FuXi) no longer functions with RDFLib 4 and was only included in the github RDFLib org space as a convenience for anyone interested in contributing to a port. The code's presence here is now clearly a source of confusion, so I will remove the repos from the RDFLib org collection (I'll allow a few days for this discussion to subside). Cheers, Graham. |
Hi - I'm trying to use the latest FuXi from a fresh virtualenv where I've installed rdflib and fuxi in a clean environment, and I'm getting the following error below. I've also included a couple of diagnostic python commands in case they're helpful. Perhaps this is just an issue related to my environment, but i'm not quite sure why it would be the case if I'm in a fresh environment and such a fundamental import is breaking FuXi from even starting. Any advice on what might be happening would be much appreciated.
The text was updated successfully, but these errors were encountered: