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
pip installs headers in virtualenv to a directory not included by default in build_ext #4610
Comments
@pfmoore This is an compilation on Windows issue. I think you'd have more idea about this than me here. |
The details of how Python sets and uses the Some random thoughts:
So, my suspicion is that any inconsistency is a result of the various components not agreeing on what scheme should be used, and/or the whole So, in summary, the root of this is probably a limitation of the But once again, I have little actual experience in this area - if the numeric guys say something different, they are right and I'm wrong 😄 |
Related to pypa/packaging-problems#84. Is there anything directly actionable for pip here or would it be better to continue in a discuss.python.org topic or the issue above? |
Description:
When installing a package in a virtualenv, it's headers get installed to a different directory than plain distutils, which is not included by default in the build_ext include directories. Such headers won't be found by packages that depend on it unless the package takes special care to calculate the directory used by pip and adding it manually to it's
Extension
s in setup.py.For example, on Windows:
<prefix>/Include/<dist_name>
<prefix>/Include/site/python2.7/<dist_name>
What I've run:
Then:
Workaround
The text was updated successfully, but these errors were encountered: