-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting a backtester import error #18
Comments
Worked around it - FYI |
Saw that this is fixed. But mentioning it anyways: you need the auquan toolbox (pip install -U auquan_toolbox) in the same path where you are running your notebook from. |
from backtester.dataSource.yahoo_data_source import YahooStockDataSource
|
ModuleNotFoundError Traceback (most recent call last) ModuleNotFoundError: No module named 'backtester' |
you need the auquan toolbox (pip install -U auquan_toolbox) in the same path where you are running your notebook from. |
@caseyyangsissi it seems that the toolbox might be installed in a different path compared to where you are running the notebook from. This sometimes happens if you have multiple versions of python installed. The path that the notebook is importing packages from is different from the path where the commandline is installing packages. Please see a fix here: https://www.lucypark.kr/blog/2013/02/10/when-python-imports-and-ipython-does-not/ |
see screenshot
![screen shot 2018-03-13 at 9 19 05 pm](https://user-images.githubusercontent.com/26651479/37381711-3bf23bb8-2704-11e8-8d77-7b768cb99320.png)
The text was updated successfully, but these errors were encountered: