9 Mar 2011 16:33
Re: Re: can't start any guiqwt examples
Stefan, I was also having the same issue when using PyQt4. For example, from PyQt4 import QtCore was throwing a DLL load error. I found the following web post and did what it said and things seemed to work. <http://stackoverflow.com/questions/2140836/pyqt-4-7-importerror-after-installing-on-windows> Should I submit a bug report for this or is this PyQt4 issue? On Fri, Dec 3, 2010 at 8:04 AM, Stefan <st_clauss@...> wrote: > Hi Pierre. > > I installed Python(x,y) with a full installer after some previous installs. > But i tried to deinstall all Python and Python(x,y) stuff before it. > >> from PyQt4 import QtCore > > and >> >> print QtCore.PYQT_VERSION_STR > > gives: > 4.5.4 > > I found a file: post_install.log in site-packages\guiqwt with the Content: > > -------------------------------------------------------------------------------- > > Python(x,y) post-install log (xyinstall 1.0.3) > > Module name: d:\Python26\Scripts\guiqwt_win_post_install.py > > Wed Dec 01 11:00:29 2010 > > -------------------------------------------------------------------------------- > > > > > Adding 1 scripts... > Traceback (most recent call last): > File "d:\Python26\Scripts\guiqwt_win_post_install.py", line 5, in <module> > xyinstall.main(__file__, sys.argv, scripts=['guiqwt-tests']) > File "d:\Python26\lib\site-packages\xyinstall.py", line 212, in main > prefs=prefs, other=other) > File "d:\Python26\lib\site-packages\xyinstall.py", line 184, in install > install_scripts(scriptlist) > File "d:\Python26\lib\site-packages\xyinstall.py", line 167, in > install_scripts > shutil.copy(raw, py) > File "d:\Python26\lib\shutil.py", line 88, in copy > copyfile(src, dst) > File "d:\Python26\lib\shutil.py", line 52, in copyfile > fsrc = open(src, 'rb') > IOError: [Errno 2] No such file or directory: > 'd:\\Python26\\Scripts\\guiqwt-tests' > > maybe it will help. > > On the other side i can run some qwt-Examples (from the PyQwt webside) but > no guiqwt ones. > > After changing "baseplot.py" to the attached version it works. ;) I don't > know why!??? > If you, i would like to be informed. > > Cheers, Stefan > > > > Am 02.12.2010, 13:27 Uhr, schrieb Pierre Raybaut <contact@...>: > >> I see. It should not happen, in theory, when installing Python(x,y) on >> a clean Windows installation (however, a Windows installation is never >> clean except a few seconds after being installed from scratch). >> >> How did you install Python(x,y): >> 1. after uninstalling all Python-related software on your machine >> 2. on top of an existing Python(x,y) installation: >> a. with the Full installer which asked you if you agreed to remove >> the previous Python(x,y) installation >> b. with Python(x,y) update installers >> 3. on top of an existing non-Python(x,y) installation >> >> If an existing Python installation was there before installing >> Python(x,y) 2.6.5.5, have you upgraded PyQt4 to a more recent version >> than 4.5.4? (PyQt4 v4.5.4 official binary release is the only version >> compatible with PyQwt 5.2.0 official binary release) >> To check this, open a Python interpreter, and type the following: >> from PyQt4 import QtCore >> print QtCore.PYQT_VERSION_STR >> >> Pierre >> >> On Dec 2, 10:54 am, Stefan <st_cla...@...> wrote: >>> >>> Hi Pierre, >>> thanks for your fast reply. >>> The last Error i got in both cases: >>> >>> File "d:\Python26\lib\site-packages\PyQt4\Qwt5\__init__.py", line 32, >>> in <module> >>> from Qwt import * >>> ImportError: DLL load failed: Die angegebene Prozedur wurde nicht >>> gefunden. >>> >>> Cheers, Stefan >>> >>> Am 02.12.2010, 10:07 Uhr, schrieb Pierre Raybaut <cont...@...>: >>> >>> >>> >>> > Hi Stefan, >>> >>> > Could you please try to run the test launcher or one of these examples >>> > from a console? >>> > From the C:\Python26\Lib\site-packages\guiqwt\tests directory: >>> > * to run the test launcher: >>> > python __init__.py >>> > * to run on of the examples: >>> > python plot.py >>> >>> > This way, you will certainly have a traceback containing informations >>> > regarding this issue. Then you may post this traceback here. Without >>> > this, I'm afraid I can't help you at all. >>> >>> > (Anyway, this is an interesting feedback as everything works when >>> > installing Python(x,y) on a fresh Windows installation: so it may be >>> > related to your machine, like a compatibility issue with other >>> > installed software/libraries.) >>> >>> > Cheers, >>> > Pierre >>> >>> > On Dec 1, 11:50 pm, Stefan <st_cla...@...> > wrote: >>> >> Hi all, >>> >>> >> i have installed the latest Python(x,y) (release 2.6.5.5). >>> >> And i can't start any of the guiqwt Examples/Tests. >>> >> My System is Windows Vista. >>> >>> >> Cheers, Stefan >>> >> -- >>> >> Erstellt mit Operas revolutionärem >> >>> >> E-Mail-Modul:http://www.opera.com/mail/ >>> >>> -- >>> Erstellt mit Operas revolutionärem >>> E-Mail-Modul:http://www.opera.com/mail/ >> > > > -- > Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/ > > -- > You received this message because you are subscribed to the Google Groups > "python(x,y)" group. > To post to this group, send email to pythonxy@... > To unsubscribe from this group, send email to > pythonxy+unsubscribe@... > For more options, visit this group at > http://groups.google.com/group/pythonxy?hl=en. > > -- Daniel Wheeler -- -- You received this message because you are subscribed to the Google Groups "python(x,y)" group. To post to this group, send email to pythonxy@... To unsubscribe from this group, send email to pythonxy+unsubscribe <at> googlegroups.com. For more options, visit this group at http://groups.google.com/group/pythonxy?hl=en.
RSS Feed