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

Error import name 'path' from 'importlib_resources' #21

Open
josiah-liew opened this issue Dec 13, 2023 · 1 comment
Open

Error import name 'path' from 'importlib_resources' #21

josiah-liew opened this issue Dec 13, 2023 · 1 comment
Assignees

Comments

@josiah-liew
Copy link

Hello, I'm running into some trouble with 'importlib_resources'. The following error:

Traceback (most recent call last):                                                                   
  File "/home/miniconda3/envs/coidb/bin/coidb", line 7, in <module>                              
    from coidb.__main__ import main                                                                  
  File "/home/miniconda3/envs/coidb/lib/python3.9/site-packages/coidb/__main__.py", line 4, in <module>                                                                                               
    from importlib_resources import path as resource_path                                            
ImportError: cannot import name 'path' from 'importlib_resources' (/home/gs2/miniconda3/envs/coidb/lib/python3.9/site-packages/importlib_resources/__init__.py)

Running on python 3.9 with conda installation. Any help would be great - thank you!

Best,
Josiah

@johnne
Copy link
Collaborator

johnne commented Apr 20, 2024

Hi @josiah-liew ,
Sorry for the late reply. Could you post the output from conda env export here? Most likely this problem could be fixed by running conda upgrade python importlib_resources -n coidb, but it would be interestingt to see the conda package versions where this occurs.

@johnne johnne self-assigned this Apr 20, 2024
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