PIP/Python

I’m using parrot dedicated 4.14.0-parrot13-amd64, I think its a problem with pip. I downloaded a fresh copy and set it up in a vm, and what I was trying to do worked find. I’m not sure if it’s pip thats broken or pyhton, does anyone have an idea?

this is what happened when I try pip install
Traceback (most recent call last):
File “/usr/local/bin/pip”, line 11, in
load_entry_point(‘pip==9.0.1’, ‘console_scripts’, ‘pip’)()
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 572, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2755, in load_entry_point
return ep.load()
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2408, in load
return self.resolve()
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2414, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/lib/python2.7/dist-packages/pip/init.py”, line 21, in
from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning
File “/usr/lib/python2.7/dist-packages/pip/_vendor/init.py”, line 64, in
vendored(“cachecontrol”)
File “/usr/lib/python2.7/dist-packages/pip/_vendor/init.py”, line 36, in vendored
import(modulename, globals(), locals(), level=0)
File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/init.py”, line 9, in
# See the README file for information on usage and redistribution.
File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/wrapper.py”, line 1, in
File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py”, line 4, in
File “/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/init.py”, line 52, in

File “/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/packages/init.py”, line 59, in

File “/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/packages/init.py”, line 32, in vendored

File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/contrib/pyopenssl.py”, line 47, in
File “/usr/local/lib/python2.7/dist-packages/OpenSSL/init.py”, line 8, in
from OpenSSL import rand, crypto, SSL
File “/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py”, line 118, in
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’

Was trying out autosploit and I got this when using python.
/usr/lib/python2.7/dist-packages/requests/init.py:80: RequestsDependencyWarning: urllib3 (1.22) or chardet (2.1.1) doesn’t match a supported version!
RequestsDependencyWarning)
Traceback (most recent call last):
File “autosploit.py”, line 10, in
import shodan
File “/usr/lib/python2.7/dist-packages/shodan/init.py”, line 2, in
from .client import APIError, Shodan
File “/usr/lib/python2.7/dist-packages/shodan/client.py”, line 12, in
import requests
File “/usr/lib/python2.7/dist-packages/requests/init.py”, line 84, in
from urllib3.contrib import pyopenssl
File “/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py”, line 46, in
import OpenSSL.SSL
File “/usr/local/lib/python2.7/dist-packages/OpenSSL/init.py”, line 8, in
from OpenSSL import rand, crypto, SSL
File “/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py”, line 118, in
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’