0
Je ne suis pas capable de faire "importer au hasard" dans python 2.7.5 sur le système d'exploitation AIX. Il jette les exceptions suivantes.Python 2.7.5, l'importation aléatoire est erreur de lancement sur AIX platfrom
Python 2.7.5 (default, Aug 2 2013, 23:28:11) [C] on aix6
Type "help", "copyright", "credits" or "license" for more information.
>>> import random
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
j'ai cherché l'erreur, il dit libssl manque quelqu'un peut me dire comment installer libssl sous AIX.
Quelle version d'AIX utilisez-vous? – Colwin
@Colwin J'utilise AIX 6.1 –