You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I install hidparser with following command
$ python3 setup.py install
then trying to run example/mouse.py get following error Traceback (most recent call last): File "mouse.py", line 1, in <module> import hidparser File "/usr/local/lib/python3.5/dist-packages/hidparser-0.0.7-py3.5.egg/hidparser/__init__.py", line 10, in <module> ImportError: No module named 'hidparser.UsagePages'
But I can import hidparser and hidparser.UsagePages before run example.
When I unzip the egg file 'hidparser-0.0.7-py3.5.egg', there are no hidparser/UsagePages folder.
I try to add "hidparser/UsagePages" into packages in setup.py and it can fix this problem; however, I'm not familiar with setuptools. Is this correct way to fix it?
The text was updated successfully, but these errors were encountered:
First I install hidparser with following command
$ python3 setup.py install
then trying to run example/mouse.py get following error
Traceback (most recent call last): File "mouse.py", line 1, in <module> import hidparser File "/usr/local/lib/python3.5/dist-packages/hidparser-0.0.7-py3.5.egg/hidparser/__init__.py", line 10, in <module> ImportError: No module named 'hidparser.UsagePages'
But I can import hidparser and hidparser.UsagePages before run example.
When I unzip the egg file 'hidparser-0.0.7-py3.5.egg', there are no hidparser/UsagePages folder.
I try to add "hidparser/UsagePages" into packages in setup.py and it can fix this problem; however, I'm not familiar with setuptools. Is this correct way to fix it?
The text was updated successfully, but these errors were encountered: