Tried to run hellovr_glfw.py script, but encountered the error: ModuleNotFoundError: No module named 'samples'.
Encountered no problems with the small script in the README.md.
Full Traceback
pyopenvr/src/samples/glfw$ python hellovr_glfw.py
Traceback (most recent call last):
File "/home/stefempath/anaconda3/envs/vr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 359, in get_provider
module = sys.modules[moduleOrReq]
KeyError: 'samples'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "hellovr_glfw.py", line 943, in <module>
sys.exit(main(sys.argv))
File "hellovr_glfw.py", line 927, in main
if main_application.b_init():
File "hellovr_glfw.py", line 211, in b_init
self.b_init_gl()
File "hellovr_glfw.py", line 230, in b_init_gl
self.set_up_texture_maps()
File "hellovr_glfw.py", line 743, in set_up_texture_maps
ts = pkg_resources.resource_stream('samples', 'cube_texture.png')
File "/home/some_user/anaconda3/envs/vr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1150, in resource_stream
return get_provider(package_or_requirement).get_resource_stream(
File "/home/some_user/anaconda3/envs/vr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 361, in get_provider
__import__(moduleOrReq)
ModuleNotFoundError: No module named 'samples'
Tried to run
hellovr_glfw.py
script, but encountered the error:ModuleNotFoundError: No module named 'samples'
.Encountered no problems with the small script in the
README.md
.Full Traceback
System
import openvr; print(openvr.__version__)
: 1.12.0501Env creation steps: