-
Notifications
You must be signed in to change notification settings - Fork 863
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
"uv add pybullet" throws cpp compilation error when compiling the wheel #7376
Comments
That's interesting... Are they using different underlying Python interpreters? (If you run with |
Below are the debug messages for both cases. As far as i understand
|
Does |
|
My best guess is that you're hitting the file-length limit on Windows? |
Can you try setting a short cache directory? #7078 (comment) |
Setting a short cache directory fixes the issue 👍, thanks for the help. The only weird thing is that long path support is already enabled on my machine, so i am not sure why it doesent work with the longer path 🤔. I guess its just windows things.... |
That's interesting... I do have a PR open to try and shorten the paths: #7240. It's hard for me to say off-hand whether it would've made a difference here, would need to do some character counting (or you're welcome to try it if you're eager to build from source)... |
Annoyed because this actually worked for me on my Windows machine, even without long paths enabled. |
I tried on 2 different Pc both running |
Is moving the cache location a problem? |
After some more consideration i agree with you, moving the cache location is not a big issue. Thanks again 👍 |
Sadly, not everything in windows respects the long path setting. In this case, the executable that is raising the error does not. See this stack overflow question.. The safer bet is always trying to shorten the paths. Since there is a user specific part in the path (username), the error may or may not be present depending on the length of the user's username. This may explain why it works for @charliermarsh without any changes. |
## Summary In the example outlined in #8884, this removes an unnecessary `jupyter_contrib_nbextensions-0.7.0.tar.gz` segment (replacing it with `src`), thereby saving 39 characters and getting that build working on my Windows machine. This should _not_ require a version bump because we already have logic in place to "heal" partial cache entries that lack an unzipped distribution. Closes #8884. Closes #7376.
Hello,
when i try to add pybullet via
uv add pybullet
i get some c++ compilation error:However installing pybullet via
uv pip install pybullet
works flawlesly. I am using Windows 11 with uv version 0.4.9.I already tried to disable build isolation but that does not solve the issue. Is there anything else i have overlooked or is the package just too old / not compatible?
The text was updated successfully, but these errors were encountered: