The version of Python supported by Anaconda included 3.3, so I updated it. I had to do it exactly as it was officially written.
http://docs.continuum.io/conda/intro.html
conda update conda
Suddenly I found it here here though it is not officially written here. If you don't do this, the activation script will return an error and you'll be hooked.
conda create -n py33 python=3.3 anaconda
It will take a while.
source ~/anaconda/bin/activate py33
(py33) ~
% python
Python 3.3.2 |Anaconda 1.7.0 (x86_64)| (default, Aug 5 2013, 15:07:24)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Try using NLTK
>>> import nltk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'nltk'
>>>
that. Apparently anaconda's py33 environment doesn't include nltk. Honke seems to have started to support python3.x, but it is still alpha version. Is it not yet included in the anaconda repository? Sorry.
Recommended Posts