-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
ERROR: failed building pip wheel for pybullet #2989
Comments
Hi, I've never heard of Blender REPL, but pip install should work with regular python installations. I previously ran pybullet inside Blender by installing a Python interpreter system wide, with the same version as Blender it worked fine.
Can you ask the Blender REPL creators about where the Python.h header is? |
Hey Erwin, blender "ships" its own internal version of blender. I can install w/o problems in an hermetic virtualenv python. I thought to create a tracking bug to make sure somebody can find the solution while I search for one :) |
Ok, I resolved the problem.
This must have caused dependencies and INCLUDEPATH to be updated, because now the REPL pip3 was able to install it (note it's uninstalling as the previous install already succeeded... I did not save my history):
|
@Qwlouse if you can confirm this resolves it for you, I'll close this issue. |
Cannot reproduce currently. Since the last Xcode update I get a bunch of different errors when installing pybullet. They all look like this:
But I am pretty sure that your problem was due to some include paths missing, because the blender internal python comes without header files. So you would have to somehow tell it to use the headers from your system python. |
Yes, what you described is exactly what I think happened. |
Are you installing using
Where is -Werror defined? |
it is giving my very big error |
you need a valid python installation with python.h and a working c++ compiler. custom environments are left as an exercise for the reader, good luck! |
Getting errors when installing pybullet (on macOS) within the blender REPL.
This is used by google-research/kubric
Attached error log:
error.txt
The text was updated successfully, but these errors were encountered: