在Windows中找不到附魔模块

2024-05-29 10:20:43 发布

您现在位置:Python中文网/ 问答频道 /正文

我试着在Windows上使用附魔模块。 我安装了PyEnchant exe,并验证了它是否安装在C:\Users\User\.windows-build-tools\python27\Lib\site-packages\enchant

但是当我尝试import enchant时,我得到ImportError: No module named enchant。在

怎么回事?在

上述文件夹的内容:

checker
errors.py
errors.pyc
errors.pyo
iconv.dll
intl.dll
lib
libenchant-1.dll
libglib-2.0-0.dll
libgmodule-2.0-0.dll
pypwl.py
pypwl.pyc
pypwl.pyo
share
tests.py
tests.pyc
tests.pyo
tokenize
utils.py
utils.pyc
utils.pyo
_enchant.py
_enchant.pyc
_enchant.pyo
__init__.py
__init__.pyc
__init__.pyo

Tags: 模块pyinitwindowstestsutilsexeenchant

热门问题