bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

Home Page:http://bulletphysics.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: pybullet not installing in google colab

bheijden opened this issue · comments

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.

commented

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.

Any updates?

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.