New submission from Tom Brennan:
Can't install anything with easy_install or pip. Happens in at least v.0.8 and
0.7.8. (stack trace attached is from 0.7.8)
----------
files: easy_install_stack_trace.txt
messages: 729
nosy: tjb1982
priority: bug
status: unread
title: Jython - easy_install -- ssl_support.py: module has no attribute
'CERT_REQUIRED'
Added file:
http://bugs.python.org/setuptools/file93/easy_install_stack_trace.txt
_______________________________________________
Setuptools tracker <[email protected]>
<http://bugs.python.org/setuptools/issue153>
_______________________________________________
Searching for pip
Reading https://pypi.python.org/simple/pip/
Traceback (most recent call last):
File "/home/tjb1982/jython2.7/bin/easy_install", line 8, in <module>
sys.exit(
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/command/easy_install.py",
line 1978, in main
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/command/easy_install.py",
line 1965, in with_ei_usage
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/command/easy_install.py",
line 1978, in <lambda>
File "/home/tjb1982/jython2.7/Lib/distutils/core.py", line 152, in setup
dist.run_commands()
File "/home/tjb1982/jython2.7/Lib/distutils/core.py", line 152, in setup
dist.run_commands()
File "/home/tjb1982/jython2.7/Lib/distutils/dist.py", line 953, in
run_commands
self.run_command(cmd)
File "/home/tjb1982/jython2.7/Lib/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/command/easy_install.py",
line 373, in run
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/command/easy_install.py",
line 602, in easy_install
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/package_index$py.class",
line 523, in fetch_distribution
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/package_index$py.class",
line 359, in find_packages
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/package_index$py.class",
line 698, in scan_url
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/package_index$py.class",
line 236, in process_url
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/package_index$py.class",
line 639, in open_url
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/package_index$py.class",
line 639, in open_url
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/package_index$py.class",
line 873, in _socket_timeout
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/package_index$py.class",
line 920, in open_with_auth
File "/home/tjb1982/jython2.7/Lib/urllib2.py", line 400, in open
response = self._open(req, data)
File "/home/tjb1982/jython2.7/Lib/urllib2.py", line 417, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/home/tjb1982/jython2.7/Lib/urllib2.py", line 378, in _call_chain
result = func(*args)
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/ssl_support$py.class",
line 175, in https_open
File "/home/tjb1982/jython2.7/Lib/urllib2.py", line 1174, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/home/tjb1982/jython2.7/Lib/urllib2.py", line 1174, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/home/tjb1982/jython2.7/Lib/httplib.py", line 958, in request
self._send_request(method, url, body, headers)
File "/home/tjb1982/jython2.7/Lib/httplib.py", line 992, in _send_request
self.endheaders(body)
File "/home/tjb1982/jython2.7/Lib/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/home/tjb1982/jython2.7/Lib/httplib.py", line 814, in _send_output
self.send(msg)
File "/home/tjb1982/jython2.7/Lib/httplib.py", line 776, in send
self.connect()
File
"/home/tjb1982/jython2.7/Lib/site-packages/setuptools-0.7.8-py2.7.egg/setuptools/ssl_support$py.class",
line 189, in connect
AttributeError: 'module' object has no attribute 'CERT_REQUIRED'
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig