Re: Which libraries for Python 2.5.2 [SOLVED]

2011-12-29 Thread W. eWatson

On 12/29/2011 9:44 AM, Ian Kelly wrote:

On Thu, Dec 29, 2011 at 10:04 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com  wrote:

On Thu, 29 Dec 2011 09:54:48 -0500, Dennis Lee Bieber
wlfr...@ix.netcom.com  wrote:

Talking to myself..



   According to the pop-up I get (Win7) when supplying an invalid
argument,


Maybe regsrv32 was rewritten for Win7 64bit -- and assumed folks
would run it from the start dialog (or file search in Win7) since the
error messages do pop-up in windows, even when running in a command
shell.


As far as I know, it's always been like that.
Well, I thought I'd take the PC to a computer shop to see why when I 
move windows they shake a bit.  The technician took about 2 minutes to 
show me uninstalled devices under System Devices. He thought they should 
be fixed. The system was showing lots of device errors. They wanted $75 
to repair it, but I told them a friend who will use the PC will have to 
decide that.


This PC belonged to my wife at one time for 5 years. She had put Linux 
on it, but she no longer needed it. I restored it to XP Home. When I 
told her where the problems were she found a driver DVD, so I'm using it 
now to fill in the gaps. Maybe it'll get by the dll problem. It 
certainly is adding a VGA driver, so I think the window wobbles may get 
fixed.


Well, it now works w/o any difficulty. It was the incomplete install 
that did it. It now has acrobat, wallpaper, etc, like most XP systems. 
No more wobbles! Yea!


Thanks to all that helped.




--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-29 Thread Ian Kelly
On Thu, Dec 29, 2011 at 10:04 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
 On Thu, 29 Dec 2011 09:54:48 -0500, Dennis Lee Bieber
 wlfr...@ix.netcom.com wrote:

        Talking to myself..


       According to the pop-up I get (Win7) when supplying an invalid
argument,

        Maybe regsrv32 was rewritten for Win7 64bit -- and assumed folks
 would run it from the start dialog (or file search in Win7) since the
 error messages do pop-up in windows, even when running in a command
 shell.

As far as I know, it's always been like that.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-29 Thread W. eWatson

On 12/29/2011 6:54 AM, Dennis Lee Bieber wrote:

On Wed, 28 Dec 2011 21:56:59 -0800, W. eWatson
wolftra...@invalid.com  wrote:



It didn't like that either. Got msvcp71.dll was located but the dll
server entry was not found. File could not be registered.

Arguments are /u,/s/i/n.


According to the pop-up I get (Win7) when supplying an invalid
argument,

/n - do not call DllRegisterServer; this option must be used with /i
and that reads
/i - Call DllInstall passing it an optional [cmdline]; when used
with /u calls dll uninstall

So.. If the register server entry point was not found, maybe you
should try with /i/n to make it call the /other/ registration entry
point.

Well, it's worth a try. However, what other entry point.




{And, in line with the other commentators; I don't even use start/run
for the command shell -- I use the shell often enough to have put a
dedicated shortcut on the start menu itself (and have since added
PowerShell shortcuts). Only thing I use start/run with is the registry
editor (regedt32 or regedit) and to start the despised Internet Explorer
(iexplore, which has otherwise been removed from direct mouse access) --
in short; only programs with GUI interfaces get started from start/run}


To keep it simple, I now just enter cmd, and work there.  I'm not 
usually working with these low level operations. Occasionally, I use 
some of the network commands.


--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-29 Thread W. eWatson

On 12/29/2011 9:04 AM, Dennis Lee Bieber wrote:

On Thu, 29 Dec 2011 09:54:48 -0500, Dennis Lee Bieber
wlfr...@ix.netcom.com  wrote:

Talking to myself..

It's the best way to get people to listen to you. :-)




According to the pop-up I get (Win7) when supplying an invalid
argument,


Maybe regsrv32 was rewritten for Win7 64bit -- and assumed folks
would run it from the start dialog (or file search in Win7) since the
error messages do pop-up in windows, even when running in a command
shell.
I'm installing Python on an XP PC that's 5 years old. This PC I'm 
writing from is Win7.

...
--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-28 Thread W. eWatson

On 12/27/2011 7:31 PM, W. eWatson wrote:

On 12/27/2011 6:27 PM, Ian Kelly wrote:

On Tue, Dec 27, 2011 at 6:21 PM, W. eWatsonwolftra...@invalid.com
wrote:

Well, it found several problems. These DLLs
MSVCP1
EFSADU
MSJAVA.


I'm guessing MSVCP1 is a typo for MSVCP71? If that is missing then
that is probably the culprit. That DLL is the C runtime library. It
is supposed to be shipped with applications that need it, but it is so
ubiquitous that it is often assumed to be present or forgotten. You
can download it from
http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71 (or just
find it on another Windows XP PC) and copy it into
C:\Windows\System32. Don't forget to run regsvr32 to register it.

HTH,
Ian

You are very likely right about the spelling. I wrote it down, and
carried it to this PC. Sometimes I can't read my own writing.


...
Well, thing went slightly awry. The link gave me two choices. Download 
msv...dll fixer, and download fixer. I took the latter. However, just 
checking on the other one, found that I got the same exe file. I 
installed it on the XP PC, and pressed what looked like a reasonable 
place to start. It would download the dll, and register it.


Well, it seemed more interested in the registry. It scanned four areas 
of the registry, and found 123 problems in total. To fix them would 
require buying something.


I noticed a large button near the top that said download dll. It found 
one the internet, and guess what? More purchase for the download.


It seems like dll-fixer has a corner on the market.

I found this 
http://pcsupport.about.com/od/findbyerrormessage/a/msvcp71-dll-not-found-missing-error.htm, 
but he almost has too much to say. He issues a warning about getting a 
dll off the web. He does offer this.


Run the sfc /scannow System File Checker command to replace a missing or 
corrupt copy of the msvcp71.dll file. If this DLL file is provided my 
Microsoft, the System File Checker tool should restore it.


I guess I'm missing something here.

OK, I'm borrowing one from my XP laptop. Back later.



--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-28 Thread W. eWatson
A new dilemma. The PC XP in question with Python has the the msvcp71.dll 
file in System32. The one I took off my other laptop has a slightly 
newer one. Feb 2003 vs Aug 2003.


Perhaps the (python PC) has a corrupt one?

--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-28 Thread Ian Kelly
On Wed, Dec 28, 2011 at 9:33 AM, W. eWatson wolftra...@invalid.com wrote:
 Well, thing went slightly awry. The link gave me two choices. Download
 msv...dll fixer, and download fixer. I took the latter. However, just
 checking on the other one, found that I got the same exe file. I installed
 it on the XP PC, and pressed what looked like a reasonable place to start.
 It would download the dll, and register it.

 Well, it seemed more interested in the registry. It scanned four areas of
 the registry, and found 123 problems in total. To fix them would require
 buying something.

 I noticed a large button near the top that said download dll. It found one
 the internet, and guess what? More purchase for the download.

 It seems like dll-fixer has a corner on the market.

Definitely don't download that spamware fixer program -- who knows
what that does?  You want the grey Download zip-file link, not the
not the flashy Download fixer ad links.  Anyway, it sounds like
you've found another copy of the DLL.

If I were you, I would uninstall that fixer ASAP and then run an
anti-malware and anti-virus tool or two, just in case.

 Run the sfc /scannow System File Checker command to replace a missing or
 corrupt copy of the msvcp71.dll file. If this DLL file is provided my
 Microsoft, the System File Checker tool should restore it.

I don't believe it is provided by Microsoft, but it wouldn't hurt to try.

 A new dilemma. The PC XP in question with Python has the the msvcp71.dll
 file in System32. The one I took off my other laptop has a slightly newer
 one. Feb 2003 vs Aug 2003.

Weird.  Try registering the existing dll, try replacing it with the
other one (be sure to back up the original first), etc.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-28 Thread W. eWatson

On 12/28/2011 9:37 AM, Ian Kelly wrote:

On Wed, Dec 28, 2011 at 9:33 AM, W. eWatsonwolftra...@invalid.com  wrote:

Well, thing went slightly awry. The link gave me two choices. Download
msv...dll fixer, and download fixer. I took the latter. However, just
checking on the other one, found that I got the same exe file. I installed
it on the XP PC, and pressed what looked like a reasonable place to start.
It would download the dll, and register it.

Well, it seemed more interested in the registry. It scanned four areas of
the registry, and found 123 problems in total. To fix them would require
buying something.

I noticed a large button near the top that said download dll. It found one
the internet, and guess what? More purchase for the download.

It seems like dll-fixer has a corner on the market.


Definitely don't download that spamware fixer program -- who knows
what that does?  You want the grey Download zip-file link, not the
not the flashy Download fixer ad links.  Anyway, it sounds like
you've found another copy of the DLL.

If I were you, I would uninstall that fixer ASAP and then run an
anti-malware and anti-virus tool or two, just in case.


Run the sfc /scannow System File Checker command to replace a missing or
corrupt copy of the msvcp71.dll file. If this DLL file is provided my
Microsoft, the System File Checker tool should restore it.


I don't believe it is provided by Microsoft, but it wouldn't hurt to try.


A new dilemma. The PC XP in question with Python has the the msvcp71.dll
file in System32. The one I took off my other laptop has a slightly newer
one. Feb 2003 vs Aug 2003.


Weird.  Try registering the existing dll, try replacing it with the
other one (be sure to back up the original first), etc.


I haven't installed the newer version yet, Aug 2003. I thought I'd see 
what happened if I entered sfc /scannow.  Whatever, happened the black 
window flashed by in a split second.


Somehow this doesn't seem helpful 
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/system_file_checker.mspx?mfr=true. 
Although, 20 lines down or so it says:
If sfc discovers that a protected file has been overwritten, it 
retrieves the correct version of the file from the 
%systemroot%\system32\dllcache folder, and then replaces the incorrect 
file.


I'm going to run this by a XP NG.


--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-28 Thread W. eWatson

On 12/28/2011 12:55 PM, W. eWatson wrote:

On 12/28/2011 9:37 AM, Ian Kelly wrote:

On Wed, Dec 28, 2011 at 9:33 AM, W. eWatsonwolftra...@invalid.com
wrote:

Well, thing went slightly awry. The link gave me two choices. Download
msv...dll fixer, and download fixer. I took the latter. However, just
checking on the other one, found that I got the same exe file. I
installed
it on the XP PC, and pressed what looked like a reasonable place to
start.
It would download the dll, and register it.

Well, it seemed more interested in the registry. It scanned four
areas of
the registry, and found 123 problems in total. To fix them would require
buying something.

I noticed a large button near the top that said download dll. It
found one
the internet, and guess what? More purchase for the download.

It seems like dll-fixer has a corner on the market.


Definitely don't download that spamware fixer program -- who knows
what that does? You want the grey Download zip-file link, not the
not the flashy Download fixer ad links. Anyway, it sounds like
you've found another copy of the DLL.

If I were you, I would uninstall that fixer ASAP and then run an
anti-malware and anti-virus tool or two, just in case.


Run the sfc /scannow System File Checker command to replace a missing or
corrupt copy of the msvcp71.dll file. If this DLL file is provided my
Microsoft, the System File Checker tool should restore it.


I don't believe it is provided by Microsoft, but it wouldn't hurt to try.


A new dilemma. The PC XP in question with Python has the the msvcp71.dll
file in System32. The one I took off my other laptop has a slightly
newer
one. Feb 2003 vs Aug 2003.


Weird. Try registering the existing dll, try replacing it with the
other one (be sure to back up the original first), etc.


I haven't installed the newer version yet, Aug 2003. I thought I'd see
what happened if I entered sfc /scannow. Whatever, happened the black
window flashed by in a split second.

Somehow this doesn't seem helpful
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/system_file_checker.mspx?mfr=true.
Although, 20 lines down or so it says:
If sfc discovers that a protected file has been overwritten, it
retrieves the correct version of the file from the
%systemroot%\system32\dllcache folder, and then replaces the incorrect
file.

I'm going to run this by a XP NG.



That certainly didn't help.

I'm going to save the msvcp71.dll from the Python laptop somewhere, then 
insert the one from my other XP laptop. Finally, I'll register it. 
regsvr32. Just to review, I presume not from cmd, but Run?

--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-28 Thread Benjamin Kaplan
On Wed, Dec 28, 2011 at 10:04 PM, W. eWatson wolftra...@invalid.com wrote:
 On 12/28/2011 12:55 PM, W. eWatson wrote:

 On 12/28/2011 9:37 AM, Ian Kelly wrote:

 On Wed, Dec 28, 2011 at 9:33 AM, W. eWatsonwolftra...@invalid.com
 wrote:

 Well, thing went slightly awry. The link gave me two choices. Download
 msv...dll fixer, and download fixer. I took the latter. However, just
 checking on the other one, found that I got the same exe file. I
 installed
 it on the XP PC, and pressed what looked like a reasonable place to
 start.
 It would download the dll, and register it.

 Well, it seemed more interested in the registry. It scanned four
 areas of
 the registry, and found 123 problems in total. To fix them would require
 buying something.

 I noticed a large button near the top that said download dll. It
 found one
 the internet, and guess what? More purchase for the download.

 It seems like dll-fixer has a corner on the market.


 Definitely don't download that spamware fixer program -- who knows
 what that does? You want the grey Download zip-file link, not the
 not the flashy Download fixer ad links. Anyway, it sounds like
 you've found another copy of the DLL.

 If I were you, I would uninstall that fixer ASAP and then run an
 anti-malware and anti-virus tool or two, just in case.

 Run the sfc /scannow System File Checker command to replace a missing or
 corrupt copy of the msvcp71.dll file. If this DLL file is provided my
 Microsoft, the System File Checker tool should restore it.


 I don't believe it is provided by Microsoft, but it wouldn't hurt to try.

 A new dilemma. The PC XP in question with Python has the the msvcp71.dll
 file in System32. The one I took off my other laptop has a slightly
 newer
 one. Feb 2003 vs Aug 2003.


 Weird. Try registering the existing dll, try replacing it with the
 other one (be sure to back up the original first), etc.


 I haven't installed the newer version yet, Aug 2003. I thought I'd see
 what happened if I entered sfc /scannow. Whatever, happened the black
 window flashed by in a split second.

 Somehow this doesn't seem helpful

 http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/system_file_checker.mspx?mfr=true.
 Although, 20 lines down or so it says:
 If sfc discovers that a protected file has been overwritten, it
 retrieves the correct version of the file from the
 %systemroot%\system32\dllcache folder, and then replaces the incorrect
 file.

 I'm going to run this by a XP NG.


 That certainly didn't help.

 I'm going to save the msvcp71.dll from the Python laptop somewhere, then
 insert the one from my other XP laptop. Finally, I'll register it. regsvr32.
 Just to review, I presume not from cmd, but Run?

It should work from either but I prefer to use cmd in case there's an
error message.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-28 Thread Michael Torrie
On 12/28/2011 08:04 PM, W. eWatson wrote:
 I'm going to save the msvcp71.dll from the Python laptop somewhere, then 
 insert the one from my other XP laptop. Finally, I'll register it. 
 regsvr32. Just to review, I presume not from cmd, but Run?

Seems like the bulk of your problems are coming from not using cmd
(flashing black error windows).  Anything non-GUI that could return an
error message should be done from cmd.  The Run dialog is mainly to be
used to launch a cmd window!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-28 Thread W. eWatson

On 12/28/2011 9:09 PM, Michael Torrie wrote:

On 12/28/2011 08:04 PM, W. eWatson wrote:

I'm going to save the msvcp71.dll from the Python laptop somewhere, then
insert the one from my other XP laptop. Finally, I'll register it.
regsvr32. Just to review, I presume not from cmd, but Run?


Seems like the bulk of your problems are coming from not using cmd
(flashing black error windows).  Anything non-GUI that could return an
error message should be done from cmd.  The Run dialog is mainly to be
used to launch a cmd window!

it appears more than just regsvr32 is need. Alone it fails with a msg. 
It needs an argument. I tried


regsvr32 msvcp71.dll

It didn't like that either. Got msvcp71.dll was located but the dll 
server entry was not found. File could not be registered.


Arguments are /u,/s/i/n.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-28 Thread Chris Angelico
On Thu, Dec 29, 2011 at 4:09 PM, Michael Torrie torr...@gmail.com wrote:
 The Run dialog is mainly to be
 used to launch a cmd window!

On any Windows computer that I use, that's strictly true. The only
program I ever Start|Run is cmd.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread Lie Ryan

On 12/28/2011 03:03 AM, W. eWatson wrote:

Here's the traceback.


The traceback seems to imply that matplotlib is not being installed 
properly. Have you tried uninstalling then reinstalling matplotlib?


--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread Ian Kelly
On Tue, Dec 27, 2011 at 9:03 AM, W. eWatson wolftra...@invalid.com wrote:
  File C:\Python25\lib\site-packages\matplotlib\transforms.py, line 34, in
 module
    from matplotlib._path import affine_transform
 ImportError: DLL load failed: The specified module could not be found.

Do you not have the file
C:\Python25\lib\site-packages\matplotlib\_path.pyd?  It's in the
installer archive, so you should be able to just open it up with a zip
program and extract it manually.  If that's missing, then there may be
other things wrong with your installation, though, so I would
recommend a full reinstall.
-- 
http://mail.python.org/mailman/listinfo/python-list


Which libraries for Python 2.5.2

2011-12-27 Thread W. eWatson
I'm trying to restore Python 2.5.2 on an old XP PC for a particular 
application from 4-5 years ago that uses it .


According to the latest manual on it, the following should be installed.

python-2.5.2.msi
PIL-1.1.6.win32-py2.5.exe
numpy-1.1.0-win32-superpack-python2.5.exe
matplotlib-0.98.1.win32-py2.5.exe

When I install them, and try to run the app program, Sentinel.py, some 
part of matplotlib complains (error msgs) and the program quits.


The program begins with:
from Tkinter import *
from numpy import *
import Image
import ImageChops
import ImageTk
import time
import binascii
import tkMessageBox
import tkSimpleDialog
from pylab import plot, xlabel, ylabel, title, show, xticks, bar

I tried numpy-1.2.0 and matplotlib-0.98.3 and had the same difficulty. 
What are wiser choices?


Here's the traceback.

Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit 
(Intel)] on win32

Type copyright, credits or license() for more information.


Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface.  This connection is not visible on any external
interface and no data is sent to or received from the Internet.


IDLE 1.2.2   No Subprocess 

Traceback (most recent call last):
  File C:\Sentinel\Sent_user-20080716.py, line 16, in module

(SEE THIS from the above list of imports, and the from)*---
from pylab import plot, xlabel, ylabel, title, show, xticks, bar
  File C:\Python25\lib\site-packages\pylab.py, line 1, in module
from matplotlib.pylab import *
  File C:\Python25\lib\site-packages\matplotlib\pylab.py, line 206, 
in module

from matplotlib import mpl  # pulls in most modules
  File C:\Python25\lib\site-packages\matplotlib\mpl.py, line 1, in 
module

from matplotlib import artist
  File C:\Python25\lib\site-packages\matplotlib\artist.py, line 4, in 
module
from transforms import Bbox, IdentityTransform, TransformedBbox, 
TransformedPath
  File C:\Python25\lib\site-packages\matplotlib\transforms.py, line 
34, in module

from matplotlib._path import affine_transform
ImportError: DLL load failed: The specified module could not be found.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread W. eWatson

On 12/27/2011 8:42 AM, Lie Ryan wrote:

On 12/28/2011 03:03 AM, W. eWatson wrote:

Here's the traceback.


The traceback seems to imply that matplotlib is not being installed
properly. Have you tried uninstalling then reinstalling matplotlib?


I believe I have, but I'll give it another go.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread W. eWatson

On 12/27/2011 8:53 AM, Ian Kelly wrote:

On Tue, Dec 27, 2011 at 9:03 AM, W. eWatsonwolftra...@invalid.com  wrote:

  File C:\Python25\lib\site-packages\matplotlib\transforms.py, line 34, in
module
from matplotlib._path import affine_transform
ImportError: DLL load failed: The specified module could not be found.


Do you not have the file
C:\Python25\lib\site-packages\matplotlib\_path.pyd?  It's in the
installer archive, so you should be able to just open it up with a zip
program and extract it manually.  If that's missing, then there may be
other things wrong with your installation, though, so I would
recommend a full reinstall.

The path exits. _path.pyd exists.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread Christian Heimes
Am 27.12.2011 17:03, schrieb W. eWatson:
  from matplotlib._path import affine_transform
 ImportError: DLL load failed: The specified module could not be found.

You are missing one or more DLLs that is required to load the _path.pyd
module. You can use http://www.dependencywalker.com/ to track down
missing DLLs.

Christian

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread W. eWatson

