You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I am trying to put a JamSpell into a docker but I have faced the following problem.
My Dockerfile is
FROM python:3.6.5-stretch
RUN apt-get update && \
apt-get -y install swig3.0
RUN pip3 install jamspell
And during the installation, I can see the next log
writing manifest file 'jamspell.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
Checking .pth file support in build/bdist.linux-x86_64/wheel/
/usr/local/bin/python -E -c pass
TEST FAILED: build/bdist.linux-x86_64/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.linux-x86_64/wheel/
and your PYTHONPATH environment variable currently contains:
''
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.
----------------------------------------
Failed building wheel for jamspell
Running setup.py clean for jamspell
Failed to build jamspell
Installing collected packages: jamspell
Running setup.py install for jamspell: started
Running setup.py install for jamspell: finished with status 'done'
Could not find .egg-info directory in install record for jamspell from https://files.pythonhosted.org/packages/30/20/37b376f21547222b5eb1ee08cc99b42dfa84d31166bb99ae195d43372034/jamspell-0.0.10.tar.gz#sha256=204f20c96a0c69a61c091283630409ef1664403a0475934db0432a66681978ce
Successfully installed jamspell
Do you know what can be the reason of such an error?
The text was updated successfully, but these errors were encountered:
Hello! I am trying to put a JamSpell into a docker but I have faced the following problem.
My Dockerfile is
And during the installation, I can see the next log
Do you know what can be the reason of such an error?
The text was updated successfully, but these errors were encountered: