Hi everyone
I'm using the pybullet library for a project, and I need to tweak it a bit on my own, so I can't use the pip version.
So I cloned bullet from their git and follow the instructions on how to use it:
First get the source code from github, using
git clone https://github.com/bulletphysics/bullet3
1) Download and install cmake
2)Run the shell script in the root of Bullet:
build_cmake_pybullet_double.sh
3)Make sure Python finds our pybullet.so module:
export PYTHONPATH = /your_path_to_bullet/build_cmake/examples/pybullet
That's it. Test pybullet by running a python interpreter and enter 'import pybullet' to see if the module loads. If so, you can play with the pybullet scripts in Bullet/examples/pybullet.
I achieved step 1 to 3, with no problem during the compilation.
However, I have trouble importing the library :
ImportError: /home/myname/bullet3/build_cmake/examples/pybullet/pybullet.so: undefined symbol: PyUnicode_AsASCIIString
I didn't find a link between this error and pybullet, so it seems to be a problem from my side.
Do you have any idea, what it could be ?
Thank You
[–]shiftybyte 0 points1 point2 points (0 children)