pteichman / cobe

A Markov chain based text generation library and MegaHAL style chatbot
http://teichman.org/blog/
MIT License
239 stars 51 forks source link

Pypi Install Error #13

Closed ghost closed 10 years ago

ghost commented 10 years ago

The pip install cobe is not working as a dependency can not be installed

pteichman commented 10 years ago

That's odd, what is failing? It works out of the box here with Python 2.7.5 and an empty virtualenv.

ghost commented 10 years ago

Not for me :worried:

10printhello commented 10 years ago

I've having difficulty installing using pip. Error below:

Downloading/unpacking python-irclib==0.4.8 (from cobe) Error <urlopen error [Errno 1] _ssl.c:507: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure> while getting https://github.com/downloads/pteichman/python-irclib/python-irclib-0.4.8.zip (from https://github.com/pteichman/python-irclib/downloads) Cleaning up... Exception: Traceback (most recent call last): File "/Users/stuart.mainwaring/Documents/Personal/Cobe/venv/lib/python2.7/site-packages/pip/basecommand.py", line 134, in main status = self.run(options, args) File "/Users/stuart.mainwaring/Documents/Personal/Cobe/venv/lib/python2.7/site-packages/pip/commands/install.py", line 236, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/Users/stuart.mainwaring/Documents/Personal/Cobe/venv/lib/python2.7/site-packages/pip/req.py", line 1092, in prepare_files self.unpack_url(url, location, self.is_download) File "/Users/stuart.mainwaring/Documents/Personal/Cobe/venv/lib/python2.7/site-packages/pip/req.py", line 1238, in unpack_url retval = unpack_http_url(link, location, self.download_cache, self.download_dir) File "/Users/stuart.mainwaring/Documents/Personal/Cobe/venv/lib/python2.7/site-packages/pip/download.py", line 602, in unpack_http_url resp = _get_response_from_url(target_url, link) File "/Users/stuart.mainwaring/Documents/Personal/Cobe/venv/lib/python2.7/site-packages/pip/download.py", line 638, in _get_response_from_url resp = urlopen(target_url) File "/Users/stuart.mainwaring/Documents/Personal/Cobe/venv/lib/python2.7/site-packages/pip/download.py", line 176, in call response = self.get_opener(scheme=scheme).open(url) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 442, in error result = self._call_chain(_args) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(_args) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 629, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 404, in open response = self._open(req, data) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 422, in _open '_open', req) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/Users/stuart.mainwaring/Documents/Personal/Cobe/venv/lib/python2.7/site-packages/pip/download.py", line 155, in https_open return self.do_open(self.specialized_conn_class, req) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1184, in do_open raise URLError(err) URLError: <urlopen error [Errno 1] _ssl.c:507: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>

ghost commented 10 years ago

yup, I am getting the same as well

10printhello commented 10 years ago

So it does work if you build it from the tar (alternative installations instructions) but not using pip

ghost commented 10 years ago

yup