cmbruns / pyopenxr

Unofficial python bindings for OpenXR access to VR and AR devices
Apache License 2.0
103 stars 8 forks source link

Error when running pyopenx #85

Closed msolive1985 closed 12 months ago

msolive1985 commented 2 years ago

OS: Windows Issue: api_version=api_version.number() -> TypeError: an integer is required (got type Version)

Hi,

I am trying to use it to track my Meta Quest 2 Controllers, but I have this error. I am looking forward to hearing from you. Thank you.

cmbruns commented 1 year ago

It looks like this might be related to using python version 3.6 or maybe 3.7. I've been using python 3.8 and 3.9 in development. https://github.com/cmbruns/pyopenxr/actions/runs/2641869182

msolive1985 commented 1 year ago

Thank you for your reply. Yes, the python version I used is python 3.7. I will update it to 3.9. I will keep it posted.

cmbruns commented 1 year ago

Thank you. I'm glad you are working with the Quest 2 because that's an important system and I do not recall anyone else mentioning using it with pyopenxr yet. So I am eager to learn more about your experience; good or bad.

I will likely restore compatibility with python 3.6, 3.7, and 3.10 in the next release. But it might take me a week to get that together.

msolive1985 commented 1 year ago

I tested most of the example scripts, and all work fine with the Oculus Quest 2. As part of my research, I explored some development using HMD, but I think it might be out of scope and time. Nevertheless, indeed any feedback, I will keep posting them here. Thank you for your response.