Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

[installation error] Any idea ?

[sagelib-9.8.beta7] error: Command "gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -g -O2 -fPIC -I/usr/include/singular -Isage/cpython -I/home/draz/local/lib/python3.10/site-packages/cypari2 -I/home/draz/local/lib/python3.10/site-packages/cysignals -Isage/rings/finite_rings -Isage/libs/ntl -I/home/draz/sage/src -I/home/draz/local/lib/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -I/home/draz/local/include -I/usr/include/python3.10 -c sage/rings/polynomial/multi_polynomial_libsingular.cpp -o build/temp.linux-x86_64-cpython-310/sage/rings/polynomial/multi_polynomial_libsingular.o -std=c++11 -fabi-version=6" failed with exit status 1

[sagelib-9.8.beta7] error: subprocess-exited-with-error

[sagelib-9.8.beta7]

[sagelib-9.8.beta7] × python setup.py develop did not run successfully.

[sagelib-9.8.beta7] │ exit code: 1

[sagelib-9.8.beta7] ╰─> See above for output.

[sagelib-9.8.beta7]

[sagelib-9.8.beta7] note: This error originates from a subprocess, and is likely not a problem with pip.

[sagelib-9.8.beta7] full command: /home/draz/local/bin/python3 -c '

[sagelib-9.8.beta7] exec(compile('"'"''"'"''"'"'

[sagelib-9.8.beta7] # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py

[sagelib-9.8.beta7] #

[sagelib-9.8.beta7] # - It imports setuptools before invoking setup.py, to enable projects that directly

[sagelib-9.8.beta7] # import from distutils.core to work with newer packaging standards.

[sagelib-9.8.beta7] # - It provides a clear error message when setuptools is not installed.

[sagelib-9.8.beta7] # - It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so

[sagelib-9.8.beta7] # setuptools doesn'"'"'t think the script is -c. This avoids the following warning:

[sagelib-9.8.beta7] # manifest_maker: standard file '"'"'-c'"'"' not found".

[sagelib-9.8.beta7] # - It generates a shim setup.py, for handling setup.cfg-only projects.

[sagelib-9.8.beta7] import os, sys, tokenize

[sagelib-9.8.beta7]

[sagelib-9.8.beta7] try:

[sagelib-9.8.beta7] import setuptools

[sagelib-9.8.beta7] except ImportError as error:

[sagelib-9.8.beta7] print(

[sagelib-9.8.beta7] "ERROR: Can not execute setup.py since setuptools is not available in "

[sagelib-9.8.beta7] "the build environment.",

[sagelib-9.8.beta7] file=sys.stderr,

[sagelib-9.8.beta7] )

[sagelib-9.8.beta7] sys.exit(1)

[sagelib-9.8.beta7]

[sagelib-9.8.beta7] __file__ = %r

[sagelib-9.8.beta7] sys.argv[0] = __file__

[sagelib-9.8.beta7]

[sagelib-9.8.beta7] if os.path.exists(__file__):

[sagelib-9.8.beta7] filename = __file__

[sagelib-9.8.beta7] with tokenize.open(__file__) as f:

[sagelib-9.8.beta7] setup_py_code = f.read()

[sagelib-9.8.beta7] else:

[sagelib-9.8.beta7] filename = "<auto-generated setuptools="" caller="">"

[sagelib-9.8.beta7] setup_py_code = "from setuptools import setup; setup()"

[sagelib-9.8.beta7]

[sagelib-9.8.beta7] exec(compile(setup_py_code, filename, "exec"))

[sagelib-9.8.beta7] '"'"''"'"''"'"' % ('"'"'/home/draz/sage/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' --no-user-cfg develop --no-deps

[sagelib-9.8.beta7] cwd: /home/draz/sage/src/

[sagelib-9.8.beta7] error: subprocess-exited-with-error

[sagelib-9.8.beta7]

[sagelib-9.8.beta7] × python setup.py develop did not run successfully.

[sagelib-9.8.beta7] │ exit code: 1

[sagelib-9.8.beta7] ╰─> See above for output.

[sagelib-9.8.beta7]

[sagelib-9.8.beta7] note: This error originates from a subprocess, and is likely not a problem with pip.

[sagelib-9.8.beta7]


[sagelib-9.8.beta7] Error installing

[sagelib-9.8.beta7] ********************************************** [sagelib-9.8.beta7]