cmbruns / pyopenvr

Unofficial python bindings for Valve's OpenVR virtual reality SDK
BSD 3-Clause "New" or "Revised" License
245 stars 39 forks source link

openvr.error_code.InitError_Init_VRClientDLLNotFound #85

Open Abdullah14H opened 3 years ago

Abdullah14H commented 3 years ago

I keep getting the following error when I run the same code in the read.md:

File "/home/shn/MyDrive/TestPython/testOpenVR.py", line 5, in <module> openvr.init(openvr.VRApplication_Scene) File "/home/shn/.local/lib/python3.8/site-packages/openvr/__init__.py", line 7170, in init initInternal2(applicationType, pStartupInfo) File "/home/shn/.local/lib/python3.8/site-packages/openvr/__init__.py", line 7302, in initInternal2 openvr.error_code.InitError.check_error_value(error.value) File "/home/shn/.local/lib/python3.8/site-packages/openvr/error_code/__init__.py", line 23, in check_error_value raise error_class(error_value, message) openvr.error_code.InitError_Init_VRClientDLLNotFound

I am using Ubuntu 20.04 with Vive Headset and 2 base stations 1.0

svensura commented 3 years ago

Hi Abdullah, same with me after trying to continue work on cameratracking on a linux machine. everything worked for me on a win10-machine. cannot find any answer in the forum, did you help yourself? Best and habby new year, sven

NickFreescale commented 1 year ago

same problem.

zydczqcnydx commented 11 months ago

I can run it in the local environment, but this problem occurs in the conda environment.

cmbruns commented 11 months ago

What version of pyopenvr are you using? If it's older than 1.16.0802 try updating to the latest.

zydczqcnydx commented 11 months ago

在本地环境可以运行,但是在conda环境中就会报错,我的版本是1.21,用 pip 安装的最新版本 ---- Replied Message ---- | From | Christopher @.> | | Date | 08/05/2023 00:23 | | To | cmbruns/pyopenvr @.> | | Cc | Zhenqiang @.>, Comment @.> | | Subject | Re: [cmbruns/pyopenvr] openvr.error_code.InitError_Init_VRClientDLLNotFound (#85) |

What version of pyopenvr are you using? If it's older than 1.16.0802 try updating to the latest.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

AnnabellaMacaluso commented 5 months ago

Did anyone resolve this? I can only get it to work with python 3.6 and openvr version 1.16.802. However, I need this to work for python 3.7 or higher. I also have steamvr setup with a HMD.