ImportError: cannot import name wordnet
2013-10-18 16:11
453 查看
ubuntu安装好nltk,调用时,出现问题:
解决:
Install Setuptools: http://pypi.python.org/pypi/setuptools
Install Pip: run sudo easy_install pip
Install Numpy (optional): run sudo pip install -U numpy
Install PyYAML and NLTK: run sudo pip install -U pyyaml nltk
Test installation: run python then type import nltk
解决:
Install Setuptools: http://pypi.python.org/pypi/setuptools
Install Pip: run sudo easy_install pip
Install Numpy (optional): run sudo pip install -U numpy
Install PyYAML and NLTK: run sudo pip install -U pyyaml nltk
Test installation: run python then type import nltk
相关文章推荐
- Win10下:ImportError: cannot import name NUMPY_MKL
- 解决bs4在Python 3.6下出现“ImportError: cannot import name 'HTMLParseError'”错误
- 启动targetcli时遭遇ImportError: cannot import name ALUATargetPortGroup故障
- ImportError: cannot import name namedtuple
- 网络爬虫在Python 3.5下出现“ cannot import name 'HTMLParseError'”错误解决办法
- 解决问题:ImportError: cannot import name MAXREPEAT
- ImportError: cannot import name 'ctc_ops'解决办法
- ImportError cannot import name BytesIO when import caffe
- ImportError: cannot import name HTTPSHandler
- ImportError: cannot import name activity_l2
- Scrapy throws ImportError: cannot import name xmlrpc_client
- 解决bs4在Python 3.5下出现“ImportError: cannot import name 'HTMLParseError'”错误
- "ImportError: cannot import name OVSLegacyKernelSwitch"
- ASP.NET报错——Master Page frameworkName: Value cannot be null error
- 'ImportError: cannot import name IncompleteRead' 错误解决
- pycharm运行代码出现:ImportError: cannot import name BeautifulSoup
- ImportError: cannot import name mkdtemp
- Python: ImportError: cannot import name 'BeautifulSoup'
- google api ImportError: cannot import name AdWordsClient
- ImportError: cannot import name IncompleteRead