MuGNN icon indicating copy to clipboard operation
MuGNN copied to clipboard

AttributeError: can't set attribute

Open boywaiter opened this issue 2 years ago • 5 comments

Thank you for sharing the code. I tried it but got an error. Could you please give me a hint about it? image

boywaiter avatar Jul 02 '22 13:07 boywaiter

Hi, can you try the rdflib version in the readme file?

acharkq avatar Jul 02 '22 15:07 acharkq

I have pip installed the exact version in the Dependencies part of README.md. 1656810353(1)

boywaiter avatar Jul 03 '22 01:07 boywaiter

Thanks for your attention. Have you solved this error successfully ? Can you please tell me your handling method by any chance?

xinxinzi avatar Feb 08 '23 18:02 xinxinzi

I met the exact same problem and run some tests here: image This test got an identical result as above code : image so I'm thinking maybe there are some package conflict in my env? Is there any chance i can get your detailed package list for comparison?

Vinkinsky avatar Jun 21 '23 09:06 Vinkinsky

For anyone who's still bothered with this error: Inspired by Vinkinsky, I realized there might be problem with package conflicts.

so I'm thinking maybe there are some package conflict in my env? Is there any chance i can get your detailed package list for comparison?

The error occurs in a class defined in site-packages/rdflib/plugins/sparql/parseutils.py that inherits from a class in pyparsing. During the installation of rdflib, the latest version of pyparsing was automatically installed (in my case). Thus downgrading pyparsing via pip uninstall pyparsing and pip install pyparsing==2.4 works for me.

JunzheShen avatar Jul 20 '23 07:07 JunzheShen