Python Forum
ImportError: /home/pybind11_example.cpython-37m-x86_64-linux-gnu.so: undefined symbol
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ImportError: /home/pybind11_example.cpython-37m-x86_64-linux-gnu.so: undefined symbol
#1
hi im trying to execute python bindings for c/c++ uding pybind11 method
and im getting following error

ImportError: /home/pybind11_example.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _PyThreadState_Current

Kindly help
Reply
#2
The error is mentioned here as a known issue with a recipe for how to manage it.
nilamo likes this post
Reply
#3
(Feb-02-2021, 08:08 AM)Serafim Wrote: The error is mentioned here as a known issue with a recipe for how to manage it.

Thanks serafim, the issue got resolved. Basically my ubuntu version was 14.04 which is not supported by some packages in pybind11. After migrating to ubuntu 16.04 the issue dint occur. It works fine now.
nilamo likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Decryption not working if key has same symbol like text Paragoon2 0 320 Nov-11-2023, 09:32 PM
Last Post: Paragoon2
  Convert Excel file into csv with Pipe symbol.. mg24 4 1,340 Oct-18-2022, 02:59 PM
Last Post: Larz60+
  undefined function error JonWayn 5 1,457 Sep-11-2022, 03:38 AM
Last Post: JonWayn
  Undefined Led_Zeppelin 4 1,429 Aug-02-2022, 11:57 AM
Last Post: buran
  [CPython] Can't run script python VietVH 2 1,211 May-21-2022, 04:49 PM
Last Post: VietVH
  ImportError: /home/ali/Documents/test/charm/core/crypto/AES.cpython-39-x86_64-linux-g Anldra12 0 1,240 Apr-28-2022, 07:13 AM
Last Post: Anldra12
  Reducing runtime memory usage in Cpython interpreter david_the_graower 2 2,227 Oct-18-2021, 09:56 PM
Last Post: david_the_graower
  Navigating cpython source using python quazirfan 3 2,037 Aug-09-2021, 07:52 PM
Last Post: quazirfan
  IronPython from CPython amasis 3 2,218 Feb-05-2021, 12:26 PM
Last Post: jefsummers
  Home Directory pgoosen 9 6,410 Oct-15-2020, 12:37 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020