editor icon indicating copy to clipboard operation
editor copied to clipboard

Problem running with mod_wsgi

Open tigger04 opened this issue 7 months ago • 12 comments

Hi there, I've been following the installation instructions diligently, but I seem to have run in to a roadblock on first_setup.py:

root@numbas:/srv/www/numbas_editor# source bin/activate
(numbas_editor) root@numbas:/srv/www/numbas_editor# python3 first_setup.py
/srv/www/numbas_editor/first_setup.py:11: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import packaging
Traceback (most recent call last):
  File "/srv/www/numbas_editor/first_setup.py", line 11, in <module>
    from pkg_resources import packaging
ImportError: cannot import name 'packaging' from 'pkg_resources' (/srv/www/numbas_editor/lib/python3.12/site-packages/pkg_resources/__init__.py)

Any advice greatly appreciated!

tigger04 avatar Jul 01 '24 14:07 tigger04