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

intermine and Python 3.10 #96

Open
jburel opened this issue May 16, 2023 · 1 comment
Open

intermine and Python 3.10 #96

jburel opened this issue May 16, 2023 · 1 comment

Comments

@jburel
Copy link

jburel commented May 16, 2023

Using the Python API with Python 3.10 leads to the following error

from intermine.webservice import Service
Traceback (most recent call last):
  File "/Users/jmarie/opt/anaconda3/envs/intermine-test/lib/python3.10/site-packages/intermine/webservice.py", line 9, in <module>
    from urlparse import urlparse
ModuleNotFoundError: No module named 'urlparse'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/jmarie/opt/anaconda3/envs/intermine-test/lib/python3.10/site-packages/intermine/webservice.py", line 16, in <module>
    from collections import MutableMapping as DictMixin
ImportError: cannot import name 'MutableMapping' from 'collections' (/Users/jmarie/opt/anaconda3/envs/intermine-test/lib/python3.10/collections/__init__.py)

No problem with Python version <3.10

@EvanDietzMorris
Copy link

We are also having issues due to this, which #97 would fix.

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

2 participants