Worked before ubuntu upgrade not anymore – errors

Hello. The plugin worked like a charm with Ubuntu 12.04 LTS Server and nagios 3.5. I decided to upgrade to Ubuntu 14.04.02 LTS (and then possibly to Nagios 4) but right after the upgrade the plugin started producing errors. When I try this on the command line:
./check_esxi_hardware.py -H hostname -U root -P password -V hp
Traceback (most recent call last):
File “./check_esxi_hardware.py”, line 619, in
instance_list = wbemclient.EnumerateInstances(classe)
File “/usr/lib/pymodules/python2.7/pywbem/cim_operations.py”, line 421, in EnumerateInstances
**params)
File “/usr/lib/pymodules/python2.7/pywbem/cim_operations.py”, line 183, in imethodcall
no_verification = self.no_verification)
File “/usr/lib/pymodules/python2.7/pywbem/cim_http.py”, line 268, in wbem_request
h.endheaders()
File “/usr/lib/python2.7/httplib.py”, line 969, in endheaders
self._send_output(message_body)
File “/usr/lib/python2.7/httplib.py”, line 829, in _send_output
self.send(msg)
File “/usr/lib/pymodules/python2.7/pywbem/cim_http.py”, line 115, in send
self.connect()
File “/usr/lib/pymodules/python2.7/pywbem/cim_http.py”, line 167, in connect
except ( Err.SSLError, SSL.SSLError, SSL.SSLTimeoutError
AttributeError: ‘module’ object has no attribute ‘SSLTimeoutError’

Any ideas?
I have found similar problems reported elsewhere some are refering to failed module imports. I can’t say I know my way around Python but I am willing to try.