peter@peter-LIFEBOOK-AH512:~$ apt-cache show python-requests
Package: python-requests
Priority: optional
Section: python
Installed-Size: 248
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian Python Modules Team <email address hidden>
Architecture: all
Source: requests
Version: 2.9.1-3
Depends: python-urllib3 (>= 1.13.1), python:any (<< 2.8), python:any (>= 2.7.5-5~), ca-certificates, python-chardet, python-urllib3 (<< 1.13.2)
Suggests: python-ndg-httpsclient, python-openssl, python-pyasn1
Breaks: httpie (<< 0.9.2)
Filename: pool/main/r/requests/python-requests_2.9.1-3_all.deb
Size: 55552
MD5sum: 8b7ef5daeec5fdf8dbe5ce86d874f9d0
SHA1: ecf947758cab121b6777493994c0909b85a858f9
SHA256: 9c8ece120617d7cb8c7653012756c6a66db7c4b02786e3e6e9b0593222cd6b1d
Description-en: elegant and simple HTTP library for Python2, built for human beings
Requests allow you to send HTTP/1.1 requests. You can add headers, form data,
multipart files, and parameters with simple Python dictionaries, and access
the response data in the same way. It's powered by httplib and urllib3, but
it does all the hard work and crazy hacks for you.
.
Features
.
- International Domains and URLs
- Keep-Alive & Connection Pooling
- Sessions with Cookie Persistence
- Browser-style SSL Verification
- Basic/Digest Authentication
- Elegant Key/Value Cookies
- Automatic Decompression
- Unicode Response Bodies
- Multipart File Uploads
- Connection Timeouts
Description-md5: 3f93f5c41e878a095fe3d86ea9983e58
Homepage: http://python-requests.org
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: edubuntu-desktop-gnome, ubuntustudio-audio, ubuntu-gnome-desktop, ubuntu-sdk, ubuntu-mate-desktop
and
peter@peter-LIFEBOOK-AH512:~$ python -c "import requests; import urllib3; print requests.__version__; print urllib3.__version__"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 53, in <module>
from .packages.urllib3.contrib import pyopenssl
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 73, in <module>
ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
Sorry for the delay, here's the output,
peter@peter- LIFEBOOK- AH512:~ $ apt-cache show python-requests Maintainer: Debian Python Modules Team <email address hidden> ndg-httpsclient , python-openssl, python-pyasn1 r/requests/ python- requests_ 2.9.1-3_ all.deb 8dbe5ce86d874f9 d0 b6777493994c090 9b85a858f9 b8c7653012756c6 a66db7c4b02786e 3e6e9b0593222cd 6b1d 95fe3d86ea9983e 58 python- requests. org /bugs.launchpad .net/ubuntu/ +filebug desktop- gnome, ubuntustudio-audio, ubuntu- gnome-desktop, ubuntu-sdk, ubuntu-mate-desktop
Package: python-requests
Priority: optional
Section: python
Installed-Size: 248
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: all
Source: requests
Version: 2.9.1-3
Depends: python-urllib3 (>= 1.13.1), python:any (<< 2.8), python:any (>= 2.7.5-5~), ca-certificates, python-chardet, python-urllib3 (<< 1.13.2)
Suggests: python-
Breaks: httpie (<< 0.9.2)
Filename: pool/main/
Size: 55552
MD5sum: 8b7ef5daeec5fdf
SHA1: ecf947758cab121
SHA256: 9c8ece120617d7c
Description-en: elegant and simple HTTP library for Python2, built for human beings
Requests allow you to send HTTP/1.1 requests. You can add headers, form data,
multipart files, and parameters with simple Python dictionaries, and access
the response data in the same way. It's powered by httplib and urllib3, but
it does all the hard work and crazy hacks for you.
.
Features
.
- International Domains and URLs
- Keep-Alive & Connection Pooling
- Sessions with Cookie Persistence
- Browser-style SSL Verification
- Basic/Digest Authentication
- Elegant Key/Value Cookies
- Automatic Decompression
- Unicode Response Bodies
- Multipart File Uploads
- Connection Timeouts
Description-md5: 3f93f5c41e878a0
Homepage: http://
Bugs: https:/
Origin: Ubuntu
Supported: 5y
Task: edubuntu-
and
peter@peter- LIFEBOOK- AH512:~ $ python -c "import requests; import urllib3; print requests. __version_ _; print urllib3. __version_ _" lib/python2. 7/dist- packages/ requests/ __init_ _.py", line 53, in <module> urllib3. contrib import pyopenssl lib/python2. 7/dist- packages/ requests/ packages/ urllib3/ contrib/ pyopenssl. py", line 73, in <module> PROTOCOL_ SSLv3: OpenSSL. SSL.SSLv3_ METHOD,
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/
from .packages.
File "/usr/local/
ssl.
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'