failed to start bpython

24 views
Skip to first unread message

John Zhao

unread,
Apr 3, 2016, 4:59:08 AM4/3/16
to bpython
I installed latest version of bpython successfully, but failed to start it, see error below.

Can experts help?

Thanks,

John


[centos@dev01 ~]$ python --version
Python 2.7.9
[centos@dev01 ~]$ ls -l /usr/lib/python2.7/site-packages| grep curtsies
drwx------.  2 root root   4096 Apr  1 19:38 curtsies
drwx------.  2 root root   4096 Apr  1 19:38 curtsies-0.2.6.dist-info
[centos@dev01 ~]$ export PYTHONPATH=/usr/local/lib/python2.7/site-packages/:$PYTHONPATH
[centos@dev01 ~]$ bpython
Traceback (most recent call last):
  File "/usr/bin/bpython", line 7, in <module>
    from bpython.curtsies import main
ImportError: No module named bpython.curtsies

Sebastian Ramacher

unread,
Sep 21, 2016, 8:57:09 AM9/21/16
to bpython


On Sunday, April 3, 2016 at 10:59:08 AM UTC+2, John Zhao wrote:
I installed latest version of bpython successfully, but failed to start it, see error below.

Can experts help?

Thanks,

John


[centos@dev01 ~]$ python --version
Python 2.7.9
[centos@dev01 ~]$ ls -l /usr/lib/python2.7/site-packages| grep curtsies
drwx------.  2 root root   4096 Apr  1 19:38 curtsies
drwx------.  2 root root   4096 Apr  1 19:38 curtsies-0.2.6.dist-info
[centos@dev01 ~]$ export PYTHONPATH=/usr/local/lib/python2.7/site-packages/:$PYTHONPATH

There seems to be an extra local. Can you share your sys.path, i.e. python -c 'import sys; print sys.path'?
 
Reply all
Reply to author
Forward
0 new messages