You want to install a virtual environment where python2.7 is your default python interpreter. This next step is usually optional, but since you have anaconda installed, this would be mandatory for you. Pip will be used to install libraries such as pandas, sklearn and the python weka wrapper. Installing it on Mac OS X is different from Linux distributions like Ubuntu and can be followed here (Remember when you typed /usr/bin/python pip freeze? It complained that you don't have pip and you need it). The first thing you need to do is install python's officially-sanctioned package manager called PIP. The only issue would be to setting up your python instance. Apparently, I could not find a way to configure weka with Anaconda, however there is an easy way to configure Python with Weka. Ok so there is a small problem that I found. If you want to install python 3, you may do so first and then follow the rest of the tutorial making changes for python2 with python3 So the first thing you may want to do is figure out which default python you have by typing /usr/bin/python -Vīy default Mac OS X has python 2.7 installed and so I will continue the tutorial with that in mind.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |