Closed gully closed 8 years ago
Boom. I have a workaround for this. The above failure is due to an incompatible gcc
version:
$ gcc --version
gcc-5 (Homebrew gcc 5.2.0) 5.2.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Results in a suscessful TelFit install.
Successfully built TelFit
Installing collected packages: TelFit, nose, funcsigs, pbr, mock
Successfully installed TelFit-1.3.2 funcsigs-0.4 mock-1.3.0 nose-1.3.7 pbr-1.8.1
That is weird that it didn't find the other gcc version. The setup script should have been able to find it as long as the command gcc --help
runs without error. I'm glad to see you figured it out though.
Boom. I have a workaround for this. The above failure is due to an incompatible
gcc
version:$ gcc --version gcc-5 (Homebrew gcc 5.2.0) 5.2.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Results in a suscessful TelFit install.
Successfully built TelFit Installing collected packages: TelFit, nose, funcsigs, pbr, mock Successfully installed TelFit-1.3.2 funcsigs-0.4 mock-1.3.0 nose-1.3.7 pbr-1.8.1
Hello, could you please share how you install the specific version (5.2.0) of gcc? I installed brew then installed gcc, but the version is different and I still cannot install Telfit.
$ gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin14.5.0 Thread model: posix
$ python --version Python 2.7.10 :: Continuum Analytics, Inc.
$ conda list
packages in environment at //anaconda/envs/legacy:
astropy 1.0.5 np110py27_1 cython 0.23.4 py27_0 d2to1 0.2.12.post1
fortranformat 0.2.5
freetype 2.5.5 0
libpng 1.6.17 0
lockfile 0.10.2 py27_0
matplotlib 1.4.3 np110py27_3
numpy 1.10.1 py27_0
openssl 1.0.2d 0
pandas 0.17.0 np110py27_0
pip 7.1.2 py27_0
pyparsing 2.0.3 py27_0
pyqt 4.11.4 py27_0
pysynphot 0.9.7
python 2.7.10 2
python-dateutil 2.4.2 py27_0
pytz 2015.7 py27_0
qt 4.8.7 1
readline 6.2 2
requests 2.8.1 py27_0
scipy 0.16.0 np110py27_1
seaborn 0.6.0 np110py27_0
setuptools 18.4 py27_0
sip 4.16.9 py27_0
six 1.10.0 py27_0
sqlite 3.8.4.1 1
stsci.distutils 0.3.7
tk 8.5.18 0
wheel 0.26.0 py27_1
zlib 1.2.8 0
Error message: