티스토리 뷰
공부
[MacOSX] ERROR: Failed building wheel for mysqlclient (solution: brew install mysql)
승가비 2024. 1. 29. 12:23728x90
Building wheels for collected packages: mysqlclient
Building wheel for mysqlclient (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for mysqlclient (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [46 lines of output]
Trying pkg-config --exists mysqlclient
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
Trying pkg-config --exists mariadb
# Options for building extension module:
extra_compile_args: ['-I/opt/homebrew/Cellar/mariadb/11.2.2/include/mysql', '-std=c99']
extra_link_args: ['-L/opt/homebrew/Cellar/mariadb/11.2.2/lib', '-lmariadb', '-lssl', '-lcrypto']
define_macros: [('version_info', (2, 2, 1, 'final', 0)), ('__version__', '2.2.1')]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-12-arm64-cpython-311
creating build/lib.macosx-12-arm64-cpython-311/MySQLdb
copying src/MySQLdb/release.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb
copying src/MySQLdb/cursors.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb
copying src/MySQLdb/connections.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb
copying src/MySQLdb/__init__.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb
copying src/MySQLdb/times.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb
copying src/MySQLdb/converters.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb
copying src/MySQLdb/_exceptions.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb
creating build/lib.macosx-12-arm64-cpython-311/MySQLdb/constants
copying src/MySQLdb/constants/FLAG.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb/constants
copying src/MySQLdb/constants/CLIENT.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb/constants
copying src/MySQLdb/constants/__init__.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb/constants
copying src/MySQLdb/constants/ER.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb/constants
copying src/MySQLdb/constants/CR.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb/constants
copying src/MySQLdb/constants/FIELD_TYPE.py -> build/lib.macosx-12-arm64-cpython-311/MySQLdb/constants
running egg_info
writing src/mysqlclient.egg-info/PKG-INFO
writing dependency_links to src/mysqlclient.egg-info/dependency_links.txt
writing top-level names to src/mysqlclient.egg-info/top_level.txt
reading manifest file 'src/mysqlclient.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/mysqlclient.egg-info/SOURCES.txt'
copying src/MySQLdb/_mysql.c -> build/lib.macosx-12-arm64-cpython-311/MySQLdb
running build_ext
building 'MySQLdb._mysql' extension
creating build/temp.macosx-12-arm64-cpython-311
creating build/temp.macosx-12-arm64-cpython-311/src
creating build/temp.macosx-12-arm64-cpython-311/src/MySQLdb
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall "-Dversion_info=(2, 2, 1, 'final', 0)" -D__version__=2.2.1 -I/Users/seunggabi/seunggabi/workspace/server/batch/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/MySQLdb/_mysql.c -o build/temp.macosx-12-arm64-cpython-311/src/MySQLdb/_mysql.o -I/opt/homebrew/Cellar/mariadb/11.2.2/include/mysql -std=c99
clang -bundle -undefined dynamic_lookup build/temp.macosx-12-arm64-cpython-311/src/MySQLdb/_mysql.o -o build/lib.macosx-12-arm64-cpython-311/MySQLdb/_mysql.cpython-311-darwin.so -L/opt/homebrew/Cellar/mariadb/11.2.2/lib -lmariadb -lssl -lcrypto
ld: library 'ssl' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang' 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 mysqlclient
Failed to build mysqlclient
ERROR: Could not build wheels for mysqlclient, which is required to install pyproject.toml-based projects
Can not install apache-airflow-providers-mysql: pkg-config error
I'm using Debian/Ubuntu, and I am trying to install an Airflow provider in my Python virtual environment: $ pip install apache-airflow-providers-mysql error: subprocess-exited-with-error × Get...
stackoverflow.com
728x90
'공부' 카테고리의 다른 글
[CentOS] mysql_config not found with mysql-community on CentOS 7 (1) | 2024.01.29 |
---|---|
[airflow] connections add (0) | 2024.01.29 |
[shell] ${@:$n:1} (1) | 2024.01.29 |
[sshd] service sshd restart (0) | 2024.01.29 |
[airflow] airflow db init (0) | 2024.01.29 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- wlw
- COUNT
- 테슬라 레퍼럴 코드 확인
- 팔로워 수 세기
- 클루지
- 책그림
- 모델 Y 레퍼럴
- 김달
- 테슬라 레퍼럴
- 유투브
- 어떻게 능력을 보여줄 것인가?
- 메디파크 내과 전문의 의학박사 김영수
- 개리마커스
- 테슬라
- 연애학개론
- 테슬라 추천
- 모델y
- 테슬라 크레딧 사용
- follower
- 테슬라 리퍼럴 코드 혜택
- 테슬라 레퍼럴 적용 확인
- 레퍼럴
- 테슬라 리퍼럴 코드 생성
- Bot
- 인스타그램
- Kluge
- 할인
- 테슬라 리퍼럴 코드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함