Created
May 20, 2021 17:26
-
-
Save eliheuer/7aebbf72e58aca48c32592574a4f6fe0 to your computer and use it in GitHub Desktop.
ttfautohint-py-0.4.4.dev5+gb61154f.d20210520.zip Error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MINI-M1 π ~/Py/venvs | |
| 10926 β― : pip install ~/Downloads/ttfautohint-py-0.4.4.dev5+gb61154f.d20210520.zip [~] | |
| Processing /Users/eli/Downloads/ttfautohint-py-0.4.4.dev5+gb61154f.d20210520.zip | |
| Using legacy 'setup.py install' for ttfautohint-py, since package 'wheel' is not installed. | |
| Installing collected packages: ttfautohint-py | |
| Running setup.py install for ttfautohint-py ... error | |
| ERROR: Command errored out with exit status 2: | |
| command: /Users/eli/Py/venvs/ttfautohint-py-test/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/pip-req-build-lqxf4cj6/setup.py'"'"'; __file__='"'"'/private/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/pip-req-build-lqxf4cj6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/pip-record-a2feogn9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/eli/Py/venvs/ttfautohint-py-test/include/site/python3.9/ttfautohint-py | |
| cwd: /private/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/pip-req-build-lqxf4cj6/ | |
| Complete output (37 lines): | |
| warning: wheel package is not installed | |
| WARNING: The wheel package is not available. | |
| running install | |
| running build | |
| running build_py | |
| creating build | |
| creating build/lib.macosx-11-arm64-3.9 | |
| creating build/lib.macosx-11-arm64-3.9/ttfautohint | |
| copying src/python/ttfautohint/options.py -> build/lib.macosx-11-arm64-3.9/ttfautohint | |
| copying src/python/ttfautohint/memory.py -> build/lib.macosx-11-arm64-3.9/ttfautohint | |
| copying src/python/ttfautohint/_version.py -> build/lib.macosx-11-arm64-3.9/ttfautohint | |
| copying src/python/ttfautohint/__init__.py -> build/lib.macosx-11-arm64-3.9/ttfautohint | |
| copying src/python/ttfautohint/cli.py -> build/lib.macosx-11-arm64-3.9/ttfautohint | |
| copying src/python/ttfautohint/errors.py -> build/lib.macosx-11-arm64-3.9/ttfautohint | |
| copying src/python/ttfautohint/progress.py -> build/lib.macosx-11-arm64-3.9/ttfautohint | |
| copying src/python/ttfautohint/_compat.py -> build/lib.macosx-11-arm64-3.9/ttfautohint | |
| copying src/python/ttfautohint/info.py -> build/lib.macosx-11-arm64-3.9/ttfautohint | |
| copying src/python/ttfautohint/__main__.py -> build/lib.macosx-11-arm64-3.9/ttfautohint | |
| running build_ext | |
| running 'make' | |
| cd /private/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/pip-req-build-lqxf4cj6/src/c/freetype2; ./autogen.sh | |
| ./autogen.sh: line 102: aclocal: command not found | |
| ./autogen.sh: line 55: test: 1: unary operator expected | |
| ./autogen.sh: line 59: test: 1: unary operator expected | |
| ./autogen.sh: line 67: test: 10: unary operator expected | |
| ./autogen.sh: line 71: test: 10: unary operator expected | |
| ./autogen.sh: line 102: autoconf: command not found | |
| ./autogen.sh: line 55: test: 2: unary operator expected | |
| ./autogen.sh: line 59: test: 2: unary operator expected | |
| ./autogen.sh: line 67: test: 62: unary operator expected | |
| ./autogen.sh: line 71: test: 62: unary operator expected | |
| FreeType 2.10.4: | |
| generating `configure.ac' | |
| running `aclocal -I . --force' | |
| ./autogen.sh: line 15: aclocal: command not found | |
| error while running `aclocal -I . --force' | |
| make: *** [/private/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/pip-req-build-lqxf4cj6/build/temp/.freetype-stamp] Error 1 | |
| ---------------------------------------- | |
| ERROR: Command errored out with exit status 2: /Users/eli/Py/venvs/ttfautohint-py-test/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/pip-req-build-lqxf4cj6/setup.py'"'"'; __file__='"'"'/private/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/pip-req-build-lqxf4cj6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/pip-record-a2feogn9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/eli/Py/venvs/ttfautohint-py-test/include/site/python3.9/ttfautohint-py Check the logs for full command output. |
Author
Author
After that I had to restart my iterm to get:
10937 β― : bison --version [~]
bison (GNU Bison) 3.7.6
Written by Robert Corbett and Richard Stallman.
Author
The install looks like it worked, but I get this:
10939 β― : pip install ~/Downloads/ttfautohint-py-0.4.4.dev5+gb61154f.d20210520.zip [~]
Processing /Users/eli/Downloads/ttfautohint-py-0.4.4.dev5+gb61154f.d20210520.zip
Using legacy 'setup.py install' for ttfautohint-py, since package 'wheel' is not installed.
Installing collected packages: ttfautohint-py
Running setup.py install for ttfautohint-py ... done
Successfully installed ttfautohint-py-0.4.4.dev5+gb61154f.d20210520
(ttfautohint-py-test)
MINI-M1 π ~/Py/venvs
10940 β― : python [~]
Python 3.9.5 (default, May 3 2021, 19:12:05)
[Clang 12.0.5 (clang-1205.0.22.9)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ttfautohint
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/eli/Py/venvs/ttfautohint-py-test/lib/python3.9/site-packages/ttfautohint/__init__.py", line 141, in <module>
libttfautohint = TALibrary()
File "/Users/eli/Py/venvs/ttfautohint-py-test/lib/python3.9/site-packages/ttfautohint/__init__.py", line 46, in __init__
self.lib = lib = cdll.LoadLibrary(path, **kwargs)
File "/opt/homebrew/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/__init__.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/opt/homebrew/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/eli/Py/venvs/ttfautohint-py-test/lib/python3.9/site-packages/ttfautohint/libttfautohint.dylib, 6): no suitable image found. Did find:
/Users/eli/Py/venvs/ttfautohint-py-test/lib/python3.9/site-packages/ttfautohint/libttfautohint.dylib: mach-o, but wrong architecture
/Users/eli/Py/venvs/ttfautohint-py-test/lib/python3.9/site-packages/ttfautohint/libttfautohint.dylib: mach-o, but wrong architecture
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did this stuff from the CLI: