mysqlclient 설치 오류 (pkg-config)
2023. 8. 18. 20:30ㆍTrouble shooting
환경 : ubuntu 22.04.3 LTS
문제 : 가상환경 설정중 pip install mysqlclent
오류 발생
Collecting mysqlclient
Using cached mysqlclient-2.2.0.tar.gz (89 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
로그를 보면
pkg-config 가 없다고 나온다.
해결 :
sudo apt-get update
sudo apt-get install pkg-config
해결!
728x90
'Trouble shooting' 카테고리의 다른 글
df.to_sql 오류 TypeError: init() got multiple values for argument 'schema' (0) | 2023.09.04 |
---|---|
chrome driver 버전 오류 (0) | 2023.08.29 |
ubuntu) docker 관련 permission denied 오류 (0) | 2023.08.18 |
ubuntu) 노트북 외장그래픽카드 인식 불가 (0) | 2023.08.17 |
xcrun: error: invalid active developer path 에러 (0) | 2023.08.09 |