I use jupyter notebook and try to use pandas_ta library. However, I can't import it. the error show that "ModuleNotFoundError: No module named 'dataclasses'"
Please help me fix this.
I use jupyter notebook and try to use pandas_ta library. However, I can't import it. the error show that "ModuleNotFoundError: No module named 'dataclasses'"
Please help me fix this.
Make sure that pandas_ta is installed. If not, run:
! pip install pandas-ta
Then, import pandas_ta.
It worked for me with Jupyter Notebook 6.4.5 and Python 3.8.8.
In case this is a current issue for anyone else, "import pandas_ta" didn't work for me. Instead I tried "import ta" and it worked.