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

[install issue] ld: unsupported tapi file type '!tapi-tbd' in YAML file #27

Open
ddkwing opened this issue Apr 27, 2023 · 2 comments
Open

Comments

@ddkwing
Copy link

ddkwing commented Apr 27, 2023

I have encounted a issue when I run:
pip install git+https://github.com/abdeladim-s/subsai

---details----
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libSystem.tbd' for architecture arm64
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/opt/homebrew/opt/llvm/bin/clang' failed with exit code 1
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /Users/m/anaconda3/bin/python -u -c '
exec(compile('"'"''"'"''"'"'

This is -- a caller that pip uses to run setup.py

- It imports setuptools before invoking setup.py, to enable projects that directly

import from distutils.core to work with newer packaging standards.

- It provides a clear error message when setuptools is not installed.

- It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so

setuptools doesn'"'"'t think the script is -c. This avoids the following warning:

manifest_maker: standard file '"'"'-c'"'"' not found".

- It generates a shim setup.py, for handling setup.cfg-only projects.

import os, sys, tokenize

try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute setup.py since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)

file = %r
sys.argv[0] = file

if os.path.exists(file):
filename = file
with tokenize.open(file) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"

exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/private/var/folders/bv/x8bqw0hd5hz7fdsvcdl9f43r0000gn/T/pip-install-fzmlj4fc/webrtcvad_3f3618882ee14b95b613dfb742749d32/setup.py'"'"',), "", "exec"))' bdist_wheel -d /private/var/folders/bv/x8bqw0hd5hz7fdsvcdl9f43r0000gn/T/pip-wheel-t5tnh_6c
cwd: /private/var/folders/bv/x8bqw0hd5hz7fdsvcdl9f43r0000gn/T/pip-install-fzmlj4fc/webrtcvad_3f3618882ee14b95b613dfb742749d32/
Building wheel for webrtcvad (setup.py) ... error
ERROR: Failed building wheel for webrtcvad

@ddkwing
Copy link
Author

ddkwing commented Apr 27, 2023

I have reinstalled, CommandLineTools, and rerun xcode-select --install, but it's not working

@abdeladim-s
Copy link
Owner

@ddkwing, What OS are you using ?
I think there are no prebuilt wheels of webrtcvad for your system.
Could you please try this and see if it is working:

pip install webrtcvad

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