-
Notifications
You must be signed in to change notification settings - Fork 9
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
Ghalton python3.6 error #16
Comments
What is your OS? Wheels are available for most common OS on PyPI. Maybe clean your pip cache can help. |
dear @fmder Kind Regards, mohammed@utwks605:Downloads$ pip3 install ghalton-0.6.2-cp27-cp27mu-manylinux2010_x86_64.whl --use-feature=2020-resolver |
Would it be a pip issue? The warning issued by pip look suspicious. You may bevrunning an old pip. I suggest you to create a clean virtual environment and update pip with pip install -U pip. |
I am experiencing a similar issue in a clean environment, it may be related to source compiled by a different compiler as mentioned here ? https://stackoverflow.com/questions/24419832/unrecognized-command-line-option-stdlib-libc-with-macports-gcc48 Or to the deprecation warning in the output? To reproduce: python3 -m venv p3
. p3/bin/activate
pip install --upgrade pip
pip --version
python --version
pip install ghalton I get:
|
On what system are you trying to build ghalton? |
Ubuntu, |
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.
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/
The text was updated successfully, but these errors were encountered: