Acceesing python httplib2 over a network share in windows 7

Discussion in 'Python' started by aj, Dec 18, 2009.

  1. aj

    aj Guest

    I am trying to run python from a network share on windows 7.
    The network share is 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


    When I copy python-2.6.1 to my local drive it works fine. It also
    works fine on my windows XP machine using the same network share.
    aj, Dec 18, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. CES
    Replies:
    1
    Views:
    542
  2. Gilles Ganault

    Proxy + cookie: urllib2? httplib2? Other?

    Gilles Ganault, Nov 14, 2008, in forum: Python
    Replies:
    1
    Views:
    683
    Gilles Ganault
    Nov 14, 2008
  3. Mauro Zaccariotto

    httplib2 download forbidden

    Mauro Zaccariotto, Oct 5, 2011, in forum: Python
    Replies:
    1
    Views:
    139
    Mauro Zaccariotto
    Oct 6, 2011
  4. CES
    Replies:
    1
    Views:
    226
  5. Saraswati lakki
    Replies:
    0
    Views:
    1,317
    Saraswati lakki
    Jan 6, 2012
Loading...

Share This Page