qcscine / autocas

https://scine.ethz.ch
BSD 3-Clause "New" or "Revised" License
27 stars 2 forks source link

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

Open ErnDLar opened 1 year ago

ErnDLar commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

ErnDLar commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.