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
When running the software for the first time, I get this error:
pi@wordclock:~/rpi_wordclock/wordclock_config $ cd ~/rpi_wordclock
sudo python3 wordclock.py
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/flask_restx/api.py", line 21, in
from flask.helpers import _endpoint_from_view_func
ImportError: cannot import name '_endpoint_from_view_func' from 'flask.helpers' (/usr/local/lib/python3.9/dist-packages/flask/helpers.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/rpi_wordclock/wordclock.py", line 17, in
import wordclock_interfaces.web_interface as wciweb
File "/home/pi/rpi_wordclock/wordclock_interfaces/web_interface.py", line 4, i n
from flask_restx import Api, Resource, fields
File "/usr/local/lib/python3.9/dist-packages/flask_restx/init.py", line 5, in
from .api import Api # noqa
File "/usr/local/lib/python3.9/dist-packages/flask_restx/api.py", line 23, in
from flask.scaffold import _endpoint_from_view_func
ModuleNotFoundError: No module named 'flask.scaffold'
Any idea?
The text was updated successfully, but these errors were encountered:
Sidenote:
with Raspbian Bookworm (latest distro at the moment of writting), when trying to run "sudo pip3 install", I always get the error message "error: externally-managed-environment", that's why I've installed Bullseye instead.
Hello,
When running the software for the first time, I get this error:
pi@wordclock:~/rpi_wordclock/wordclock_config $ cd ~/rpi_wordclock
sudo python3 wordclock.py
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/flask_restx/api.py", line 21, in
from flask.helpers import _endpoint_from_view_func
ImportError: cannot import name '_endpoint_from_view_func' from 'flask.helpers' (/usr/local/lib/python3.9/dist-packages/flask/helpers.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/rpi_wordclock/wordclock.py", line 17, in
import wordclock_interfaces.web_interface as wciweb
File "/home/pi/rpi_wordclock/wordclock_interfaces/web_interface.py", line 4, i n
from flask_restx import Api, Resource, fields
File "/usr/local/lib/python3.9/dist-packages/flask_restx/init.py", line 5, in
from .api import Api # noqa
File "/usr/local/lib/python3.9/dist-packages/flask_restx/api.py", line 23, in
from flask.scaffold import _endpoint_from_view_func
ModuleNotFoundError: No module named 'flask.scaffold'
Any idea?
The text was updated successfully, but these errors were encountered: