Good day!
I’m trying to build an environment using: Python 2.7, Sardana 2.8.3
- by reading documentation I saw I need to respect versions for the following pacakges:
ITango = 0.0.1 , lxml >= 2.1 , PyTango >= 7.2. - I used PyQt4, but I’m not sure if exit dependencies between Taurus version and Python version also with PyQt version (on documentation fr PyQt should work with both PyQt4 and PyQt5).
I end up having this error after trying to run “spock” in comand line
$ spock
MainThread INFO 2020-05-08 10:33:58,250 TaurusRootLogger: Using PyQt4 (v4.11.3 with Qt 4.8.6 and Python 2.7.15)
c:\python27\lib\site-packages\IPython\utils\traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
warn("IPython.utils.traitlets has moved to a top-level traitlets package.")
c:\python27\lib\site-packages\IPython\qt.py:13: ShimWarning: The `IPython.qt` package has been deprecated. You should import from qtconsole instead.
"You should import from qtconsole instead.", ShimWarning)
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Python27\Scripts\spock.exe\__main__.py", line 9, in <module>
File "c:\python27\lib\site-packages\sardana\spock\__init__.py", line 34, in main
run()
File "c:\python27\lib\site-packages\sardana\spock\ipython_01_00\genutils.py", line 1363, in run
check_requirements()
File "c:\python27\lib\site-packages\sardana\spock\ipython_01_00\genutils.py", line 565, in check_requirements
import itango
File "c:\python27\lib\site-packages\itango.py", line 3, in <module>
from PyTango.ipython import *
AttributeError: 'module' object has no attribute 'load_ipython_extension'
Cheers ! ![]()