gpt4 book ai didi

python - 在 Windows 7 中通过网络共享访问 python httplib2

转载 作者:太空宇宙 更新时间:2023-11-04 06:31:35 25 4
gpt4 key购买 nike

我正在尝试从 Windows 7 上的网络共享运行 python。网络份额为T:

>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

当我将 python-2.6.1 复制到我的本地驱动器时,它工作正常。它在使用相同网络共享的 Windows XP 机器上也能正常工作。

最佳答案

彼得,当我将 python-2.6.1 从网络共享复制到我的本地驱动器时,它工作正常。它在使用相同网络共享的 Windows XP 机器上也能正常工作。

关于python - 在 Windows 7 中通过网络共享访问 python httplib2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1931353/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com