Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problems with installing on M2 MacBook Air with MacOS Ventura #4

Open
ErnDLar opened this issue Mar 2, 2023 · 5 comments
Open

Problems with installing on M2 MacBook Air with MacOS Ventura #4

ErnDLar opened this issue Mar 2, 2023 · 5 comments

Comments

@ErnDLar
Copy link

ErnDLar commented Mar 2, 2023

I am unable to install AutoCAS on my M2 MacBook Air.
I've tried both installing it from source and directly through pip, but run into the same issues with some backend.
I'm attaching the output pip produces here.

pip_error.txt
pip_output.txt

@mmoerchen
Copy link

Hi,

from the pip_error.txt it seems like the problem is the installation of numpy and not AutoCAS.
If you encounter any further problems in the installation, please let me know.

@ErnDLar
Copy link
Author

ErnDLar commented Mar 2, 2023

I thought so too, however, running, "python3 -m pip install numpy" simply returns the message that numpy is already installed.

@ErnDLar
Copy link
Author

ErnDLar commented Mar 2, 2023

Okay, I realised the error now.
AutoCAS tries to install "numpy==1.19.3", but "python3 -m pip install numpy" installs "numpy==1.24.2".
"numpy==1.19.3" does not work on my computer, while "numpy==1.24.2" does.
Is there any reason why AutoCAS would not work with more recent versions of numpy?

@ErnDLar
Copy link
Author

ErnDLar commented Mar 2, 2023

Changing all "==" in "requirements.txt" to ">=" seems to solve the issue for me and I can install AutoCAS. Havn't properly tested it yet though.

@mmoerchen
Copy link

Okay, I realised the error now. AutoCAS tries to install "numpy==1.19.3", but "python3 -m pip install numpy" installs "numpy==1.24.2". "numpy==1.19.3" does not work on my computer, while "numpy==1.24.2" does. Is there any reason why AutoCAS would not work with more recent versions of numpy?

We specify the exact versions of the dependencies we used for developing and testing, such that all users have this information.

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

No branches or pull requests

2 participants