Je suis en train de lancer python à partir d'un partage réseau sur Windows 7. Le partage réseau T:Accès python httplib2 sur un partage réseau dans Windows 7
>t:\python-2.6.1\python
Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import httplib2
httplib2\__init__.py:29: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "T:\python-2.6.1\lib\python2.6\site-packages\httplib2\__init__.py", line 36, in <module>
import httplib
File "T:\python-2.6.1\lib\httplib.py", line 77, in <module>
import mimetools
File "T:\python-2.6.1\lib\mimetools.py", line 6, in <module>
import tempfile
File "T:\python-2.6.1\lib\tempfile.py", line 34, in <module>
from random import Random as _Random
File "T:\python-2.6.1\lib\random.py", line 871, in <module>
_inst = Random()
File "T:\python-2.6.1\lib\random.py", line 96, in __init__
self.seed(x)
File "T:\python-2.6.1\lib\random.py", line 110, in seed
a = long(_hexlify(_urandom(16)), 16)
WindowsError: [Error 127] The specified procedure could not be found
Quand je copie python-2.6.1 mon lecteur local ça fonctionne bien. Il fonctionne également très bien sur ma machine Windows XP en utilisant le même partage réseau.
L'erreur spécifique semble certainement inattendue, mais pouvez-vous vérifier si le dernier httplib2 vous donne le même problème? Le fait que vous receviez l'avertissement de dépréciation MD5 suggère que vous êtes sur une version plus ancienne. Peut-être que cela aidera (mais probablement pas). –