CNES / aviso-fes

FES is the last version of the FES (Finite Element Solution) tide model.
https://cnes.github.io/aviso-fes
BSD 3-Clause "New" or "Revised" License
59 stars 24 forks source link

Cannot install python version on Mac OS Monterey #17

Closed jakobchristiaanse closed 1 year ago

jakobchristiaanse commented 1 year ago

Hi, I am trying to install the python API onto my macbook pro, with OS Monterey 12.1. I followed the INSTALL instructions and installed pyfes into a specific environment with conda. The build also works until I run make install. It successfully installs everything except pyfes, and returns the following error:

sudo make install [ 42%] Built target fes [ 50%] Built target t_angle [ 57%] Built target t_grid [ 65%] Built target t_interp [ 73%] Built target t_prediction [ 80%] Built target t_fes [ 88%] Built target fes_slev [100%] Built target pyfes Install the project... -- Install configuration: "RELWITHDEBINFO" -- Installing: /Users/user/bin/include/fes.h -- Installing: /Users/user/bin/lib/libfes.a CMake Error at python/cmake_install.cmake:49 (file): file cannot create directory: /AppleInternal/Tests/Python/3.8. Maybe need administrative privileges. Call Stack (most recent call first): cmake_install.cmake:50 (include)

I tried it both with and without sudo, both return the same error. Also I've searched my mac for the /AppleInternal folder, but cannot find it, also not in the hidden files.

Does anyone know what to do in this case? Can I just install it somehwere else (not in AppleInternals)?

jakobchristiaanse commented 1 year ago

Never mind, I realized I only need to install the python package through anaconda and everything seems to work fine.