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.36k stars 2.85k forks source link

[bug]: pybullet not installing in google colab #4485

Open bheijden opened 1 year ago

bheijden commented 1 year ago

Google Colab hangs on installing pybullet with pip with the following output:

Running the following in google colab:

!pip3 install pybullet --upgrade

Results in the following output:

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting pybullet
  Downloading pybullet-3.2.5.tar.gz (80.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.5/80.5 MB 12.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: pybullet

To reproduce, you can run the colab advertised on this page.

jelledouwe commented 1 year ago

It seems that installing pybullet on colab is very slow, because there is no wheel available on PyPI for python 3.10 (see https://pypi.org/project/pybullet/#files). Therefore pybullet is built from source which takes some time.

behradkhadem commented 1 year ago

Any updates?

behradkhadem commented 1 year ago

I had issues with this matter in the past weeks, turns out that the package installation takes 9 minutes. If you wait that long it'll work without a hassle.