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
test_strategybase_tree_rebalance_level2 failed #38
Comments
Hey @bigtan, Thanks for the feedback. Did you compile from source or install via pip? Also, what is I am not getting any test errors on my local machine but I use python 2.7. Make sure you have the latest version and make sure you compile the source (run Let me know if that fixes the errors. Cheers, |
Hi @pmorissette , I just port it to python3 use the 2to3.py, the code is from the latest master branch, the https://www.dropbox.com/s/38x1yc9u2in5vxd/bt-0.1.9.zip?dl=0 Bigtan |
Have you tried just running |
I will try it and give a feed back. Philippe Morissette notifications@github.com,2015年5月29日 下午9:08写道:Have you tried just running make or make build_dev and then running nosetests -d? —Reply to this email directly or view it on GitHub. |
https://www.dropbox.com/s/6tk4ppxzh3lehsl/bt-master.zip?dl=0 Here is the ported source and the dist zip file and the ported test code. It also failed in Sincerely |
Hey @bigtan, bt has many dependencies that are not currently Python 3 compatible. Unfortunately, I don't have time to look into this and don't plan to support Python 3 in the near future. If you can get it to work, let me know, but for now I would recommend using Python 2.7. Sorry for the inconvenience, |
Hi @pmorissette Sincerely |
Hey @bigtan, You are more than welcome to! I would love to have Python 3 support - just don't know how/if that will work with pandas/numpy/etc. Cheers, |
Hi @pmorissette Yes it works with numpy and pandas even the IPython. And the example in the docs works well too. |
Good to hear! It might not be that difficult after all. |
@bigtan - I managed to find the cause of the tests failing. It was due to different behaviour of cython in python 3. My fork is at: https://github.com/leonth/bt Thanks for your earlier work :) This will be a good start for python 3 compatible version. |
Hey @leonth, Thanks for finding this - I look forward to Python 3 compatibility! Cheers, |
Hi @leonth, bigtan |
When I run this test, This function
test_strategybase_tree_rebalance_level2
failed because of the nan value of c1.weight.BTW, I port bt and ffn to python3 and run the test with nose, so maybe the port is not so perfect which lead to this bug.
The text was updated successfully, but these errors were encountered: