Error for importing quantiacs module
-
import qnt.output as qnout
import qnt.ta as qnta
import qnt.stats as qns
import qnt.data as qndataFile "/usr/local/lib/python3.7/site-packages/python_utils/init.py", line 1, in <module>
from . import (File "/usr/local/lib/python3.7/site-packages/python_utils/converters.py", line 89
if match := regexp.search(input_):
^
SyntaxError: invalid syntaxThere wasn't any error until yesterday, but suddenly I cannot import quantiacs module. Any helps?
-
!pip install --force-reinstall python_utils
should fix the issue.
But I have no idea what would have caused it, the line in converters.py is totally messed up. The only thing that comes to my mind is a cat on the keyboard -
@steel-camel Sorry for the issue, it has been fixed.