2023 Aug 25, 03:55 PM
(2023 Aug 24, 07:45 PM)dan Wrote:(2023 Aug 24, 03:34 PM)astrogerard Wrote: On Python 3.7.3 there is an issue with importlib metadata. SIP will not start due to the absence of importlib (with metadata) and/or importlib_metadata.
I couldn't find an apt package to install the required lib.
--Gerard
I had to downgrade the version of cheroot to 8.6.0 so it will run under Python 3.7.3.
It seems to be working now.
Dan
Hi Dan,
Tried again but unfortunately it gives another blocking error.
Code:
Traceback (most recent call last):
File "sip.py", line 331, in <module>
app.run()
File "sip.py", line 250, in run
return web.httpserver.runsimple(func, (ip, port))
File "/home/sip/SIP/web/httpserver.py", line 167, in runsimple
server = WSGIServer(server_address, func)
File "/home/sip/SIP/web/httpserver.py", line 188, in WSGIServer
from cheroot import wsgi
ImportError: cannot import name 'wsgi' from 'cheroot' (unknown location)
At the moment I haven't time to take a deeper dive in this. Hopefully in a few weeks there are some weeks less busy so I can do more on SIP.
--Gerard