-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem installing the software #4
Comments
Thanks for reporting. First, note that this package was developed using python 2 (last version tested was 2.7), and I do not guarantee the compatibility with python 3. Then it looks like a compiler error. What gcc are you using? |
Thanks for the prompt reply. |
Hi @miguelrgranda , have you tried specifying the fortran compiler?
|
Hi @JulienPeloton, Sorry for the late reply. Yes, I have also tried specifying the fortran compiler. I obtained the same error. |
Hello,
I have found an error when installing the software. I have tried with different devices and I always found the same problem (shown below). I would greatly appreciate any help.
Thanks in advance,
Miguel
miguel@miguel-VirtualBox:~/Desktop/lensingbiases$ sudo python3.6 setup.py install
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "LensingBiases_f" sources
f2py options: []
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6' to include_dirs.
adding 'build/src.linux-x86_64-3.6/LensingBiases_f-f2pywrappers2.f90' to sources.
build_src: building npy-pkg config files
running build_py
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'nv', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'LensingBiases_f' extension
compiling C sources
C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/python3.6m -c'
extra options: ''
x86_64-linux-gnu-gcc: build/src.linux-x86_64-3.6/LensingBiases_fmodule.c
x86_64-linux-gnu-gcc: build/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6/fortranobject.c
x86_64-linux-gnu-gcc: error: : No such file or directory
x86_64-linux-gnu-gcc: error: : No such file or directory
error: Command "x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ibuild/src.linux-x86_64-3.6/build/src.linux-x86_64-3.6 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/python3.6m -c build/src.linux-x86_64-3.6/LensingBiases_fmodule.c -o build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/LensingBiases_fmodule.o -MMD -MF build/temp.linux-x86_64-3.6/build/src.linux-x86_64-3.6/LensingBiases_fmodule.o.d " failed with exit status 1
The text was updated successfully, but these errors were encountered: