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

Installing and using via python #8

Open
hyanwong opened this issue Sep 25, 2024 · 1 comment
Open

Installing and using via python #8

hyanwong opened this issue Sep 25, 2024 · 1 comment

Comments

@hyanwong
Copy link

hyanwong commented Sep 25, 2024

We would like a fast NJ implementation to use from python. I see there is a pydecenttree folder, but no instructions for installation. Indeed, there seem not to be any instructions from compilation from source either.

A pip install -e pydecenttree results in:

../utils/timeutil.h:28:10: fatal error: 'decenttree_config.h' file not found
    #include <decenttree_config.h>

(this is on a Mac)

@hyanwong
Copy link
Author

I guess I need to first run cmake . in the root directory to produce the decenttree_config.h file. When I do that (on a Mac), and then try pip install -e pydecenttree I get:

        In file included from ../bionj2.cpp:54:
        In file included from ../upgma.h:102:
        ../vectorclass/vectorclass.h:38:4: error: Please compile for the SSE2 instruction set or higher
          #error Please compile for the SSE2 instruction set or higher
           ^
        In file included from ../bionj2.cpp:54:
        ../upgma.h:103:10: error: unknown type name 'Vec8f'
        typedef  Vec8f    FloatVector;
                 ^
        ../upgma.h:104:10: error: unknown type name 'Vec8fb'
        typedef  Vec8fb   FloatBoolVector;
                 ^

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

No branches or pull requests

1 participant