You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this software using CircuitPython and I managed to get past an issue, and want to document it here.
Traceback (most recent call last):
File "code.py", line 39, in <module>
File "/lib/prometheus_express/__init__.py", line 4, in <module>
File "/lib/prometheus_express/server.py", line 1, in <module>
ImportError: no module named 'socket'
I got the above error. I was able to go into the /lib folder, and update server.py. I just commented out the: import socket at the top of the file.
As long as you aren't trying to use the built in webserver, than this can work.
The text was updated successfully, but these errors were encountered:
I am trying to use this software using CircuitPython and I managed to get past an issue, and want to document it here.
I got the above error. I was able to go into the
/lib
folder, and updateserver.py
. I just commented out the:import socket
at the top of the file.As long as you aren't trying to use the built in webserver, than this can work.
The text was updated successfully, but these errors were encountered: