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

module 'mistree' has no attribute 'GetMST' #25

Closed
yangfeng-Lyu opened this issue May 27, 2024 · 3 comments
Closed

module 'mistree' has no attribute 'GetMST' #25

yangfeng-Lyu opened this issue May 27, 2024 · 3 comments

Comments

@yangfeng-Lyu
Copy link

Hi,knaidoo29!
I tried to load the mistree module on windows, but I encountered this problem while using it, I tried local and pip, but still no solution.

@knaidoo29
Copy link
Owner

Hi @yangfeng-Lyu , I suspect this is something to do with issues compiling the fortran routines in windows. Can you instead download the python-only branch located here https://github.com/knaidoo29/mistree/tree/pure_python and trying to install this instead. This will have all of the MST functionality but will not have functions for generating Levy-flight and doing some density computation, but if you want to use mistree you are probably looking for the MST functionality anyway so this shouldn't hinder your analysis or usage of mistree.

@captainvoldemort
Copy link

captainvoldemort commented Sep 6, 2024

I am getting the same error, even after building the pure_python branch, specifically while using the pc-skeletor package here

What I've done is build the pure python branch with python 3.9 and numpy version 1.26.0, on windows 11
version of mistree===1.2.1

Is this a issue related to the way the files have been structured in the pure python branch?

The issue was with the pure python branch of the package, if you've installed the pure python branch, the module name is mistree_pp not mistree.

@knaidoo29
Copy link
Owner

These issues should be resolved in the new version of mistree which now is completely written in python and should be installable with pip install mistree

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

3 participants