[FONT=Courier, Monospaced]I access python from a network share. This works fine on XP but on
windows 7 it throws the following error:
[/FONT][FONT=Courier, Monospaced]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.
[/FONT]
[FONT=Courier, Monospaced]>>> import random
[/FONT]
[FONT=Courier, Monospaced]Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "t:\win32\python-2.6.1\lib\random.py", line 871, in <module>
_inst = Random()
File "t:\win32\python-2.6.1\lib\random.py", line 96, in __init__
self.seed(x)
File "t:\win32\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
[/FONT][FONT=Courier, Monospaced]Is there some security policy that I need to enable/disable to use
python from a network on windows 7?
[/FONT][FONT=Courier, Monospaced]It works without any issue on win7 if I copy python to my local drive.
Also, accessing python from the same network share works fine on win
XP. So I am suspecting some security policy of win7 that is causing
problem while accessing it over a network share.
[/FONT]
windows 7 it throws the following error:
[/FONT][FONT=Courier, Monospaced]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.
[/FONT]
[FONT=Courier, Monospaced]>>> import random
[/FONT]
[FONT=Courier, Monospaced]Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "t:\win32\python-2.6.1\lib\random.py", line 871, in <module>
_inst = Random()
File "t:\win32\python-2.6.1\lib\random.py", line 96, in __init__
self.seed(x)
File "t:\win32\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
[/FONT][FONT=Courier, Monospaced]Is there some security policy that I need to enable/disable to use
python from a network on windows 7?
[/FONT][FONT=Courier, Monospaced]It works without any issue on win7 if I copy python to my local drive.
Also, accessing python from the same network share works fine on win
XP. So I am suspecting some security policy of win7 that is causing
problem while accessing it over a network share.
[/FONT]
My Computer
- OS
- windows 7