Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax on launch #39

Open
Orgams opened this issue May 17, 2020 · 1 comment
Open

SyntaxError: invalid syntax on launch #39

Orgams opened this issue May 17, 2020 · 1 comment

Comments

@Orgams
Copy link

Orgams commented May 17, 2020

Hello,

After executing :

python setup.py build
python setup.py install

on launch "twitchy" i have :

  File "/usr/local/bin/twitchy", line 11, in <module>
    load_entry_point('twitchy==3.4.0', 'console_scripts', 'twitchy')()
  File "/home/orgams/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/orgams/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/home/orgams/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/home/orgams/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/dist-packages/twitchy-3.4.0-py2.7.egg/twitchy/__main__.py", line 100
    f' Delete {Colors.YELLOW + i + Colors.ENDC} (y/N) ')

I'm novice with Python, you have a idea ?

@blazingkin
Copy link

Hi, this is probably because python is setup to run python 2 on your system. This looks like its a python 3 script.

Try running with python3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants