[ase-users] Problems with the ASE-gui under windows 7 64 bit

Jens Jørgen Mortensen jensj at fysik.dtu.dk
Tue Aug 16 15:59:27 CEST 2016


On 07/04/2016 02:39 PM, fabian via ase-users wrote:
> Dear all
>
> I am a novice when it comes to the usage of ASE and Python. I am 
> currently trying to learn how
> to use this package, but i am having some problems i can not solve 
> myself. I am not sure if this
> mailing list is meant for "beginner" problems like this, but i hope 
> you can at least give me a tip or a
> hint were i could seek help.
>
> Before i installed ASE, i installed Python( 64 bit) on a win7 64bit 
> machine. Unfortunately i did not
> install python in the default folder but in C:\Program Files 
> (x86)\Python27\.
> Still python complies ASE just fine. I have problems however to use 
> the ase-gui and the view function.
> I followed the instructions on how to install the gui i think.
> If i try to load ase-gui i get the following:

I'm afraid none of the developers of ASE use Windows, so support for 
Windows is a bit shaky.  If you can install Linux on your computer then 
I would recommend that.

Jens Jørgen

>
>
>
> C:\Users\User>ase-gui
> ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
> To get a full traceback, use: ase-gui --verbose
>
> C:\Users\Alex>ase-gui --verbose
> Traceback (most recent call last):
>   File "C:\Program Files (x86)\Python27\Scripts\ase-gui", line 5, in 
> <module>
>     main()
>   File "C:\Program Files 
> (x86)\Python27\lib\site-packages\ase\gui\ag.py", line 1
> 36, in main
>     run(opt, args)
>   File "C:\Program Files 
> (x86)\Python27\lib\site-packages\ase\gui\ag.py", line 1
> 30, in run
>     from ase.gui.gui import GUI
>   File "C:\Program Files 
> (x86)\Python27\lib\site-packages\ase\gui\gui.py", line
> 42, in <module>
>     import gtk
>   File "C:\Program Files 
> (x86)\Python27\lib\site-packages\gtk-2.0\gtk\__init__.p
> y", line 30, in <module>
>     import gobject as _gobject
>   File "C:\Program Files 
> (x86)\Python27\lib\site-packages\gtk-2.0\gobject\__init
> __.py", line 26, in <module>
>     from glib import spawn_async, idle_add, timeout_add, 
> timeout_add_seconds, \
>   File "C:\Program Files 
> (x86)\Python27\lib\site-packages\gtk-2.0\glib\__init__.
> py", line 22, in <module>
>     from glib._glib import *
> ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
>
> C:\Users\User>
>
> However to get Python to try to load the ase-gui at all, i had to 
> change my PYTHONPATH and User Path variable in widows which makes me 
> believe that no dll is
> actually missing but instead i have the Path set incorrectly . If this 
> is not the case could you give me a hint on how to use the advertised 
> dependency walker to find the
> missing dll?
>
>
> PATH:
> ......;"C:\opt\gtk\gtk+-bundle_2.22.1-20101229_win64\bin";"C:\Program 
> Files (x86)\Python27\Scripts";"C:\Program Files 
> (x86)\Python27\ASE\python-
>
> ase-3.9.1.4567\tools";C:\Program Files (x86)\Python27\Lib;C:\Program 
> Files (x86)\Python27\libs;C:\Program Files 
> (x86)\Python27\DLLs;C:\Program Files
>
> (x86)\Python27\Lib\site-packages;
>
> PYTHONPATH:
>
> C:\Program Files (x86)\Python27\Lib;C:\Program Files 
> (x86)\Python27\DLLs;C:\Program Files (x86)\Python27\Lib;C:\Program 
> Files\7-Zip";"C:\opt\gtk
>
> \gtk+-bundle_2.22.1-20101229_win64\bin";"C:\Program Files 
> (x86)\Python27\Scripts";"C:\Program Files 
> (x86)\Python27\ASE\python-ase-3.9.1.4567\;C:
>
> \Program Files (x86)\Python27\Lib\site-packages\ase;C:\Program Files 
> (x86)\Python27\Lib\site-packages\ase\gui
>
>
>
> gtk runs fine if i try to run the gtk-demo.exe
>
> I would really appreciate if you could help me with this.
>
> All the best
>
> Fabian
>
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users



More information about the ase-users mailing list