-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
Can not execute setup.py since setuptools is not available in the build environment #35817
Comments
Using |
@mkoeppe I cleaned the issue from all references to |
The bit of the log that you posted above begins with The relevant error messages appear before this line. Best to attach the relevant full build log. |
@mkoeppe The file sagelib-10.0.log is attached below. Which one do you want exactly ? |
Thanks, I missed that. I'll take a look |
|
This means you have a bad installation of NTL that is sneaking into the build. Delete it and try again |
Thanks for pointing out this! |
That should also work. |
I ran:
The build is still erroneous, but I can launch a Sage shell. Should I open an issue for this new error or share it here? Should I rename this issue? I did not find the correct error line in the config.log and I guess it already helps people. If I give a more precise name, people will not know about this and will keep opening issues named « Can not execute setup.py since setuptools is not available in the build environment ». I found plenty other issues by searching relocation against symbol, but none that had a similar title. |
Let's just continue here. No need to rename the issue. |
I forgot to add the config files for the second problem. I upgraded Sagemath and can not reproduce the issue. |
Thanks for the update! Glad it's working now. |
Is there an existing issue for this?
I found this issue that might be related but I did not understand its contents:
#30371
In sagelib-10.0.log, I have the error « Can not execute setup.py since setuptools is not available in the build environment ».
The exact error status seem to be this paragraph:
Did you read the documentation and troubleshoot guide?
Environment
PATH, PKG_CONFIG_PATH, LD_LIBRARY_PATH, CFLAGS, CPPFLAGS, CXXFLAGS, and LDFLAGS environment variables
are almost all not defined apart this specific flint version I use:
(I use on other projects fflas-ffpack, flint and ntl).
Steps To Reproduce
git clone https://github.com/sagemath/sage/ cd sage git checkout 10.0 ./configure make -j6
Terminal crash when not specifying the number of threads for make. Terminal stays open with make -j6.
Config log
config.log
Package logs
sagelib-10.0.log
Additional Information
pip setuptools seems installed:
pip show setuptools
Name: setuptools
Version: 65.6.3
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: [email protected]
License:
Location: /home/lesnoff/miniconda3/lib/python3.10/site-packages
Requires:
Required-by: python-lsp-server, sip, spyder
I used conda deactivate first.
command for future compilations (personal reminders):
make -j6 SAGE_KEEP_BUILT_SPKGS=yes
The text was updated successfully, but these errors were encountered: