diffpy / diffpy.pdfgui

graphical user interface for real space structure refinement to PDF
Other
18 stars 27 forks source link

ImportError when calling pdfgui from WSL terminal #55

Open maak-sdu opened 3 years ago

maak-sdu commented 3 years ago

Followed the guidelines at https://www.diffpy.org/products/pdfgui.html to install pdfgui within its own conda env in a WSL (Windows Subsystem for Linux) terminal. Trying to run pdfgui, the following error is encountered (the whole installation process is attached as a .txt file):

(py27) maak@ADM-126243:~$ pdfgui Traceback (most recent call last): File "/home/maak/miniconda3/envs/py27/bin/pdfgui", line 11, in sys.exit(main()) File "/home/maak/miniconda3/envs/py27/lib/python2.7/site-packages/diffpy.pdfgui-1.1.2-py2.7.egg/diffpy/pdfgui/applications/pdfgui.py", line 116, in main import diffpy.pdfgui.gui.Main as guimain File "/home/maak/miniconda3/envs/py27/lib/python2.7/site-packages/diffpy.pdfgui-1.1.2-py2.7.egg/diffpy/pdfgui/gui/Main.py", line 19, in import wx File "/home/maak/miniconda3/envs/py27/lib/python2.7/site-packages/wx-3.0-gtk2/wx/init.py", line 45, in from wx._core import * File "/home/maak/miniconda3/envs/py27/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 4, in import core ImportError: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

WSL_pdfgui_error.txt