Closed ocss884 closed 1 year ago
Thanks for heads up. I'll check whether I can make the code compatible with both versions of Numpy. But I agree that specifying a version number is good practice.
I added a workaround (#14) to make sur that Tactis is compatible with NumPy versions >=1.24 and versions <=1.23. I prefer not having users have to select a specific NumPy version if I can avoid it, since doing so can restrict applications which use many different libraries together.
Hi! I found the following error raised in
generate_backtesting_datasets()
when I ran any demo having this function.I follow the solution here to downgrade my Numpy version from 1.24.1 to 1.21.6 then it is solved. My coworker is using numpy=1.23.4 with no problem running the demo. Seems this error only occurs in the newest numpy>=1.24.