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

ImprtError on Python 3.12 due to missing pkg_resouces #175

Closed
levitsky opened this issue Oct 8, 2024 · 0 comments · Fixed by #179
Closed

ImprtError on Python 3.12 due to missing pkg_resouces #175

levitsky opened this issue Oct 8, 2024 · 0 comments · Fixed by #179

Comments

@levitsky
Copy link
Contributor

levitsky commented Oct 8, 2024

Trying to annotate an SDRF in a fresh 3.12 environment results in:

Traceback (most recent call last):
  File "/home/levitsky/.local/bin/parse_sdrf", line 5, in <module>
    from sdrf_pipelines.parse_sdrf import main
  File "/home/levitsky/.local/share/pipx/venvs/sdrf-pipelines/lib/python3.12/site-packages/sdrf_pipelines/parse_sdrf.py", line 13, in <module>
    from sdrf_pipelines.maxquant.maxquant import Maxquant
  File "/home/levitsky/.local/share/pipx/venvs/sdrf-pipelines/lib/python3.12/site-packages/sdrf_pipelines/maxquant/maxquant.py", line 18, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

The issue occurs because setuptools is not available by default anymore.
Adding setuptools to the dependencies should fix this.

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

Successfully merging a pull request may close this issue.

1 participant