-
Notifications
You must be signed in to change notification settings - Fork 258
build error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'? #166
Comments
+1 on macOS with homebrew python 3.7 EDIT: Solution for me was to RTFM read the README.md:
|
The problem is the generated c files that are included in the package. They are generated by cython from pyx/pxd files. But The c api has changed in 3.7 so they need to be rebuild with an up-to-date version cython. |
* py-line-profiler: add 2.1.2, re-run cython if needed See rkern/line_profiler#166. * Update var/spack/repos/builtin/packages/py-line-profiler/package.py Co-Authored-By: Adam J. Stewart <[email protected]>
Can we get a new source releases on pypi with .c code generated by a more modern cython to support python >=3.7? It doesn't have to be a new version a .post0 would do it |
* py-line-profiler: add 2.1.2, re-run cython if needed See rkern/line_profiler#166. * Update var/spack/repos/builtin/packages/py-line-profiler/package.py Co-Authored-By: Adam J. Stewart <[email protected]>
I think Cython should be added to Please see how to add Cython to |
* py-line-profiler: add 2.1.2, re-run cython if needed See rkern/line_profiler#166. * Update var/spack/repos/builtin/packages/py-line-profiler/package.py Co-Authored-By: Adam J. Stewart <[email protected]>
getting the build error shown below my setup is:
OS: Centos7
Dependencies were built using Spack:
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
^[email protected]
The text was updated successfully, but these errors were encountered: