Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lantz import issues #74

Open
mlaspisa opened this issue Nov 9, 2016 · 0 comments
Open

lantz import issues #74

mlaspisa opened this issue Nov 9, 2016 · 0 comments

Comments

@mlaspisa
Copy link

mlaspisa commented Nov 9, 2016

Hello,
I'm new to lantz, not sure if I'm doing something wrong. I believe that I installed everything correctly, but I'm having issues when using the following code:

from lantz import Q_
from lantz import Feat, DictFeat

I get the same response shown below for both:
Traceback (most recent call last):
File "<pyshell#32>", line 1, in
from lantz import Q_
File "C:\Python34\lib\site-packages\lantz_init_.py", line 25, in
from .driver import Driver, Feat, DictFeat, Action, initialize_many, finalize_many
File "C:\Python34\lib\site-packages\lantz\driver.py", line 19, in
from .utils.qt import MetaQObject, SuperQObject, QtCore
File "C:\Python34\lib\site-packages\lantz\utils\qt.py", line 33, in
QtCore, QtGui, QtSvg, QT_API = load_qt(api_opts)
File "C:\Python34\lib\site-packages\lantz\utils\qt_loaders.py", line 364, in load_qt
if not can_import(api):
File "C:\Python34\lib\site-packages\lantz\utils\qt_loaders.py", line 172, in can_import
if not has_binding(api):
File "C:\Python34\lib\site-packages\lantz\utils\qt_loaders.py", line 146, in has_binding
return check_version(mod.version, '1.0.3')
AttributeError: 'module' object has no attribute 'version'

However, I don't get an error when I run this code:

from lantz.log import log_to_screen, DEBUG
log_to_screen(DEBUG)
<logging.Logger object at 0x04B0A9F0>

I appreciate any suggestions.

Thank you,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant