I checked the method of importing this package on the Internet, and I also entered the pip command in cmd, but it still cannot be imported. May I ask why?
Why can't I import pybacktest package?
81 Views Asked by Jeff Hung At
2
There are 2 best solutions below
5

Try this on your Jupyter cell:
pip install git+https://github.com/ematvey/pybacktest.git
Link to github https://github.com/ematvey/pybacktest
Edit for your comment:
run the below command on your Jupyter cell.
pip install pandas_datareader
Probably because the kernel of your jupyterhub has not the right environment.
Try to reinstall the package using the terminal of jupyter hub (see new drop box) it will do the trick once you have installed the package and refreshed the kernel.