[Python-bugs-list] [ python-Bugs-444129 ] python20 dll not found

noreply@sourceforge.net noreply@sourceforge.net
Tue, 24 Jul 2001 11:14:29 -0700


Bugs item #444129, was opened at 2001-07-24 08:12
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=444129&group_id=5470

Category: Windows
Group: Not a Bug
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Tim Peters (tim_one)
Summary: python20 dll not found

Initial Comment:
after upgrading from 2.0 to 2.1 then to 2.1.1 getting 
error that cant find python20.dll. I completely 
removed all traces of python and did a fresh install 
even modified the registry and removed all instances 
of python and pywin. It is important to note that I 
also removed an re-installed win32all and it failed to 
completely install because this error. Another note 
though python will still run after the error is given 
the win32 extensions fail to load. I am running on 
japaneese version of win2000 but had the same problem 
on the english version(the steps mentioned fixed the 
problem on english version).

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-07-24 11:14

Message:
Logged In: NO 

Okay lets get more specific after installing 2.1.1 on top 
of 2.0 it worked I then uninstalled 2.0 and the error is 
back "python20.dll not found". I ran with -v option and the 
last lib to load before the error is UserDict. If I install 
2.0 then 2.1.1 I seem to be ok with python then but if I 
try to install win32all it complains and fails stating 
incompatible dll message. 
Starting over I have uninstalled everything and re-
installed 2.1.1 and have the same problem.
the command I am running is...
c:\python21\python.exe -v

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-07-24 10:35

Message:
Logged In: NO 

As of my last attempt I was running nothing but BeOpen 
pyhton 2.1.1 (no third party libraries)on a clean system. 
The error occurs when I run python from the command line or 
IDLE. I rolled back to 2.0 then installed 2.1.1 on top of 
it just now and it seemed to fix python. I then installed 
win32all 140 and the install script throws a similar error 
saying "module use of python20.dll conflicts with this 
version of python".

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2001-07-24 10:07

Message:
Logged In: YES 
user_id=31435

Then we need more specific information from you.  I've 
never heard of this and find it difficult to believe that 
anything in the std Python 2.1 distribution requires 
python20.dll.  I just removed all traces of all Pythons 
from my Win2K box, installed a fresh 2.1.1, and ran the std 
test suite to completion without any problems.

Exactly what do you do that triggers a msg about 
python20.dll?  If I can't reproduce it (and so far I 
can't), all we can do is guess.

Do you perhaps have your own customizations in a 
PYTHONSTARTUP file that may be trying to access obsolete 
stuff?

Have you tried running Python with -v to get a trace of 
what it's trying to import?

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-07-24 10:00

Message:
Logged In: YES 
user_id=6380

Sorry to butt in...  Are you perhaps trying to use a third
party extension like PIL or Numeric Python?  Or your own? 
Extensions built for one Python version won't work with
another.

Can you tell us exactly what you did that gave the error
message?  Preferably with the path to the executable that
you are trying to run that gives the exception.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-07-24 09:54

Message:
Logged In: NO 

I am in fact not using the wrong version of win32all, the 
problem occurs prior to the install of the extensions. And 
it is correct that the 2.0 dll's are not installed and 
python2.1.1 (or 2.1) is complaining about it. I originaly 
thought the same thing so I removed win32all and 
python2.1.1 unloaded the dll's and re-installed 2.1.1 prior 
to re-installing win32all I got the same errors.

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2001-07-24 09:34

Message:
Logged In: YES 
user_id=31435

It sounds like you're trying to use Python 2.1.1 with a 
version of win32all built for 2.0.  If so, you can't do 
that -- Python 2.1.x supplies python21.dll, not 
python20.dll.

Go to ActiveState's site and either install ActivePython 
from them (which comes with a matched set of components), 
or get build 140 of win32all.exe from them (which was built 
to work with Python 2.1 -- but won't work with Python 2.0).

Feel free to reopen this bug report if that doesn't solve 
it.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=444129&group_id=5470