[Ganz, Will wrote]
> Environment: Win98SE, Python 2.2, ActiveCD dated Feb 2002
> 
> My company blocks 99.999% of Internet access, so I got the ActiveCD to get
> the Python package repository. Copied the directory,
> E:\PPMPackages\PyPPM\2.1 to my local hard drive for convenience/speed. Tried
> to install some modules without success. 
> 
> żAny clues on where to go from here?

First, it looks like you are mixing Python 2.1 packages with Python 2.2
or something.

> E:\PPMPackages\PyPPM\2.1 to my local hard drive for convenience/speed. Tried
                       ^^^
> PPM>install c:\python22\ppd\Numeric.ppd
                       ^^

> ERROR: can not access the specified URL: [Errno socket error] (10054,
> 'Connection reset by peer')

Hrm. PyPPM may still, unnecessarily depend on being able to open a
socket even though you are installing a local package. You could just
work around this problem by trying this:

    - Open the .ppd in your editor. It is an XML file that describes
      where to find the actual package file (the <CODEBASE> tags). This
      should indicate where in the PyPPM\2.1\... tree to get the Windows
      Numeric package. Probably something like:
      packages/Numeric-20.2.0.win32.2.1.zip
    - Unzip that file in a temporary directory.
    - cd into the directory with a setup.py
    - Run this command:
        C:\path\to\Python21\python setup.py install --skip-build

This should install Numeric for you, although this *is* a work around
because PyPPM's registry of installed packages has *not* been updated to
say that Numeric is installed.

Cheers,
Trent

-- 
Trent Mick
[EMAIL PROTECTED]
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to