25

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

1man
  • 5,216
  • 7
  • 42
  • 56

9 Answers9

24

On Ubuntu, run sudo apt-get install libenchant1c2a

aralar
  • 3,022
  • 7
  • 29
  • 44
  • 17
    Didn't work. This did `sudo apt-get install python-enchant` – pratpor Aug 14 '15 at 10:36
  • 4
    For search engines. Related answers are often what people are actually looking for. Seems like stack exchange is more for looking for general answers than a user-to-user site – lyjackal Mar 01 '19 at 16:23
13

I found the answer in this GitHub page.

In a nutshell, they have not shipped a wheel for the win_amd64 platform yet.

1man
  • 5,216
  • 7
  • 42
  • 56
  • 1
    Is there a resolution to this? I am trying to use it on Windows 10 64 bit in Python 3.4.3. – Bonson Sep 06 '15 at 12:39
  • 2
    One solution is to use 32 bit python 2.7 as mentioned in http://stackoverflow.com/questions/37771227/install-pyenchant-on-a-windows-64-bit-machine (Indigo8's answer) – Kaushik Acharya Jul 14 '16 at 06:30
  • Is there a solution to this for Pydroid? Trying to write on my mobile but its returning this error – Kyoujin Aug 25 '22 at 20:02
13

Resolved: On Win7-64 I ran

pip3 install pyenchant==1.6.6

which seems to be the latest version of PyEnchant that still shipped with Win-64 binaries. Newer versions did not install for me, but this one did.

Art
  • 131
  • 1
  • 2
7

For amazon ubuntu instance use.

yum install enchant 

and then

pip install pyenchant
Chetan Kabra
  • 353
  • 5
  • 10
3

For me, the problem I ran into was that I had an old version of pip. I installed the latest version and was able to download the pyenchant library.

pip install -U pip

MichaelGofron
  • 1,310
  • 4
  • 15
  • 29
2

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.

Sai
  • 21
  • 6
Ottoman Empire
  • 221
  • 2
  • 5
1

On MacOS, you can install it via brew:

brew install enchant
pip install pyenchant
dopexxx
  • 2,298
  • 19
  • 30
1

To run with docker on AWS:

  1. With apt-get:
sudo apt-get update
sudo apt-get -y install enchant-2
  1. With apt:
sudo apt update
sudo apt -y install enchant-2

Thank you

Arpit-Gole
  • 365
  • 2
  • 6
0

I have fix the bugs on the colab.

!apt update !apt install enchant --fix-missing

After fixing the missing files, you could run the enchant.

  • while these instructions may solve the problem, it doesn't explain why or how it answers the question. Please [include an explanation for your code](https://meta.stackoverflow.com/questions/392712/explaining-entirely-code-based-answers), as that really helps to improve the quality of your post. Remember that you are answering the question for readers in the future, and those people might not know the reasons for your code suggestion. – Shanteshwar Inde Feb 04 '22 at 11:19