Skip to content
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

Warning: FastBinaryTree not available - how to fix? #25

Closed
tseemann opened this issue Aug 23, 2016 · 5 comments
Closed

Warning: FastBinaryTree not available - how to fix? #25

tseemann opened this issue Aug 23, 2016 · 5 comments
Labels

Comments

@tseemann
Copy link

How do i resolve these missing requirements?

I have all the stuff readthedocs suggests.

phenix.py
Warning: FastBinaryTree not available, using Python version BinaryTree.
Warning: FastAVLTree not available, using Python version AVLTree.
Warning: FastRBTree not available, using Python version RBTree.
usage: phenix.py [-h] [--debug] [--version]
                 {run_snp_pipeline,filter_vcf,prepare_reference,vcf2fasta} ...
phenix.py: error: too few arguments
@alexjironkin
Copy link

Those are only installed by bintrees if Cython is also installed. I would also suggest installing Cython then reinstalling pyvcf, as there are faster parsers there, again that are only installed if Cython is present.

We haven't made Cython a requirement, mainly because there is no C code in our package, so it would seem wrong, philosophically, to make Cython a requirement.

@antunderwood
Copy link
Contributor

Perhaps we could make a note of this in the docs as Cython being recommended rather than a dependency.

@tseemann
Copy link
Author

I still haven't figured out how Cython fits into the confusing python universe.
Yours sincerely, old Perl dog.

@flashton2003
Copy link

also, if you had pyvcf installed before cython, then you need to reinstall bintrees via pip uninstall bintrees and then pip install bintrees.

@alexjironkin
Copy link

Yeah, if this worked you shouldn't get the warnings.

You may be able to do this with

pip install bintrees --upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants