Hello, I have 1 problem when I import PyTangoArchiving, Can you help me
Closed this issue · 3 comments
Traceback (most recent call last):
File "./1.py", line 4, in
import PyTangoArchiving
File "/usr/local/lib/python2.7/dist-packages/PyTangoArchiving-8.15.0-py2.7.egg/PyTangoArchiving/init.py", line 73, in
from schemas import Schemas
File "/usr/local/lib/python2.7/dist-packages/PyTangoArchiving-8.15.0-py2.7.egg/PyTangoArchiving/schemas.py", line 76, in
class Schemas(object):
File "/usr/local/lib/python2.7/dist-packages/PyTangoArchiving-8.15.0-py2.7.egg/PyTangoArchiving/schemas.py", line 129, in Schemas
@fn.Cached(expire=60.)
AttributeError: 'module' object has no attribute 'Cached'
tango-cs@tangobox:~/imatrex/hdbpp$
I have resolved it.
Hi @dvjdjvu , thanks for closing the topic. But, may I know the nature of the error? There' s something wrong with the package in pip?
This package is actually valid only for the MySQL version of hdbpp, we plan to release soon the Timescale/Postgresql version.
My default pip was not pip2, It was pip3.7. I have installed PyTangoArchiving from source, but fantango installed from pip(using pip3.7)