-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Dear @fmder
I am trying to install ghalton package i encounter the following error (python.3.6) any advice how to solve it.
Kind regards,
Collecting ghalton
Using cached https://files.pythonhosted.org/packages/e7/95/8869ba0de83e2b3aa30b40d4c1a4aaf8339f77130728523b8508aa581c27/ghalton-0.6.2.tar.gz
Building wheels for collected packages: ghalton
Running setup.py bdist_wheel for ghalton: started
Running setup.py bdist_wheel for ghalton: finished with status 'error'
Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pycharm-packaging4/ghalton/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpegi_1aclpip-wheel- --python-tag cp36:
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/ghalton
copying ghalton/constants.py -> build/lib.linux-x86_64-3.6/ghalton
copying ghalton/ghalton_wrapper.py -> build/lib.linux-x86_64-3.6/ghalton
copying ghalton/init.py -> build/lib.linux-x86_64-3.6/ghalton
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'ghalton._ghalton_wrapper' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c src/Halton_wrap.cxx -o build/temp.linux-x86_64-3.6/src/Halton_wrap.o -stdlib=libc++
x86_64-linux-gnu-gcc: error: unrecognized command line option ‘-stdlib=libc++’
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Running setup.py clean for ghalton
Failed to build ghalton
Installing collected packages: ghalton
Running setup.py install for ghalton: started
Running setup.py install for ghalton: finished with status 'error'
Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pycharm-packaging4/ghalton/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-k1nbqx8_-record/install-record.txt --single-version-externally-managed --compile:
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/ghalton
copying ghalton/constants.py -> build/lib.linux-x86_64-3.6/ghalton
copying ghalton/ghalton_wrapper.py -> build/lib.linux-x86_64-3.6/ghalton
copying ghalton/init.py -> build/lib.linux-x86_64-3.6/ghalton
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'ghalton._ghalton_wrapper' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c src/Halton_wrap.cxx -o build/temp.linux-x86_64-3.6/src/Halton_wrap.o -stdlib=libc++
x86_64-linux-gnu-gcc: error: unrecognized command line option ‘-stdlib=libc++’
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for ghalton
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pycharm-packaging4/ghalton/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-k1nbqx8_-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pycharm-packaging4/ghalton/