2021 Dec 22, 11:26 PM
Hi,
I had the same problem after the last update. I followed the instructions here to change to python 3 but now SIP doesn't work at all. I tried starting it manually and got this:
pi@raspberrypi:~ $ sudo /usr/bin/python3 -u /home/pi/SIP/sip.py
Traceback (most recent call last):
File "/home/pi/SIP/sip.py", line 7, in <module>
from six.moves import range
File "/home/pi/SIP/six.py", line 25, in <module>
import functools
File "/usr/lib/python3.7/functools.py", line 21, in <module>
from collections import namedtuple
File "/usr/lib/python3.7/collections/__init__.py", line 27, in <module>
from reprlib import recursive_repr as _recursive_repr
ImportError: bad magic number in 'reprlib': b'\x03\xf3\r\n'
Any ideas what could be wrong?
Thank you
David
I had the same problem after the last update. I followed the instructions here to change to python 3 but now SIP doesn't work at all. I tried starting it manually and got this:
pi@raspberrypi:~ $ sudo /usr/bin/python3 -u /home/pi/SIP/sip.py
Traceback (most recent call last):
File "/home/pi/SIP/sip.py", line 7, in <module>
from six.moves import range
File "/home/pi/SIP/six.py", line 25, in <module>
import functools
File "/usr/lib/python3.7/functools.py", line 21, in <module>
from collections import namedtuple
File "/usr/lib/python3.7/collections/__init__.py", line 27, in <module>
from reprlib import recursive_repr as _recursive_repr
ImportError: bad magic number in 'reprlib': b'\x03\xf3\r\n'
Any ideas what could be wrong?
Thank you
David