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 801 Nov-11-2023, 09:32 PM
Last Post: Paragoon2
  Convert Excel file into csv with Pipe symbol.. mg24 4 2,259 Oct-18-2022, 02:59 PM
Last Post: Larz60+
  undefined function error JonWayn 5 2,464 Sep-11-2022, 03:38 AM
Last Post: JonWayn
  Undefined Led_Zeppelin 4 2,384 Aug-02-2022, 11:57 AM
Last Post: buran
  home automation using python barryjo 1 1,894 Jul-24-2022, 09:09 PM
Last Post: Larz60+
  [CPython] Can't run script python VietVH 2 1,983 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,776 Apr-28-2022, 07:13 AM
Last Post: Anldra12
  Reducing runtime memory usage in Cpython interpreter david_the_graower 2 2,978 Oct-18-2021, 09:56 PM
Last Post: david_the_graower
  Navigating cpython source using python quazirfan 3 2,834 Aug-09-2021, 07:52 PM
Last Post: quazirfan
  Key Error: os.environ["HOME"] Anldra12 12 20,754 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