Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError when calling pdfgui from WSL terminal #55

Open
maak-sdu opened this issue May 6, 2021 · 0 comments
Open

ImportError when calling pdfgui from WSL terminal #55

maak-sdu opened this issue May 6, 2021 · 0 comments

Comments

@maak-sdu
Copy link

maak-sdu commented May 6, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant