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
File "headlesspi.py", line 10, in <module>
from utils import netlink
File "/home/pi/headlesspi/utils/netlink.py", line 5, in <module>
from time import time_ns
I replaced line 5 with import time, which took me further through the application.
But then I got another error (reporting separately)
The text was updated successfully, but these errors were encountered:
It sounds like you may be running the script from the command line with Python 2 instead of Python 3, and this code is Python3-specific. The command should be
Hi there,
Running Python 3.5.3 on Raspian "Stretch"
I get this error when running headlesspi.py:
ImportError: cannot import name 'time_ns'
Traceback:
I replaced line 5 with
import time
, which took me further through the application.But then I got another error (reporting separately)
The text was updated successfully, but these errors were encountered: