Toboggan runs on Python2.7. I know this is a bit old-school but so am I 😉
To get it to run on Python3.x all it needs is to change the print statements. Perhaps I will change this in the near future.
To download the code, open a terminal and run:
git clone https://github.com/rodler/toboggan.git
Then type:
make run
or, if you are on Windows (I'm a Linux geek, sorry) and type:
python lesson1.py
This should run one of the examples in the code. You will probably see some screen outputs and in the following posts I will explain all of the examples in detail.
For now, feel happy that you got the system to run.
If you're on Python3.x you may want to install Python2.7 in a virtual environment. There is a good article here. Just replace
mkvirtualenv -p python3 marketcrush
with
mkvirtualenv -p python2 toboggan
And all the other "marketcrush" with Toboggan
The rest should be the same. Too easy...
If you are missing any Python packages such as Numpy or Matplotlib, just install them with
sudo pip install numpy
or drop the sudo if you are in a virtual environment. Leave a comment if you have any issues.
Please be aware that my time is very limited, so I probably won't be able to help you with basic computer issues. Refer to Stackoverflow for help. This is how I learned.
No comments:
Post a Comment