Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install jamspell #46

Open
MarcMeketonVillanova opened this issue Aug 23, 2018 · 1 comment
Open

Cannot install jamspell #46

MarcMeketonVillanova opened this issue Aug 23, 2018 · 1 comment

Comments

@MarcMeketonVillanova
Copy link

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.
@sayak1711
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants