Skip to content
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

failed with exit status 127 #461

Closed
slarkhe opened this issue Apr 23, 2019 · 7 comments
Closed

failed with exit status 127 #461

slarkhe opened this issue Apr 23, 2019 · 7 comments

Comments

@slarkhe
Copy link

slarkhe commented Apr 23, 2019

/home/hsz/software/anaconda3/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
/home/hsz/software/anaconda3/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'namespace_packages'
warnings.warn(msg)
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 "_geoslib" sources
build_src: building npy-pkg config files
running build_py
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_geoslib' extension
compiling C sources
C compiler: x86_64-conda_cos6-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -I/home/hsz/software/netcdf4/include -fPIC

compile options: '-Iinclude -I/home/hsz/software/anaconda3/lib/python3.6/site-packages/numpy/core/include -I/home/hsz/software/anaconda3/lib/python3.6/site-packages/numpy/core/include -I/home/hsz/software/anaconda3/include/python3.6m -c'
x86_64-conda_cos6-linux-gnu-gcc: src/_geoslib.c
error: Command "x86_64-conda_cos6-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -I/home/hsz/software/netcdf4/include -fPIC -Iinclude -I/home/hsz/software/anaconda3/lib/python3.6/site-packages/numpy/core/include -I/home/hsz/software/anaconda3/lib/python3.6/site-packages/numpy/core/include -I/home/hsz/software/anaconda3/include/python3.6m -c src/_geoslib.c -o build/temp.linux-x86_64-3.6/src/_geoslib.o -MMD -MF build/temp.linux-x86_64-3.6/src/_geoslib.o.d" failed with exit status 127

@QuLogic
Copy link
Member

QuLogic commented Apr 23, 2019

You need to install the compiler in conda.

@slarkhe
Copy link
Author

slarkhe commented Apr 24, 2019

You need to install the compiler in conda.

thanks, but I don't know what is the compiler's name? and how to install it ?

@slarkhe
Copy link
Author

slarkhe commented Apr 24, 2019

You need to install the compiler in conda.

my lunix system:centos6

@summerinternship2019
Copy link

I got the same error message
and stack this installation
which compiler you talk about??

@slarkhe
Copy link
Author

slarkhe commented Sep 11, 2019 via email

@dbricare
Copy link

For me the cause was no gcc installed. On Ubuntu sudo apt install gcc resolved the exception.

@molinav
Copy link
Member

molinav commented Dec 29, 2021

We have just released basemap version 1.3.0 with precompiled binary wheels for Windows and GNU/Linux, so you do not need to compile the library by yourself anymore on these platforms.

I am closing this issue now. Feel free to open a new one or write here if the problems persist.

@molinav molinav closed this as completed Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants