Canvas Data 2 - New installation GCC Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024
03:19 PM
I'm updating our init and sync code to reflect what is prescribed in the documentation's Instructions and I am receiving the following error when i run pip install
× Building wheel for tsv2py (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
compiling with AVX2
compiling with limited C API
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-310
creating build/lib.linux-aarch64-cpython-310/tsv
copying tsv/helper.py -> build/lib.linux-aarch64-cpython-310/tsv
copying tsv/__init__.py -> build/lib.linux-aarch64-cpython-310/tsv
running egg_info
writing tsv2py.egg-info/PKG-INFO
writing dependency_links to tsv2py.egg-info/dependency_links.txt
writing top-level names to tsv2py.egg-info/top_level.txt
reading manifest file 'tsv2py.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'tsv2py.egg-info/SOURCES.txt'
copying tsv/parser.pyi -> build/lib.linux-aarch64-cpython-310/tsv
copying tsv/py.typed -> build/lib.linux-aarch64-cpython-310/tsv
running build_ext
building 'tsv.parser' extension
creating build/temp.linux-aarch64-cpython-310
creating build/temp.linux-aarch64-cpython-310/lib
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPy_LIMITED_API=0x03080000 -Ilib -I/tmp/venv6nmns471/include -I/usr/include/python3.10 -c lib/tsv_parser.c -o build/temp.linux-aarch64-cpython-310/lib/tsv_parser.o -fvisibility=hidden -mavx2
gcc: error: unrecognized command line option ‘-mavx2’
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tsv2py
Failed to build tsv2py
ERROR: Could not build wheels for tsv2py, which is required to install pyproject.toml-based projects
Some preliminary investigating makes me think the `tsv2py` dependency in incompatible with Mac M1 computers.