phuselab / pyVHR

Python framework for Virtual Heart Rate
http://phuselab.di.unimi.it/
GNU General Public License v3.0
461 stars 128 forks source link

Error while visualizing landmarks #39

Closed wgb-10 closed 2 years ago

wgb-10 commented 2 years ago

Hey everyone,

I am running the framework on Windows 10 and there seems to be an issue in the file pyVHR_demo.ipynb in the first cell shown below:

image

Upon printing vhr.__path__, I think this is happening because pyVHR.__path__[0] returns a path with escaped directory backslashes and the concatenation that happens messes up the final path string as shown in the last cell.

Also, D:\anaconda3\envs\pyvhr\Lib\site-packages\pyVHR\resources\img doesn't contain face.png for me. As shown below:

image

Can you check if this is the same for you all as well?

wgb-10 commented 2 years ago

Closing this issue as I realized that I made an issue while building from source. I had run pip install pyvhr in my manually created environment followed by python setup.py install (while in the pyVHR directory). Instead, I should have omitted the former and only ran the latter.