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
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\", line 871, in <module>
_inst = Random()
File "t:\win32\python-2.6.1\lib\", line 96, in __init__
File "t:\win32\python-2.6.1\lib\", 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 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.

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


 Accessing python from a network share in windows 7

Thread Tools

Similar help and support threads
Thread Forum
Issue Accessing Share On Windows Server 2003 R2 x64
Hello all, Over the weekend it seems that one of my Windows 7 computers here where I work lost connectivity with our file server. Workstation: Windows 7 Home Premium Pentium Dual Core 3GB RAM Server:
Network & Sharing
accessing windows share on different subnet
Hello My Windows 7 machine runs in the subnet 192.168.1.x (actual IP and there is a Linux machine with windows share (smb or Samba) on a different subnet 192.168.2.x (actual IP There is a router inbetween of course. Before they were on the same subnet and I could...
Network & Sharing
Accessing share folder on win7 machine crashing xp
I asked this question recently, then realized I may have asked in the wrong forum. Here is my problem : trying to access folders shared on a win 7 machine from a win xp machine is causing windows explorer to crash. The issue is intermittent and I can't figure out at all what is causing it. So far I...
Network & Sharing
Accessing xp share drops both wifi connections
Here's a weird one for you experts. Background: I have an XP pro x32 machine on wireless with shared folders, a 7 Ultimate x64 machine (fresh install) on wireless, and Linksys Wireless/wired router (I'll get the model number later, can't remember). I've had the shares on xp set up for a long...
Network & Sharing
Troubles with accessing network share with wireless connection
Hi, I have a laptop (with win 7 home premium) connected wirelessly to the router. I have a server connected (wired) with some shared folders on it. Now, when I try to open the networkshare on my laptop (when I'm connected wireless to the network), it won't work 3/4 of the times I try. But...
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 12:26.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App