pip install does not work on MacOS
Created originally on Bitbucket by paugier (Pierre Augier)
pip install does not work on MacOS.
client-172-18-86-112:fluidsim glesur$ pip3 install fluidsim
Collecting fluidsim
Downloading https://files.pythonhosted.org/packages/56/1a/3989bf83d63cec4e52cb9be7153a8a1ba9767769231678644b4290e604f0/fluidsim-0.2.1.tar.gz (394kB)
100% |████████████████████████████████| 399kB 2.2MB/s
Complete output from command python setup.py egg_info:
Compiling Cython extensions with the compiler/wrapper: mpicc
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/h5/3lm4dpv50yg66z8_5vctyrt40000gn/T/pip-install-ro2l_yr4/fluidsim/setup.py", line 36, in <module>
from config import (
File "/private/var/folders/h5/3lm4dpv50yg66z8_5vctyrt40000gn/T/pip-install-ro2l_yr4/fluidsim/config.py", line 101, in <module>
FFTW3 = check_avail_library('fftw3')
File "/private/var/folders/h5/3lm4dpv50yg66z8_5vctyrt40000gn/T/pip-install-ro2l_yr4/fluidsim/config.py", line 69, in check_avail_library
libraries = subprocess.check_output(shlex.split('/sbin/ldconfig -p'))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/sbin/ldconfig': '/sbin/ldconfig'