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

Replace pkg_resources #592

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Replace pkg_resources #592

merged 2 commits into from
Nov 19, 2024

Conversation

jburel
Copy link
Member

@jburel jburel commented Nov 5, 2024

This PRs allows to install and run OMERO.web with Python 3.12
The following errors happened when attempting to run OMERO.web on Ubuntu 24.04:

File "/opt/omero/web/venv3/lib/python3.12/site-packages/omero/cli.py", line 1677, in loadpath
#11 23.38     exec(f.read(), loc)
#11 23.38   File "<string>", line 24, in <module>

and

39.68   File "/opt/omero/web/venv3/lib/python3.12/site-packages/pipeline/__init__.py", line 1, in <module>
39.68     from pkg_resources import DistributionNotFound, get_distribution
39.68 ModuleNotFoundError: No module named 'pkg_resources'

See ome/omeroweb-install#98

@jburel jburel changed the title Remove pkg Replace pkg_resources Nov 5, 2024
@jburel jburel requested a review from knabar November 5, 2024 01:41
@knabar knabar added this to the 5.28.0 milestone Nov 8, 2024
@knabar knabar merged commit 63d902a into ome:master Nov 19, 2024
10 checks passed
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 this pull request may close these issues.

2 participants