Course Name: Python for Trading: Basic, Section No: 2, Unit No: 13, Unit type: Notebook
Hello, I am not able to download the package backtrader in my python on my desktop.
!pip install backtrader
File "<stdin>", line 1
!pip install backtrader
^ SyntaxError: invalid syntax >>>
can anyone please help me ?
i can't understand what is happening
Hi Harshit,
If you are in a jupyter notebook then the install command will be something like !pip install backtrader
But if you are running the command in an anaconda prompt, then you need to write the command without the exclamation mark like this - pip install backtrader
Hope this helps!
Thanks for answering my doubt.