Trying to install python package:NLTK -


my environment ubuntu 12.04

i have python 3 installed in unusual location: /drive1/python_3/current. current soft link python-3.4.2. done mimic installation on cluster running hadoop have maintain instance of python, our system people not install latest version.

i'm following instructions listed in: http://www.nltk.org/install.html

the first step install setuptools using ez_install.py.

i cd ~/downloads , execute ez_install.py #! line changed /drive1/python_3/current/python

i following:

(629):thompsonr >>> ez_setup.py  extracting in /tmp/tmpdorn89wm working in /tmp/tmpdorn89wm/setuptools-15.2 installing setuptools traceback (most recent call last):   file "setup.py", line 170, in <module>     dist = setuptools.setup(**setup_params)   file "/drive1/python_3/current/lib/python3.4/distutils/core.py", line 108, in setup     _setup_distribution = dist = klass(attrs)   file "/tmp/tmpdorn89wm/setuptools-15.2/setuptools/dist.py", line 270, in __init__     if isinstance(self.metadata.version, numbers.number): attributeerror: 'module' object has no attribute 'number' went wrong during installation. see error message above. 


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -