Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#61356 - [bullet] cannot import pybullet

Attached to Project: Arch Linux
Opened by Michel (xantares) - Friday, 11 January 2019, 19:23 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 16 December 2019, 13:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


pybullet cannot be imported despite the cmake configuration enabling it:

In [1]: import pybullet
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-460a0fba72bb> in <module>
----> 1 import pybullet

ModuleNotFoundError: No module named 'pybullet'
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 16 December 2019, 13:34 GMT
Reason for closing:  Fixed
Comment by Michel (xantares) - Friday, 11 January 2019, 19:25 GMT
/usr/lib/ should be moved to /usr/lib/python3.7/
Comment by Oystein Sture (oysstu) - Thursday, 05 December 2019, 14:56 GMT
Another possibility is to add the following to build()
python build

and the following to package()
python install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build

The script then installs all the necessary files to /usr/lib/pythonx.x/site-packages/. The python-setuptools must be added to makedepends
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 15 December 2019, 16:39 GMT
Ok, there's now a python-pybullet package. Please see whether you like that.
Comment by Oystein Sture (oysstu) - Monday, 16 December 2019, 12:58 GMT
That sounds like a reasonable solution, thanks!