On ven, 2008-11-14 at 10:32 -0800, Don Dwiggins wrote: > I'm in the process of moving my projects to Python 2.5 from 2.4. I > still have them both installed, but I've set 2.5 to be the default. It > works fine when using it directly. > > I've just tried building a 2.5-based exe, using the same .spec file I > was using previously. I reran Configure.py under 2.5, and when I use > Build.py on the .spec file, it seems to build OK. However, when I run > the .exe, I get the following traceback: > > > File "<string>", line 15, in <module> > > File "C:\Dwig\Falcon\Tools\Python\PyInstaller\iu.py", line 312, in > > importHook > > mod = _self_doimport(nm, ctx, fqname) > > File "C:\Dwig\Falcon\Tools\Python\PyInstaller\iu.py", line 382, in > > doimport > > mod = director.getmod(nm) > > File "C:\Dwig\Falcon\Tools\Python\PyInstaller\iu.py", line 215, in getmod > > mod = owner.getmod(nm) > > File "C:\Dwig\Falcon\Tools\Python\PyInstaller\iu.py", line 77, in getmod > > mod = imp.load_module(nm, fp, attempt, (ext, mode, typ)) > > ImportError: Module use of python24.dll conflicts with this version of > > Python. > > It seems that I need to find out what module is using python24.dll, but > the traceback doesn't tell me enough. For what it's worth, I only get > this when I have "upx=True"; if I set it False, the exe works without a > problem. For now, I'll leave it False, but I'd like to be able to use > UPX. Any suggestions?
Are you using PyInstaller trunk? This seems a cache coherency problem. PyInstaller caches UPX's compressed binaries within the bincache* directories. There used to be a problem with the cache (it was based on mtime, which is totally wrong on retrospect). On trunk, it uses the md5 signatures of the files, which is obviously much better. -- Giovanni Bajo Develer S.r.l. http://www.develer.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
