You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My travis builds, which used to work, just started to fail because numpy.distutils is no longer able to find a package (FFTW) that is installed by get-apt. I was able to resolve the same problem for my OSX builds, because brew installs the FFTW library in /usr/local, and it was only necessary to set the environment variable FFTW=/usr/local. On my linux builds, I have tried setting this to /usr, /usr/lib, /usr/local/lib, /opt, $LD_LIBRARY_PATH and even $PATH, but with no luck.
The problem appears to be that the location of the FFTW library is not being added to the PATH, and that I have no idea where Travis is putting these file.
$ pip install --no-deps .
Processing /home/travis/build/SHTOOLS/SHTOOLS
Complete output from command python setup.py egg_info:
pandoc is not installed. PYPI description will not be formatted correctly.
INSTALLING SHTOOLS 4.3.dev0+ec65611
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
searching SHTOOLS in: build/temp.linux-x86_64-3.6
fftw_info:
customize UnixCCompiler
libraries fftw3 not found in ['/usr/lib', '/home/travis/miniconda/envs/test-environment/lib']
fftw3 not found
customize UnixCCompiler
libraries rfftw,fftw not found in ['/usr/lib', '/home/travis/miniconda/envs/test-environment/lib']
fftw2 not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-bvn7z0zn/setup.py", line 288, in <module>
setup(**metadata)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/numpy/distutils/core.py", line 135, in setup
config = configuration()
File "/tmp/pip-req-build-bvn7z0zn/setup.py", line 243, in configuration
fftw_info = get_info('fftw', notfound_action=2)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 432, in get_info
return cl().get_info(notfound_action)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 630, in get_info
raise self.notfounderror(self.notfounderror.__doc__)
numpy.distutils.system_info.FFTWNotFoundError:
FFTW (http://www.fftw.org/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [fftw]) or by setting
the FFTW environment variable.
The text was updated successfully, but these errors were encountered:
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue in 24 hours. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues
My travis builds, which used to work, just started to fail because
numpy.distutils
is no longer able to find a package (FFTW) that is installed by get-apt. I was able to resolve the same problem for my OSX builds, because brew installs the FFTW library in/usr/local
, and it was only necessary to set the environment variableFFTW=/usr/local
. On my linux builds, I have tried setting this to/usr
,/usr/lib
,/usr/local/lib
,/opt
,$LD_LIBRARY_PATH
and even$PATH
, but with no luck.The problem appears to be that the location of the FFTW library is not being added to the PATH, and that I have no idea where Travis is putting these file.
The full travis log is here: https://travis-ci.org/SHTOOLS/SHTOOLS/jobs/388239380
Below is the relevant part.
The text was updated successfully, but these errors were encountered: