Skip to content

ImportError when calling pdfgui from WSL terminal #55

@maak-sdu

Description

@maak-sdu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions