ImportError: cannot import name 'read_gpickle' from 'networkx'
Closed this issue · 2 comments
Getting this error when attempting to install with "pip install -e" or when attempting to import from create_dictionary (if installed using "pip install mothertongues")
Hi @gmholton - thank you for this. Can you confirm that you are installing from an up-to-date clone? I believe this was fixed by this commit fb40cd5 on Feb 4, so if you haven't pulled recently, that might be the issue. I just pushed that commit to a release, so if you install mothertongues at this specific version it should work: pip install mothertongues==0.18.20230410
. Alternatively, if you update your local version and do an interactive install pip install -e .
that should work too if you have the most recent updates.
Thanks again for posting this! We're in the process of a fairly substantial re-build of the mothertongues library, so if there are any other things you'd like to see, please don't hesitate to let me know. If these steps didn't fix your issue of course let me know and I'll re-open this and try to troubleshoot with you.