Solution
First install:
pip install mplfinance
Then use the following code in the code to be like use finance
:
import mplfinance
If it is an existing code, just rename it:
import mplfinance as finance
Problem resolution
finance
Has been matplotlib
deprecated in the new version , just install additional