-
Notifications
You must be signed in to change notification settings - Fork 130
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
Pillow fails to build on Linux #182
Comments
Hey @JD-ETH, that's odd! Could you please past the output of the following two commands:
I did encounter errors with building Pillow when I switched from Python 3.8 to 3.9, but I was able to fix them by updating dependent library versions in #160. The problem you're experience looks new to me. Cheers, |
The commit hash:
@ChrisCummins yeah seems like a versioning issue? |
Hmm. Your environment looks pretty close to the Linux CI runner. The only differences I see are an older ubuntu release (CI runner uses 20.04) and an older compiler (CI runner uses Cheers, |
Was able to install once clang++-9 was installed. Will update the Readme to include this. Thanks! |
Great! |
🐛 Bug
Same error appears when building the compiler_gym wheel or compiling from source. Clang misses a compiler flag:
-fno-semantic-interposition
To Reproduce
Steps to reproduce the behavior:
pip install compiler_gym
The error with
-fno-semantic-interposition
shows up a lot, omitted here.Environment
You may use the PyTorch
environment collection script
to generate most of this information. You can get the script and run it with:
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py # For security purposes, please check the contents of collect_env.py before running it. python collect_env.py
Additional context
Installing
pip install Pillow
works ok.The text was updated successfully, but these errors were encountered: