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'? > [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 > > -- You received this message because you are subscribed to the Google Groups "bpython" group. To unsubscribe from this group and stop receiving emails from it, send an email to bpython+unsubscr...@googlegroups.com. To post to this group, send email to bpython@googlegroups.com. Visit this group at https://groups.google.com/group/bpython. For more options, visit https://groups.google.com/d/optout.