If i try to launch cinnamon-settings from the terminal, i get a python traceback:
Code: Select all
nighthawk@mintlord:~$ cinnamon-settings
Using pam module (python3-pampy)
Traceback (most recent call last):
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 730, in <module>
window = MainWindow()
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 309, in __init__
for module in modules:
File "/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py", line 10, in <module>
import pexpect
File "/home/nighthawk/.local/lib/python3.7/site-packages/pexpect/__init__.py", line 75, in <module>
from .pty_spawn import spawn, spawnu
File "/home/nighthawk/.local/lib/python3.7/site-packages/pexpect/pty_spawn.py", line 14, in <module>
from .spawnbase import SpawnBase
File "/home/nighthawk/.local/lib/python3.7/site-packages/pexpect/spawnbase.py", line 224
def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
^
SyntaxError: invalid syntax
I'm running LMDE 4. I don't exactly know what triggered this issue, but it suddenly started occurring. I had updated and installed a bunch of packages and pip modules, I don't exactly remember the names of all of them. Any help regarding this issue will be greatly appreciated. I will provide any logs/output required if needed.