Closed mattrenderedai closed 1 year ago
@petrikvladimir does this look correct?
$ conan remote list
conancenter: https://center.conan.io [Verify SSL: True, Enabled: True]
Hi, I am aware of the not working installation in conda, I was trying to fix it here https://github.com/petrikvladimir/pyphysx/pull/73, but without success so far. I will find some time next week to resolve it.
Thank you Vladimir! I will try with that branch.
@petrikvladimir , the conda-install branch seems to work for me. I can run pip install git+https://github.com/petrikvladimir/pyphysx.git@conda_installation
without issue.
Now I am trying to run your trivial example and getting an error from the version of Pillow (I have 9.4.0)
scripts$ python physx_example.py
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, *self._kwargs)
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/site-packages/pyrender/viewer.py", line 1030, in _init_and_start_app
pyglet.app.run()
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/site-packages/pyglet/app/init.py", line 76, in run
event_loop.run(interval)
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/site-packages/pyglet/app/base.py", line 151, in run
timeout = self.idle()
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/site-packages/pyglet/app/base.py", line 212, in idle
self.clock.call_scheduled_functions(dt)
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/site-packages/pyglet/clock.py", line 227, in call_scheduled_functions
item.func(now - item.last_ts, item.args, item.kwargs)
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/site-packages/pyrender/viewer.py", line 879, in _time_event
self.on_draw()
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/site-packages/pyphysx_render/pyrender.py", line 139, in on_draw
self.video_writer.append_data(data)
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/site-packages/imageio/v2.py", line 215, in append_data
return self.instance.write(im, self.write_args)
File "/home/rob1nson/anaconda3/envs/pyphysx/lib/python3.8/site-packages/imageio/plugins/pillow.py", line 354, in write
raise TypeError(
TypeError: The keyword fps
is no longer supported. Use duration
(in ms) instead, e.g. fps=50
== duration=20
(1000 * 1/50).
Thank you for reporting. I fixed it in the conda-installation branch. However, I still need to resolve the Windows installation before merging into the main.
Thank you @petrikvladimir you can close this - I have successfully run your Off Screen example in our application docker.
I am getting a error with conan when attempting to install pyphysx. I am using a fresh environment - a container based on nvidia/cuda:12.0.1-base-ubuntu20.04 with Python 3.8 and cmake.
The error:
conan remote: error: unrecognized arguments: True
Is this an issue with my configuration, e.g. of conan, or with your build scripts?
Full log attached, here is the part with the error