JamSpell icon indicating copy to clipboard operation
JamSpell copied to clipboard

Cannot install jamspell

Open MarcMeketonVillanova opened this issue 6 years ago • 1 comments

I am using the Anaconda distribution, Python 3.6, 64-bit on a Windows 7 machine.

I have installed swig, version 3.

when I do pip install jamspell, I get back an error and I haven't a clue how to fix this. I've tried various PYTHONPATH but none worked. Help would be very much appreciated.

  c:\anaconda3_64\pythonw.exe -E -c pass
  TEST FAILED: build\bdist.win-amd64\wheel\.\ does NOT support .pth files
  error: bad install directory or PYTHONPATH

  You are attempting to install a package to a directory that is not
  on PYTHONPATH and which Python does not read ".pth" files from.  The
  installation directory you specified (via --install-dir, --prefix, or
  the distutils default setting) was:

      build\bdist.win-amd64\wheel\.\

  and your PYTHONPATH environment variable currently contains:

      'c:\\Anaconda3_64\\Lib'

  Here are some of your options for correcting the problem:

  * You can choose a different installation directory, i.e., one that is
    on PYTHONPATH or supports .pth files

  * You can add the installation directory to the PYTHONPATH environment
    variable.  (It must then also be on PYTHONPATH whenever you run
    Python and want to use the package(s) you are installing.)

  * You can set up the installation directory to support ".pth" files by
    using one of the approaches described here:

    https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations


  Please make the appropriate changes for your system and try again.

MarcMeketonVillanova avatar Aug 23 '18 15:08 MarcMeketonVillanova

Have you tried installing visual c++ build tools and then pip install jamspell. It worked for me. I am not using Anaconda however.

sayak1711 avatar Sep 25 '18 04:09 sayak1711