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

unable to install on Mac (M1) #1

Open
icaroafoliveira opened this issue Feb 16, 2023 · 4 comments
Open

unable to install on Mac (M1) #1

icaroafoliveira opened this issue Feb 16, 2023 · 4 comments

Comments

@icaroafoliveira
Copy link

Dear developers,

I could not install the ASLDRO on my current machine (Mac Air with M1 architecture).

ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects

There is a problem with the numpy version. Version 1.19 does not support the M1 chip.

Is it possible to update the requirements? The newest version of numpy works fine with the M1 chip.

Best wishes,

Icaro

@aot
Copy link
Collaborator

aot commented Feb 23, 2023

Hi Icaro,
Are you pip installing ASLDRO, or installing the development version from github? I would highly recommend using the development version, rather than v.2.2.0, because there are a lot more features there. Version 2.3.0 has been in the works for some time, but things have somewhat stalled. I'll see if we can put out a release with numpy updated, although this might also require a more recent version of many other libraries, and the python version, so it could be less trivial and I would hope.

Best regards,
Aaron

@ghost
Copy link

ghost commented Feb 23, 2023

Hi Icaro,
To get you up-and-running, it might be worthwhile installing a more-recent version of the dependencies and ignoring the specific package dependencies. You should be able to do this by first running:

pip install -U pip
pip install -U "nibabel==3.*" "numpy==1.*" "jsonschema==3.*" "nilearn==0.*"
pip install -U --no-deps asldro

We have focused on 'pinning' specific requirements, to ensure reproducibility of results. We'll try to find a better system for doing this optionally and allow a looser set of package requirements.

@icaroafoliveira
Copy link
Author

It is working now!
Thank you for the help!
Best regards,
Icaro

@ghost
Copy link

ghost commented Feb 27, 2023

You're very welcome. Please, let us know if there's anything else we can help with.
I'll re-open this issue, so we will remember to provide a more long-term solution in the future.
Kind regards,
Tom

@ghost ghost reopened this Feb 27, 2023
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

2 participants