cannot import pandas_ta library in jupyter notebook

Viewed 1116

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.

image

1 Answers

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.

Related