Error installing NLTK in Python 3.4 -
i'm transitioning python 3.4 , trying install nltk. pyyaml , numpy installed, setuptools , pip - in newest version- win 7 64bit. however, nltk puzzles me error no matter how try install it. here cmd-output of last try. btw, haven't changed files in way ;)
does know nltk , running?
c:\python34\scripts\nltk-3.0a4>python setup.py install running install traceback (most recent call last): file "setup.py", line 81, in <module> zip_safe=true, # since normal files present too? file "c:\python34\lib\distutils\core.py", line 148, in setup dist.run_commands() file "c:\python34\lib\distutils\dist.py", line 955, in run_commands self.run_command(cmd) file "c:\python34\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() file "c:\python34\lib\site-packages\setuptools\command\install.py", line 65, n run self.do_egg_install() file "c:\python34\lib\site-packages\setuptools\command\install.py", line 101, in do_egg_install cmd.ensure_finalized() # finalize before bdist_egg munges install cmd file "c:\python34\lib\distutils\cmd.py", line 107, in ensure_finalized self.finalize_options() file "c:\python34\lib\site-packages\setuptools\command\easy_install.py", line 304, in finalize_options self.index_url, search_path = self.shadow_path, hosts=hosts, file "c:\python34\lib\site-packages\setuptools\package_index.py", line 269, in __init__ environment.__init__(self,*args,**kw) file "c:\python34\lib\site-packages\pkg_resources.py", line 799, in __init__ self.scan(search_path) file "c:\python34\lib\site-packages\pkg_resources.py", line 829, in scan self.add(dist) file "c:\python34\lib\site-packages\pkg_resources.py", line 849, in add dists.sort(key=operator.attrgetter('hashcmp'), reverse=true) typeerror: unorderable types: str() < nonetype()
sorry, obvious things work...
in case, double clicking setup.py file nltk folder, allowing windows execute python , installed beautifully.
Comments
Post a Comment