title: How to get urllib3 and requests working with jython 2.7 beta 1?
body: <p>Smart folks,</p>
  
  <p>I would like to use the awesome requests module in my jython program. It installs and runs just fine in python but I cannot get it to install in jython. I have tried both Jython 2.7a2 and 2.7b1 on mac and ubuntu and get the same errors related to urllib3. </p>
  
  <p>First installed ez_setup.py as mentioned in <a href="https://stackoverflow.com/questions/11729842/how-can-i-use-jython-setup-py-install">How can I use jython setup.py install?</a></p>
  
  <p>Then run easy_install from within the jython bin directory results in exception:</p>
  
  <pre><code>NameError: name 'CERT_NONE' is not defined
  gautam-mbp:bin gautam$ ./easy_install requests
  Searching for requests
  Reading http://pypi.python.org/simple/requests/
  Reading http://python-requests.org
  Reading https://github.com/kennethreitz/requests
  Best match: requests 1.1.0
  Downloading http://pypi.python.org/packages/source/r/requests/requests-1.1.0.tar.gz#md5=a0158815af244c32041a3147ee09abf3
  Processing requests-1.1.0.tar.gz
  Running requests-1.1.0/setup.py -q bdist_egg --dist-dir /var/folders/jf/cb2pc45s7d94hd6sndysvyxw0000gn/T/easy_install-MnOao_/requests-1.1.0/egg-dist-tmp-E2Rkg1
  Traceback (most recent call last):
    File "./easy_install", line 7, in &lt;module&gt;
      sys.exit(
    File "/Users/gautam/jython27b1/Lib/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1712, in main
    File "/Users/gautam/jython27b1/Lib/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage
    File "/Users/gautam/jython27b1/Lib/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1712, in &lt;lambda&gt;
  -----------lots of stack trace---------------
    File "setup.py", line 6, in &lt;module&gt;
    File "/var/folders/jf/cb2pc45s7d94hd6sndysvyxw0000gn/T/easy_install-MnOao_/requests-1.1.0/requests/__init__.py", line 52, in &lt;module&gt;
    File "/var/folders/jf/cb2pc45s7d94hd6sndysvyxw0000gn/T/easy_install-MnOao_/requests-1.1.0/requests/utils.py", line 23, in &lt;module&gt;
    File "/var/folders/jf/cb2pc45s7d94hd6sndysvyxw0000gn/T/easy_install-MnOao_/requests-1.1.0/requests/compat.py", line 7, in &lt;module&gt;
    File "/var/folders/jf/cb2pc45s7d94hd6sndysvyxw0000gn/T/easy_install-MnOao_/requests-1.1.0/requests/packages/__init__.py", line 3, in &lt;module&gt;
    File "/var/folders/jf/cb2pc45s7d94hd6sndysvyxw0000gn/T/easy_install-MnOao_/requests-1.1.0/requests/packages/urllib3/__init__.py", line 16, in &lt;module&gt;
    File "/var/folders/jf/cb2pc45s7d94hd6sndysvyxw0000gn/T/easy_install-MnOao_/requests-1.1.0/requests/packages/urllib3/connectionpool.py", line 45, in &lt;module&gt;
    File "/var/folders/jf/cb2pc45s7d94hd6sndysvyxw0000gn/T/easy_install-MnOao_/requests-1.1.0/requests/packages/urllib3/util.py", line 293, in &lt;module&gt;
  NameError: name 'CERT_NONE' is not defined
  </code></pre>
  
  <p>Looks like problem related to urllib3 not working with jython. Appreciate help in getting requests (and urllib3 ) to work on jython. The same error shows up on ubuntu as well. </p>
  
  <p>Thanks
  Gautam</p>