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
$ python3
Python 3.6.1 (default, Mar 21 2017, 21:49:16)
[GCC 5.4.0] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from tsl2561 import TSL2561
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'TSL2561'
I believe the following does work:
from tsl2561.tsl2561 import TSL2561
I'm not sure, but maybe a tweak to __init__.py would make this work in both Python 2 and 3?
The text was updated successfully, but these errors were encountered:
I believe the following does work:
from tsl2561.tsl2561 import TSL2561
I'm not sure, but maybe a tweak to
__init__.py
would make this work in both Python 2 and 3?The text was updated successfully, but these errors were encountered: