You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Freshly installing mygene.info I recived the following error:
Traceback (most recent call last):
File "/home/runner/work/gene-benchmark/gene-benchmark/scripts/tasks_retrieval/gene2gene_task_creation.py", line 25, in <module>
from gene_benchmark.tasks import dump_task_definitions
File "/home/runner/work/gene-benchmark/gene-benchmark/gene_benchmark/tasks.py", line 12, in <module>
from gene_benchmark.descriptor import (
File "/home/runner/work/gene-benchmark/gene-benchmark/gene_benchmark/descriptor.py", line 5, in <module>
import mygene
File "/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/mygene/__init__.py", line 6, in <module>
from biothings_client import alwayslist, get_client
ImportError: cannot import name 'alwayslist' from 'biothings_client' (/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/biothings_client/__init__.py)
The fresh installation uses biothings_client version 0.4.0, released on 2025/01/10). once I downgraded the biothings_client to the previous version (v0.3.1 released on 2023/11/13) the error stopped.
The text was updated successfully, but these errors were encountered:
Hey @yoavkt thanks for the report. I believe the repository you were utilizing is this one with a similar name. I just released an update to the biothings-client. This should fix the issues you are seeing, but if not let me know. I would also recommend in the future migrating to the biothings-client package as we will likely deprecate the mygene.py repository in the future. If anything comes up please let me know and I'll attempt to address it. Linking the parallel issue in that repository as well
Freshly installing mygene.info I recived the following error:
The fresh installation uses biothings_client version 0.4.0, released on 2025/01/10). once I downgraded the biothings_client to the previous version (v0.3.1 released on 2023/11/13) the error stopped.
The text was updated successfully, but these errors were encountered: