Skip to content

Build succeeded, import failed #423

@Korijn

Description

@Korijn

We're working on a conda package for wxPython. The windows version is done (yay!) but the Linux and OS X version are still a work in progress. The linux build has passed, however, we still get some errors when trying to import wx. Specifically, this happens:

+ source /opt/conda/bin/activate /feedstock_root/build_artefacts/wxpython_1498486398574/_t_env
+ /feedstock_root/build_artefacts/wxpython_1498486398574/_t_env/bin/python -s /feedstock_root/build_artefacts/wxpython_1498486398574/test_tmp/run_test.py
import: 'wx'
Traceback (most recent call last):
  File "/feedstock_root/build_artefacts/wxpython_1498486398574/test_tmp/run_test.py", line 2, in <module>
    import wx
  File "/feedstock_root/build_artefacts/wxpython_1498486398574/_t_env/lib/python2.7/site-packages/wx/__init__.py", line 17, in <module>
    from wx.core import *
  File "/feedstock_root/build_artefacts/wxpython_1498486398574/_t_env/lib/python2.7/site-packages/wx/core.py", line 12, in <module>
    from ._core import *
ImportError: libwx_gtk2u_core-3.0.so.0: cannot open shared object file: No such file or directory
TESTS FAILED: wxpython-4.0.0a2-py27_0.tar.bz2

I found one of your posts on SO regarding this problem, and I tried your advice (using ldd) to see what the problem is, and it yields this result:

libwx_baseu-3.0.so.0 => not found

Would you be able to tell us what that means?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions