Skip to content

_core.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN13wxWindowIDRef6AssignEi, version WXU_3.2 #2444

@Szirenke

Description

@Szirenke

Hi,

I am having some issues running wxpython on Ubuntu 22.04. I have now read most of the related issues and none of them helped. I have now installed wxpython in many ways including conda environment with python 3.7. This was the only installation which sort of worked. I write sort of because matplotlib gives an error of singular matrices when I involve axes.axhline. I thought I try a different version and I followed the recipe here at Phoenix and compiled wxpython from source. I could never import wx due to undefined symbol error. (_core.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN13wxWindowIDRef6AssignEi, version WXU_3.2) The weird thing is that using the conda environment on a windows 11 machine with python 3.7 actually works and no matplotlib error is thrown. This is the first time in my life that something worked under windows and didnt under linux. What could cause the above error? I tried to install wxpython with pip but that gives the same error. I tried many of the suggestion around but nothing helped apart from using conda with python 3.7 but that one has a matplotlib bug it seems. The compilation from source finishes without any issues (python3.10) and yet after putting all the proper folders to pythonpath and ld_library_path I get the undefined symbol error. Is there a solution to this?

Thanks

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