Problems installing pyenchant 2.0.0 via pip

1,311 views
Skip to first unread message

Viktor Ransmayr

unread,
Dec 12, 2017, 11:11:11 PM12/12/17
to pyenchant users
Hello community,

I'm having problems installing pyenchat 2.0.0 via pip into a virtual environment using Python 3.6 on Windows 10. - Here's the log:

<Log>

(leo-57-usr) PS C:\Users\Viktor\leo-57-usr> python --version
Python 3.6.3
(leo-57-usr) PS C:\Users\Viktor\leo-57-usr> pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
alabaster (0.7.10)
Babel (2.5.1)
certifi (2017.11.5)
chardet (3.0.4)
colorama (0.3.9)
docutils (0.14)
idna (2.6)
imagesize (0.7.1)
Jinja2 (2.10)
leo (5.7.dev344)
MarkupSafe (1.0)
pip (9.0.1)
Pygments (2.2.0)
PyQt5 (5.9.2)
pytz (2017.3)
requests (2.18.4)
setuptools (28.8.0)
sip (4.19.6)
six (1.11.0)
snowballstemmer (1.2.1)
Sphinx (1.6.5)
sphinxcontrib-websupport (1.0.1)
urllib3 (1.22)
(leo-57-usr) PS C:\Users\Viktor\leo-57-usr> pip install pyenchant
Collecting pyenchant
  Using cached pyenchant-2.0.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Viktor\AppData\Local\Temp\pip-build-x5qvl5kn\pyenchant\setup.py", line 212, in <module>
        import enchant
      File "C:\Users\Viktor\AppData\Local\Temp\pip-build-x5qvl5kn\pyenchant\enchant\__init__.py", line 92, in <module>
        from enchant import _enchant as _e
      File "C:\Users\Viktor\AppData\Local\Temp\pip-build-x5qvl5kn\pyenchant\enchant\_enchant.py", line 145, in <module>
        raise ImportError(msg)
    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.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Viktor\AppData\Local\Temp\pip-build-x5qvl5kn\pyenchant\
(leo-57-usr) PS C:\Users\Viktor\leo-57-usr>

</Log>

Any idea what I did wrong - and/or - how I can force that the available wheel is selected? - TIA!

With kind regards,

Viktor

ry...@rfk.id.au

unread,
Dec 13, 2017, 6:15:59 PM12/13/17
to Viktor Ransmayr, pyenchant users
Hi Viktor,

Are you using a 64-bit build of python by any chance? The current
binary wheels don't work on 64-bit windows, because I simply don't have
the time or energy to dive into the details of building them. There's a
lot of history on the issue here:

https://github.com/rfk/pyenchant/issues/42


Cheers,

Ryan
> --
> You received this message because you are subscribed to the Google Groups
> "pyenchant users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pyenchant-use...@googlegroups.com.
> To post to this group, send email to pyencha...@googlegroups.com.
> Visit this group at https://groups.google.com/group/pyenchant-users.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages