ImportError: The 'enchant' C library was not found. Please install it via your OS package manager, or use a pre-built binary wheel from PyPI

前端 未结 6 674
我在风中等你
我在风中等你 2021-02-01 04:50

The question is why I see the error message in the title when trying to import enchant. I am using Win64.

6条回答
  •  长发绾君心
    2021-02-01 05:16

    On Windows x64 I've solved this problem as follows:

    • Click link https://pypi.org/project/pyenchant/#files and download pyenchant-2.0.0.win32.exe
    • Launch it and while installing it using the installation wizard you must specify your python interpreter location which in my case is:

    C:\Users\Asus\AppData\Local\Programs\Python\Python36\python.exe

    Important:İf you use python32 interpreter you must specify this location:

    C:\Users\Asus\AppData\Local\Programs\Python\Python36-32\python.exe

    if you use python 3.5 interpreter version your location may be like this:

    C:\Users\Asus\AppData\Local\Programs\Python\Python35\python.exe

    and finish the installation. Pip commands will work now for other dependency packages.

提交回复
热议问题