Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with python 3.7 : Require native threads #79

Closed
jeromedias86 opened this issue Nov 26, 2020 · 1 comment
Closed

Error with python 3.7 : Require native threads #79

jeromedias86 opened this issue Nov 26, 2020 · 1 comment

Comments

@jeromedias86
Copy link

I'm in Ubuntu 18.04.5 and working with the branch patched-8
I get this issue when I use python 3.7 or higher from my system :
/usr/include/python3.7m/pythread.h:122:5: error: #error "Require native threads. See https://bugs.python.org/issue31370"

This issue doesn't occur when I use a lower python version (python 3.6.12 works for me)

The problem seems to come from this line where _POSIX_THREAD is unset :

#undef _POSIX_THREADS

If I comment this line all is working for me, but don't know if it's the best solution to fix this issue.

@jcfr
Copy link
Member

jcfr commented Jan 31, 2024

Closing. Support for newer Python versions has been integrated in patched-9 branch.

@jcfr jcfr closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants