Closed rvalenzuelar closed 4 years ago
Hello Raul,
any reason you need to install from source? There is a binary wheel available for Mac (climt 0.16.3). could you see if
pip install climt==0.16.3
works for you?
There have been other people with issues building climt on Mac as well, which is why I recommend using the binary unless you want to change some Fortran-level code.
Hi Joy, I tried with pip also but I got a similar error in this section:
if [ ! -d OpenBLAS-0.2.19 ]; then tar -xvzf OpenBLAS-0.2.19.tar.gz > log 2>&1; fi; cd OpenBLAS-0.2.19; CFLAGS="-I/Users/raulvalenzuela/Github/climt/climt/_lib -L/Users/raulvalenzuela/Github/climt/climt/_lib/Darwin/ -fPIC -O3 -mmacosx-version-min=10.7" make NO_SHARED=1 NO_LAPACK=0 > log 2>&1 ; make PREFIX=/Users/raulvalenzuela/Github/climt/climt/_lib NO_SHARED=1 NO_LAPACK=0 install > log.install.blas 2>&1 ; cp ../lib/libopenblas.a /Users/raulvalenzuela/Github/climt/climt/_lib/Darwin/
cp: ../lib/libopenblas.a: No such file or directory
make: *** [Darwin/libopenblas.a] Error 1
Hello Raul,
this should be because you tried
pip install climt
which tries to install the latest 0.16.9 version. Due to Travis acting unpredictably, I have disabled travis Mac builds since 0.16.3 (I intend to resume Mac builds using Azure pipelines in the coming month or so).
Therefore, you could try and see if
pip install climt==0.16.3
works, since this version has a prebuilt binary for Mac. See https://pypi.org/project/climt/0.16.3/#files
If you tried install 0.16.3 and pip decided to use a source install for some reason (it should not for Mojave), then the reasons for failure will be present in the openblas directory (climt/_lib/openblas/)
it should be a file called log
and/or log.install.blas
.
Ok, I successfully installed climt. I made a new environment with python=3.6 and then run
pip install climt==0.16.3
Probably the issue was due to python 2.7?
Great! Yes, we do not support binary builds for py27 on Mac, since most users use the anaconda distribution.
I just uploaded climt wheels for 0.16.9 for Mac. hopefully now you should be able to install the latest version!
Description
I was trying to install Climt. I got an error. I expected to install Climt.
What I Did
Got the following traceback: