Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Accessing python from a network share in windows 7


07 Jan 2010   #1

windows 7
 
 
Accessing python from a network share in windows 7

I access python from a network share. This works fine on XP but on
windows 7 it throws the following error:
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 random


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
Is there some security policy that I need to enable/disable to use
python from a network on windows 7?

It works without any issue on Windows 7 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 Windows 7 that is causing
problem while accessing it over a network share.



My System SpecsSystem Spec
.

07 Jan 2010   #2

 

check following services: ON

  • Computer Browser
  • DHCP Client
  • DNS Client
  • Network Connections
  • Network Location Awareness
  • Remote Procedure Call (RPC)
  • Server
  • TCP/IP Netbios helper
  • Workstation
  • Wireless Zero Configuration
My System SpecsSystem Spec
07 Jan 2010   #3

windows 7
 
 

Thanks for the reply Btrady. I checked the services you mentioned and they are on. Still I get the same error
My System SpecsSystem Spec
.


Reply

 Accessing python from a network share in windows 7




Thread Tools



Similar help and support threads for2: Accessing python from a network share in windows 7
Thread Forum
accessing windows share on different subnet Network & Sharing
Accessing share resources Network & Sharing
Accessing share folder on win7 machine crashing xp Network & Sharing
Windows 7 hangs for a bit when accessing network drive Network & Sharing
Accessing xp share drops both wifi connections Network & Sharing
Troubles with accessing network share with wireless connection Network & Sharing
Permissions issue accessing network share Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:29 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33