I am trying to import "enum" but I get a import error saying it cant find it. But it is there.
(cvnano) joev2@joev2-desktop:~/pylibfreenect2$ sudo python
selective_streams.py
Traceback (most recent call last):
File "selective_streams.py", line 8, in
<module>
from pylibfreenect2 import Freenect2,
SyncMultiFrameListener
File
"/home/joev2/pylibfreenect2/pylibfreenect2/__i n it__.py", line 15, in
<module>
import enum
ImportError: No module named enum
but when I do this it shows its there
(cvnano) joev2@joev2-desktop:~/pylibfreenect2$ python
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from enum import IntEnum
>>>
Any Ideas? I am Working in a .virtual environment if that helps.