Open CYLEE21 opened 8 months ago
Please try adding from future import annotations
at the beginning of the code.
It shows the following error
ImportError: cannot import name 'annotations' from 'future'
is future this pacakge? https://pypi.org/project/future/
I think it's a built in package.
https://docs.python.org/3/library/__future__.html
Could you try from __future__ import annotations
?
add string ',annotations' at the end of line 27 in stockstats.py
add string ',annotations' at the end of line 27 in stockstats.py在 stockstats.py 中第 27 行末尾添加字符串 ',annotations'
it,worked.
This doesnt work for me
from future import unicode_literals, annotations from stockstats import wrap
Traceback (most recent call last):
File "/Users/dshetyo/PycharmProjects/timeseries-predictor/model_trainer.py", line 10, in
My original problem has been solved by changing the python version. This library has specified the recommened python version. I hope this helps.
What's the python version that has this error?
does not work, it shows the following error messages.