Hi Duane

The first thing to check is whether you're running 64-bit of 32-bit
Windows. If 64-bit, are you also running a full set of native 64-bit
Python, GTK+, Matplotlib, jModelica, etc? Or just 32-bit? If you have
32-bit Python on 634-bit Windows, that's a bit of a tricky case: beware
of the locations that your stuff is installed in. You should have GTK+
installed in c:\Program Files (x86)\GTK+-2.222 (this should be the
installer found in 'thirdparty' in the ASCEND download site -- the ones
ending in '-a4.exe' for ASCEND4).

It sounds as though GTK+ is probably not being detected correctly.
ASCEND's installer doesn't use Python to determine if a fully
operational GTK is installed. Instead if queries the Windows registry
and then checks whether an expected DLL is there. You can check out the
details of the test here:
http://code.ascend4.org/viewvc/code/trunk/nsis/detect.nsi?revision=4102&view=markup
http://code.ascend4.org/viewvc/code/trunk/nsis/installer.nsi?view=markup

One small possibility is that the 'Program Files' directory name is
hard-coded somewhere in the installer. Do you have a non-English version
of Windows? What is the name of your Program Files directory? I haven't
really tested that case.

Check whether 'import gtk' works correctly from an IPython prompt.

Probably this is about a registry key or file location not being what
was expected. Let me know if any of the above helps; if not, I'll
scratch my head a bit more...

Cheers
JP

On Tue, Oct 9, 2012, at 07:46 AM, Duane Fleer wrote:
> Hi John:
> 
> I\'ve attempted to install the 0.9.8 version on a (nearly) fresh python
> 2.7.3.  I also have 
> Numpy/Scipy/Ipython/matplotlib installed along with jModelica.  The
> initial installation 
> downloaded the pyGTK files and installed them, but when attempting to
> start the GUI I 
> get an error that says that one or more of the GTK components (pyGTK,
> pyGObject, 
> pyCairo or GTK+) are not installed on my system, please try reinstalling
> ASCEND.  I\'ve 
> reinstalled, uninstalled and reinstalled, and manually installed the 4
> components and 
> reinstalled, all to no avail.  pip freeze reports that pycairo v1.10.0,
> pygobject v2.28.3 and 
> pygtk v2.22.0 are all installed (does not report on gtk+ version).  Is
> there an issue with 
> v0.9.8, python 2.7.3 and windows (XP, BTW)?  I had previously been
> running v0.9.7 on 
> python 2.6, but after a recent reimage wanted to clean up my system to
> only one 
> instance of python.  Thanks,
> 
> Duane Fleer.
-- 
John Pye
[email protected]


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to