novnc / websockify

Websockify is a WebSocket to TCP proxy/bridge. This allows a browser to connect to any application/server/service.
GNU Lesser General Public License v3.0
3.88k stars 768 forks source link

Installing websockify fails due to not finding cffi_modules or setuptools_rust on raspios lite. #547

Closed techmaticsnz closed 1 year ago

techmaticsnz commented 1 year ago

These are the errors I am getting from installing websockify. This is an urgent request as websockify is part of the functional system we've built for video streaming.

UserWarning: Unknown distribution option: 'cffi_modules' ModuleNotFoundError: No module named 'setuptools_rust'

Any help would be appreciated. just learning to use websockify.

Intending on setting up a different python apart from system python to see if we can fix the problem.

techmaticsnz commented 1 year ago

Found a workaround. Indeed installing python3.11 fixed the issue. Was able to build websockify.

CendioOssman commented 1 year ago

Neither of those things are something that's referenced from websockify, so there must have been something odd with Python on that system. I'm glad you were able to find a fix for it.