[Python] AttributeError in Python - Jupyter Notebook

Discussão em 'Python' iniciado por Stack, Maio 31, 2025.

  1. Stack

    Stack Membro Participativo

    When I try to run the following codes in Jupyter Notebook using Python 3

    from backtesting import Backtest, Strategy

    I am faced with an AttributeError attached. Any idea what I should do to resolve this? enter image description here

    AttributeError Traceback (most recent call last) ~\AppData\Local\Temp\ipykernel_60048\29165957.py in ----> 1 from backtesting import Backtest, Strategy

    ~\anaconda3\lib\site-packages\backtesting_init_.py in 66 version = '?.?.?' # Package not installed

    Continue reading...

Compartilhe esta Página