I’m a student research assistant trying to install a personal Galaxy instance on my mentor’s desktop computer. The computer is running a fresh installation of Ubuntu Desktop 24.04 LTS. Pip, wheel and Python 3.12.3-dev are also installed. I’m attempting to execute run.sh according to the Get Galaxy instructions.
After celery, celery-beat, and gunicorn start, they keep trying to run from lib2to3.refactor import RefactoringTool, which returns the error ModuleNotFoundError: No module named 'lib2to3'. Eventually all 3 enter a fatal state because of those errors and Galaxy is unable to properly start. I found with some Googling that lib2to3 was removed in Python 3.10, and because of that I’m not sure how to resolve these errors. Here is the last part of the terminal output for reference: