-
Notifications
You must be signed in to change notification settings - Fork 928
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
Is clang
required for compiling C extensions?
#8036
Comments
It's not required -- I believe you can override with |
Great, thanks! Yes, the |
The Python binaries
|
Right, it was just a little surprising that on my Linux system, which uses |
Existing issue #7369 is related to this. |
Can someone also tell me what the equivalent is for using g++ instead of clang++? I'm trying to install gdal, and I get a message saying clang++ not found. I wasn't sure what the equivalent CC was for clang++. I made a symlink from '/usr/bin/g++' to /usr/local/bin/clang++' and it worked ok, but would be better if I could do something like:
|
|
Going to track improving this in #8429 |
I wanted to
uv pip install -e .
a local package which contains a C extension, but I received anerror: command 'clang' failed: No such file or directory
. Is this something thatuv
requires, or is it some upstream package (setuptools
maybe)? I'm asking because I already have a C compiler installed (cc
->gcc
), so maybe this can be changed with an environment variable? Also, installing the package with the OGpip
seems to usegcc
.The text was updated successfully, but these errors were encountered: