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 888 Nov-11-2023, 09:32 PM
Last Post: Paragoon2
  Convert Excel file into csv with Pipe symbol.. mg24 4 2,456 Oct-18-2022, 02:59 PM
Last Post: Larz60+
  undefined function error JonWayn 5 2,694 Sep-11-2022, 03:38 AM
Last Post: JonWayn
  Undefined Led_Zeppelin 4 2,554 Aug-02-2022, 11:57 AM
Last Post: buran
  home automation using python barryjo 1 2,064 Jul-24-2022, 09:09 PM
Last Post: Larz60+
  [CPython] Can't run script python VietVH 2 2,103 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,881 Apr-28-2022, 07:13 AM
Last Post: Anldra12
  Reducing runtime memory usage in Cpython interpreter david_the_graower 2 3,097 Oct-18-2021, 09:56 PM
Last Post: david_the_graower
  Navigating cpython source using python quazirfan 3 2,984 Aug-09-2021, 07:52 PM
Last Post: quazirfan
  Key Error: os.environ["HOME"] Anldra12 12 21,521 Jun-18-2021, 04:11 PM
Last Post: Axel_Erfurt

Forum Jump:

User Panel Messages

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