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

Immediately fails on startup (SyntaxError) #23

Open
cmlsharp opened this issue Aug 3, 2015 · 0 comments
Open

Immediately fails on startup (SyntaxError) #23

cmlsharp opened this issue Aug 3, 2015 · 0 comments

Comments

@cmlsharp
Copy link

cmlsharp commented Aug 3, 2015

What I did:

sudo pip install bipython
ipython console &
bipython

This is the traceback:

Traceback (most recent call last):
  File "/usr/bin/bipython", line 9, in <module>
    load_entry_point('bipython==0.1.2', 'console_scripts', 'bipython')()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.4/site-packages/bipython/__init__.py", line 161
    print sys.exc_info()
            ^
   SyntaxError: invalid syntax

EDIT: I saw that you don't support Python 3 yet. However running it under python 2 yielded a different error.

sudo pip2 install bipython
ipython2 console &
bipython

Traceback (most recent call last):
  File "/usr/bin/bipython", line 9, in <module>
    load_entry_point('bipython==0.1.2', 'console_scripts', 'bipython')()
  File "/usr/lib/python2.7/site-packages/bipython/__init__.py", line 1769, in main
    myrepl = URWIDRepl(event_loop, palette, interpreter, config)
  File "/usr/lib/python2.7/site-packages/bipython/__init__.py", line 651, in __init__
    self.ipython = self.connect_ipython_kernel()
  File "/usr/lib/python2.7/site-packages/bipython/__init__.py", line 738, in connect_ipython_kernel
    self.send_ipython = kc.shell_channel.execute
AttributeError: 'ZMQSocketChannel' object has no attribute 'execute'
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

1 participant