GPyOpt doesn't install on python 3.7

Created on 9 Aug 2018  Â·  4Comments  Â·  Source: SheffieldML/GPyOpt

When running pip install gpyopt on python 3.7 I receive the following error:

GPy/kern/src/stationary_cython.c:19389:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’

I think this might be related to python 3.7 compatibility. Could be related to these posts: https://github.com/mcfletch/pyopengl/issues/11
https://github.com/pygame/pygame/issues/382

Most helpful comment

I am afraid this is completely blocked by GPy: https://github.com/SheffieldML/GPy/issues/713 . Please consider 3.6 until GPy solves it.

All 4 comments

Thanks for reporting. Did you try upgrading Cython as those issues suggest? If so, can you tell us how that went?

Same here: build fails for python 3.7, cython 0.29, GPy-devel

GPy/kern/src/stationary_cython.c: In function ‘__Pyx_ExceptionSave’: GPy/kern/src/stationary_cython.c:19389:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?

Not sure if I'm missing something as this is supposed to be resolved:
https://github.com/cython/cython/issues/1955

Same here. Has anyone found a work around?

I am afraid this is completely blocked by GPy: https://github.com/SheffieldML/GPy/issues/713 . Please consider 3.6 until GPy solves it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CarrKnight picture CarrKnight  Â·  7Comments

lewisscola picture lewisscola  Â·  7Comments

iiternalfire picture iiternalfire  Â·  4Comments

vsariola picture vsariola  Â·  11Comments

ahyoussef picture ahyoussef  Â·  5Comments