Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

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

Details

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/libpybullet.so.2.88 should be moved to /usr/lib/python3.7/pybullet.so
Comment by Oystein Sture (oysstu) - Thursday, 05 December 2019, 14:56 GMT
Another possibility is to add the following to build()
python setup.py build

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

The setup.py 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!

Loading...