0

I just installed lunch (with the command "pip install lunch"), but when I run the command "lunch" I just get this error everytime:

Traceback (most recent call last):
  
  File "/usr/bin/lunch", line 41, in <module>

    from lunch import runner

  File "/home/xor/.local/lib/python3.6/site-packages/lunch/runner.py", line 73

    except ImportError, e:
                      ^
SyntaxError: invalid syntax
  • 2
    That's Python 2 syntax. This project was written for Python 2 only, and hasn't been maintained for what looks like about 6 years. Its homepage is a dead URL. Find something else to use. – user2357112 Dec 15 '21 at 09:03
  • Thanks, I have set my default Python to Python 2.7, and it worked. Surprisingly, after I ran it once, it now even works with Python 3 – theboringkid Jul 22 '22 at 09:52

0 Answers0