-
Notifications
You must be signed in to change notification settings - Fork 22
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
Installation fails for Python 3.10 on M1 #16
Comments
Hi @gunesmes, it appears that the installation is failing when compiling the fortran subroutines. It's not clear to me if this is an M1 thing or a python 3.10 thing. I'm not sure if f2py, which does the fortran compiling, works on 3.10 yet -- I remember having some issues with the very latest/developer branches of python so what you're seeing could just be this. So I would suggest installing mistree on an earlier version of python (3.8 and below should be fine) and that should hopefully solve the issue. If the problem persists please let me know and I'll take a closer look at it. |
I have the same issue for 3.9, also I tried to install 3.8 via pyenv but it seems 3.8 is not compatible with M1
|
@gunesmes I've just checked TravisCI which does the build testing for mistree. In that, only python versions 2.7, 3.4, 3.5 and 3.6 are tested so perhaps try with 3.6 -- although from what you've said I don't expect this will change anything. It's unclear to me whether this is an issue with mistree or an issue with python and M1, I'm leaning towards the latter as I'm seeing a lot of issues coming up of a similar nature and if it is this then it's super hard for me to test as I don't have an m1 machine. The only other thing I can think of to check is whether you've installed gfortran, this is needed to compile the fortran subroutines. |
I have encountered the same problem. May I ask if it has been resolved |
Hi @wanghanruibaba the latest version of mistree should run on python versions <= 3.9, I remember some issues popping up in one of the versions but I don't remember why. So there are two options:
|
I got the following error:
The text was updated successfully, but these errors were encountered: