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

Python-Levenshtein 0.12.2 produces an error during installation #778

Open
InputMoe opened this issue May 14, 2021 · 0 comments
Open

Python-Levenshtein 0.12.2 produces an error during installation #778

InputMoe opened this issue May 14, 2021 · 0 comments

Comments

@InputMoe
Copy link

Issue

During installation of version 0.22.0 with:
curl -kL https://github.com/tizonia/tizonia-openmax-il/raw/master/tools/install.sh | bash
on a Raspberry Pi 4, it fails when installing the python-levensthein package.

The package can be installed without problems with pip install python-levenshtein in the version 0.12.2 the installation script also requests.

Installing it and run the installation again does not help.

Steps to Reproduce

  1. run curl -kL https://github.com/tizonia/tizonia-openmax-il/raw/master/tools/install.sh | bash

If more information about the system is needed, please reply.

Expected behavior:

Since the python-levenshtein module is already correctly installed, installation should work fine.

Actual behaviour:

curl -kL https://github.com/tizonia/tizonia-openmax-il/raw/master/tools/install.sh | bash

Collecting python-Levenshtein Using cached python-Levenshtein-0.12.2.tar.gz (50 kB) ERROR: Command errored out with exit status 1: command: /usr/local/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-94gglktv/python-levenshtein/setup.py'"'"'; __file__='"'"'/tmp/pip-install-94gglktv/python-levenshtein/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-5r7z0z65 cwd: /tmp/pip-install-94gglktv/python-levenshtein/ Complete output (11 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 23, in <module> from setuptools.dist import Distribution File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 34, in <module> from setuptools import windows_support File "/usr/local/lib/python3.9/site-packages/setuptools/windows_support.py", line 2, in <module> import ctypes File "/usr/local/lib/python3.9/ctypes/__init__.py", line 8, in <module> from _ctypes import Union, Structure, Array ModuleNotFoundError: No module named '_ctypes' ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Reproduces how often:

100%

Versions

0.22.0

Installation Method Used

curl -kL https://github.com/tizonia/tizonia-openmax-il/raw/master/tools/install.sh | bash

Additional Information

Please help ;-)

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

1 participant