bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.
http://bulletphysics.org
Other
12.44k stars 2.86k forks source link

Failed to pip install pybullet==2.6.9 #3186

Closed yiigu closed 3 years ago

yiigu commented 3 years ago

In order to achieve the extra requirement for robosuite, I tried to install pybullet 2.6.9, but it failed.

The error message is shown below.

ERROR: Command errored out with exit status 1: /Users/yigu/anaconda3/envs/rb_bench/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0h/qr0hdnfs601cy71ylh8qss5c0000gn/T/pip-install-un7qf8b0/pybullet_d89e45bc311846e58a432096d9eaf7be/setup.py'"'"'; file='"'"'/private/var/folders/0h/qr0hdnfs601cy71ylh8qss5c0000gn/T/pip-install-un7qf8b0/pybullet_d89e45bc311846e58a432096d9eaf7be/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/0h/qr0hdnfs601cy71ylh8qss5c0000gn/T/pip-record-tu2cabd1/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/yigu/.local/include/python3.7m/pybullet Check the logs for full command output.

The system information is:

Also, I cannot find the relevant files in the private or .local folder. Could anyone help me with that?

ghost commented 3 years ago

Stack overflow on creating pip logs

Try updating pip and removing the cache. Can you install other pip packages?

erwincoumans commented 3 years ago

I recommend trying the latest version, instead of pinning to a very old version. pip(3) install pybullet --upgrade --user