LabPy / lantz

Lantz is an automation and instrumentation toolkit with a clean, well-designed and consistent interface. It provides a core of commonly used functionalities for building applications that communicate with scientific instruments allowing rapid application prototyping, development and testing. Lantz benefits from Python’s extensive library flexibility as a glue language to wrap existing drivers and DLLs.
http://lantz.readthedocs.org/
Other
134 stars 65 forks source link

Import lantz issue pyqt #80

Open kayfor2 opened 6 years ago

kayfor2 commented 6 years ago

I use Anaconda 3.6 64 bit on windows, and I get the following error when I try to import lantz. Can you please help?

import lantz Traceback (most recent call last):

File "", line 1, in import lantz

File "C:\ProgramData\Anaconda3\lib\site-packages\lantz__init__.py", line 25, in from .driver import Driver, Feat, DictFeat, Action, initialize_many, finalize_many

File "C:\ProgramData\Anaconda3\lib\site-packages\lantz\driver.py", line 19, in from .utils.qt import MetaQObject, SuperQObject, QtCore

File "C:\ProgramData\Anaconda3\lib\site-packages\lantz\utils\qt.py", line 27, in (QT_API, QT_API_PYSIDE, QT_API_PYQT, QT_MOCK))

RuntimeError: Invalid Qt API 'pyqt5', valid values are: 'pyside', 'pyqt', 'mock'

vascotenner commented 6 years ago

The current master branch does only support Qt4. It look like you have installed Qt5.

See also #79