Closed edwardslabs closed 9 years ago
I'm getting the exact same thing. Did you figure out what was going on?
Traceback (most recent call last):
File "/usr/local/bin/cobe", line 9, in <module>
load_entry_point('cobe==2.1.1', 'console_scripts', 'cobe')()
File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources/__init__.py", line 519, in load_entry_point
File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources/__init__.py", line 2630, in load_entry_point
File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources/__init__.py", line 2310, in load
File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources/__init__.py", line 2316, in resolve
File "/usr/local/lib/python2.7/site-packages/cobe/control.py", line 6, in <module>
from . import commands
File "/usr/local/lib/python2.7/site-packages/cobe/commands.py", line 12, in <module>
from .bot import Runner
File "/usr/local/lib/python2.7/site-packages/cobe/bot.py", line 3, in <module>
import irc.client
File "/usr/local/lib/python2.7/site-packages/irc/client.py", line 67, in <module>
from jaraco.util.itertools import always_iterable
ImportError: No module named itertools
Ah! jaraco.util.itertools
is a great clue. Looks like it's a module that the irc library is trying to pull in. I'll dig a little bit.
Excellent, I can reproduce this now too. Thanks for that second trace, @aferriss.
Well, the good news is that a new version of the irc library fixes it. The bad news is that it adds 13 (!) new dependencies to cobe.
Version 2.1.2 has been uploaded to PyPI and should fix this issue. Thanks to both of you!
Thanks Peter, working great now!
I am still having this issue. Any update? I'm a total noob at this, but heres the error I'm getting:
$ cobe init
Traceback (most recent call last):
File "/usr/local/bin/cobe", line 5, in
@BenP51 You're having a different issue (they look similar because all Python tracebacks look similar). You are missing the PyStemmer module, which cobe requires.
When you install cobe with tools like pip install cobe
or easy_install cobe
, it should be pulled in automatically. Try one of those and see if it fixes the issue.
I have done that before, didn't work. Un install cobe and followed what you asked. Still not working.
Date: Fri, 9 Oct 2015 07:39:10 -0700 From: notifications@github.com To: cobe@noreply.github.com CC: benp51@outlook.com Subject: Re: [cobe] No module named itertools (#20)
@BenP51 You're having a different issue (they look similar because all Python tracebacks look similar). You are missing the PyStemmer module, which cobe requires.
When you install cobe with tools like pip install cobe or easy_install cobe, it should be pulled in automatically. Try one of those and see if it fixes the issue.
— Reply to this email directly or view it on GitHub.
I am seeing a strange error:
However from the python console:
The above results is after cloning the master branch and running
$ python setup.py install