Problem installing pyenchant 2.0.0 via pip

10 views
Skip to first unread message

Viktor Ransmayr

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

I'm having problems installing pyenchant into a virtual Pthon 3.6 environment 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'm doing wrong and/ or how I can force that the wheel will be used for the installation? - TIA!

With kind regards,

Viktor

Reply all
Reply to author
Forward
0 new messages