toolbox not working in colab
-
Hey,
got error
https://colab.research.google.com/drive/1ZOLbnAsEzPdD_zd3iU-AiVQnLqyTa5go
"ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject" -
@alexeigor I got the same error on kaggle too
-
I got the same error after installing
qnt
locally with pip.
There is indeed a circular import in the current Github repo for the toolbox, introduced by this commit:
https://github.com/quantiacs/toolbox/commit/78beafa93775f33606156169b3e6b8f995804151#diff-89350fe373763b439e4697f9b11cceb811b4a3f0adc7a655707a936ce5646c01R6-R10
when some of the imports inoutput.py
which were inside of fuctions before were moved to the top level.
Nowoutput
imports fromstats
andstats
imports fromoutput
.@support Can you please have a look?
@alexeigor @omohyoid
The conda version ofqnt
doesn't seem affected, so if that's an option for you install that one.
Otherwise we can use the git version previous to the commit above:pip uninstall qnt pip install git+https://github.com/quantiacs/toolbox.git@a1e6351446cd936532af185fb519ef92f5b1ac6d