On 12/27/2011 8:42 AM, Lie Ryan wrote:

On 12/28/2011 03:03 AM, W. eWatson wrote:

Here's the traceback.


The traceback seems to imply that matplotlib is not being installed
properly. Have you tried uninstalling then reinstalling matplotlib?



I just did, and the results are this:
=
Traceback (most recent call last):
  File C:\Sentinel\Sent_user-20080716.py, line 16, in module
from pylab import plot, xlabel, ylabel, title, show, xticks, bar
  File C:\Python25\lib\site-packages\pylab.py, line 1, in module
from matplotlib.pylab import *
  File C:\Python25\lib\site-packages\matplotlib\pylab.py, line 204, 
in module

from matplotlib import mpl  # pulls in most modules
  File C:\Python25\lib\site-packages\matplotlib\mpl.py, line 1, in 
module

from matplotlib import artist
  File C:\Python25\lib\site-packages\matplotlib\artist.py, line 4, in 
module
from transforms import Bbox, IdentityTransform, TransformedBbox, 
TransformedPath
  File C:\Python25\lib\site-packages\matplotlib\transforms.py, line 
34, in module

from matplotlib._path import affine_transform
ImportError: DLL load failed: The specified module could not be found.
=

I'm suspicious of this line, and maybe even the app program. There may 
have been a change to the code that required the later two versions of 
numpy and matplotlib. In fact, I'm using the later version here, so I'll 
see if I can back up to the first Python app they produced.


from pylab import plot, xlabel, ylabel, title, show, xticks, bar
--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread W. eWatson

...


I'm suspicious of this line, and maybe even the app program. There may
have been a change to the code that required the later two versions of
numpy and matplotlib. In fact, I'm using the later version here, so I'll
see if I can back up to the first Python app they produced.

from pylab import plot, xlabel, ylabel, title, show, xticks, bar


I found what I thought might be the original, but that got changed in a 
later version on July 16, 2008, which became what I continued to use. 
The libs are as in my first post. I looked at the original Python app, 
and it used Python 2.4.2 but sure doesn't use the same lib versions as 
the 2008 version.


The puzzler for me is why I can find numpy and matplotlib on my PC 
slightly latter than shown in the first post. It's like another release 
of the app came later. Unfortunately, I'm stuck on that, since our 
sponsors seem to be out for the entire holiday season.



--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread W. eWatson

On 12/27/2011 10:36 AM, Christian Heimes wrote:

Am 27.12.2011 17:03, schrieb W. eWatson:

  from matplotlib._path import affine_transform
ImportError: DLL load failed: The specified module could not be found.


You are missing one or more DLLs that is required to load the _path.pyd
module. You can use http://www.dependencywalker.com/ to track down
missing DLLs.

Christian

OK, I installed it. Is there an easy way to go to track down this dll. 
There's a Help, but I can't print it from the PC I have it on.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread W. eWatson
I realized that I had a working copy of the app on another XP PC, so I 
looked at what I had installed for Python.


It was not what I had posted the first time. There must have been some 
shift after the July 16, 2008 date. One lib that was missing was scipy.


I just collected the three libs I saw there.

numpy
matplotlib
scipy

Scipy uses as its installer.
scipy-0.6.0.win32-py2.5.exe

I replaced numpy and matplotlib, and added scipy. I still get errors, 
but perhaps because the install order is now wrong. It was

numpy
matplotlib

Does anyone know the right order?

The complaint msgs were very close to what I posted before, and 
matplotlib was again the last of the bunch. DLL for it not found.


Possibly I need the dependencywalker that Christian mentioned.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread Ian Kelly
On Tue, Dec 27, 2011 at 2:35 PM, W. eWatson wolftra...@invalid.com wrote:
 I replaced numpy and matplotlib, and added scipy. I still get errors, but
 perhaps because the install order is now wrong. It was
 numpy
 matplotlib

 Does anyone know the right order?

The order (numpy, scipy, matplotlib) reflects the dependencies, but
since the installers are just fancied-up self-extracting zips, I don't
think it should matter.

 OK, I installed it. Is there an easy way to go to track down this dll.
 There's a Help, but I can't print it from the PC I have it on.

It should be reasonably self-explanatory, I think.  Just start
Dependency Walker, open up the _path.pyd file, and it will show you
the full dependency tree.  Below that is a list of all the modules,
and any missing dependencies should helpfully show up right at the top
of the list.

Note that missing delay-load dependencies (those with an hourglass
icon) are not necessarily problems.  Since the error occurs at
load-time, you're looking for a missing module that would be loaded
immediately.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread W. eWatson

On 12/27/2011 2:58 PM, Ian Kelly wrote:

On Tue, Dec 27, 2011 at 2:35 PM, W. eWatsonwolftra...@invalid.com  wrote:

I replaced numpy and matplotlib, and added scipy. I still get errors, but
perhaps because the install order is now wrong. It was
numpy
matplotlib

Does anyone know the right order?


The order (numpy, scipy, matplotlib) reflects the dependencies, but
since the installers are just fancied-up self-extracting zips, I don't
think it should matter.


OK, I installed it. Is there an easy way to go to track down this dll.
There's a Help, but I can't print it from the PC I have it on.


It should be reasonably self-explanatory, I think.  Just start
Dependency Walker, open up the _path.pyd file, and it will show you
the full dependency tree.  Below that is a list of all the modules,
and any missing dependencies should helpfully show up right at the top
of the list.

Note that missing delay-load dependencies (those with an hourglass
icon) are not necessarily problems.  Since the error occurs at
load-time, you're looking for a missing module that would be loaded
immediately.
I was too timid. When I saw File-Open, I thought I was going to have to 
open a file, thinking what file could it be?


Well, it found several problems. These DLLs
MSVCP1
EFSADU
MSJAVA.

There may be 100 file.

Issues found:
required dependency not found
delay-dependency not found
one nodule unresolved ... missing delay-dependency module

Perhaps the next step is to download a fresh version of matplotlib?
--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread Ian Kelly
On Tue, Dec 27, 2011 at 6:21 PM, W. eWatson wolftra...@invalid.com wrote:
 Well, it found several problems. These DLLs
 MSVCP1
 EFSADU
 MSJAVA.

I'm guessing MSVCP1 is a typo for MSVCP71?  If that is missing then
that is probably the culprit.  That DLL is the C runtime library.  It
is supposed to be shipped with applications that need it, but it is so
ubiquitous that it is often assumed to be present or forgotten.  You
can download it from
http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71 (or just
find it on another Windows XP PC) and copy it into
C:\Windows\System32.  Don't forget to run regsvr32 to register it.

HTH,
Ian
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread W. eWatson

On 12/27/2011 6:27 PM, Ian Kelly wrote:

On Tue, Dec 27, 2011 at 6:21 PM, W. eWatsonwolftra...@invalid.com  wrote:

Well, it found several problems. These DLLs
MSVCP1
EFSADU
MSJAVA.


I'm guessing MSVCP1 is a typo for MSVCP71?  If that is missing then
that is probably the culprit.  That DLL is the C runtime library.  It
is supposed to be shipped with applications that need it, but it is so
ubiquitous that it is often assumed to be present or forgotten.  You
can download it from
http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71 (or just
find it on another Windows XP PC) and copy it into
C:\Windows\System32.  Don't forget to run regsvr32 to register it.

HTH,
Ian
You are very likely right about the spelling. I wrote it down, and 
carried it to this PC. Sometimes I can't read my own writing.


I've never used regsvr32, but I would guess it's entered into the Run 
(simple dialog for MS tools like regedit) selection off the Start menu.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Which libraries for Python 2.5.2

2011-12-27 Thread Dave Angel

On 12/27/2011 10:31 PM, W. eWatson wrote:

On 12/27/2011 6:27 PM, Ian Kelly wrote:

SNIP
http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71 (or just
find it on another Windows XP PC) and copy it into
C:\Windows\System32.  Don't forget to run regsvr32 to register it.

HTH,
Ian
You are very likely right about the spelling. I wrote it down, and 
carried it to this PC. Sometimes I can't read my own writing.


I've never used regsvr32, but I would guess it's entered into the Run 
(simple dialog for MS tools like regedit) selection off the Start menu.


Of course not.  You run it from the same command window (aka DOS box, or 
cmd window) you've been doing all your other testing from.  And like all 
good commands, it has built-in help so you can see what the argument 
list looks like.


--

DaveA

--
http://mail.python.org/mailman/listinfo/python-list