You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.
File ".../enigmampc/catalyst/catalyst-venv/local/lib/python2.7/site-packages/catalyst/data/loader.py", line 367, in ensure_crypto_benchmark_data
if not has_data_for_dates(daily_close, first_date, last_date):
File ".../enigmampc/catalyst/catalyst-venv/local/lib/python2.7/site-packages/catalyst/data/loader.py", line 97, in has_data_for_dates
return (first <= first_date) and (last >= last_date)
File "pandas/tslib.pyx", line 1106, in pandas.tslib._Timestamp.__richcmp__ (pandas/tslib.c:20503)
File "pandas/tslib.pyx", line 1167, in pandas.tslib._Timestamp._assert_tzawareness_compat (pandas/tslib.c:21519)
then when I re-run it, with this error
File ".../enigmampc/catalyst/catalyst-venv/local/lib/python2.7/site-packages/six.py", line 82, in _import_module
__import__(name)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in <module>
raise ImportError, str(msg) + ', please install the python-tk package'
ImportError: No module named _tkinter, please install the python-tk package
which I could fix with
sudo apt install python-tk
... and then ... it worked, and showed the diagrams.
What I had done before:
mkdir enigmampc
cd enigmampc
git clone https://github.com/enigmampc/catalyst.git
cd catalyst
virtualenv catalyst-venv
source ./catalyst-venv/bin/activate
pip install enigma-catalyst matplotlib
catalyst ingest
cd catalyst/examples/
catalyst run -f buy_and_hodl.py --start 2015-3-1 --end 2017-6-28 --capital-base 100000 -o bah.pickle
@drandreaskrueger thanks for reporting this. The first part of this issue is a duplicate of #18, which was addressed in commit 13d405b, which in turn is part of 0.1.dev7 release: 20a98a3 in the master branch. A newer version has been released since then, and we are on 0.1.dev8. New installs don't cause this issue.
The second issue has been documented in our wiki in the Troubleshooting section of Getting Started with running an algo.
problem: pandas (1st run), python-tk (2nd run)
What did you expect to happen?
that the tutorial runs fine
catalyst run -f buy_and_hodl.py --start 2015-3-1 --end 2017-6-28 --capital-base 100000 -o bah.pickle
What happened instead?
it stops with this error:
then when I re-run it, with this error
which I could fix with
... and then ... it worked, and showed the diagrams.
What I had done before:
my system looks like this
hope that helps?
The text was updated successfully, but these errors were encountered: