반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
29 | 30 | 31 |
Tags
- docker
- 엑셀
- 캠핑
- 강릉
- 연곡해변
- 가상환경
- synology
- Expo
- 시놀로지나스
- react native
- reactnative
- 리액트
- Nas
- Excel
- SQL
- Django
- 리엑트
- 나스
- 함수
- 장고
- 시놀로지
- 캠핑장
- 서울
- 수도권 근교
- ReactNaitve
- apk
- 맛집
- Firebase
- MSSQL
- react
Archives
- Today
- Total
차근차근 생활 & 코딩
[오류노트] 시놀로지 나스 mysqlclient error: metadata-generation-failed 설치 오류 본문
IT/오류노트
[오류노트] 시놀로지 나스 mysqlclient error: metadata-generation-failed 설치 오류
ssilook 2022. 7. 13. 14:30반응형
아래와 같은 오류가 발생되면 아래 명령어를 통해 라이브러리를 추가 설치해주면 해결됩니다.
apt-get install python3-dev default-libmysqlclient-dev build-essential
오류코드
Collecting mysqlclient
Downloading mysqlclient-2.1.1.tar.gz (88 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.1/88.1 KB 2.4 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
/bin/sh: 1: mysql_config: not found
/bin/sh: 1: mariadb_config: not found
/bin/sh: 1: mysql_config: not found
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-ina_ney8/mysqlclient_b7624272dae44c809255b463aa10
4eb2/setup.py", line 15, in <module>
metadata, options = get_config()
File "/tmp/pip-install-ina_ney8/mysqlclient_b7624272dae44c809255b463aa10
4eb2/setup_posix.py", line 70, in get_config
libs = mysql_config("libs")
File "/tmp/pip-install-ina_ney8/mysqlclient_b7624272dae44c809255b463aa10
4eb2/setup_posix.py", line 31, in mysql_config
raise OSError("{} not found".format(_mysql_config_path))
OSError: mysql_config not found
mysql_config --version
mariadb_config --version
mysql_config --libs
[end of output]
note: This error originates from a subprocess, and is likely not a problem wit
h pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details
반응형
'IT > 오류노트' 카테고리의 다른 글
[GITHUB] error: The following untracked working tree files would be overwritten by merge (0) | 2022.10.27 |
---|---|
[React Native] RN Android - spawn ./gradlew EACCES 오류 (0) | 2022.10.21 |
[React Native] RN - 오류 노트 (0) | 2022.06.03 |
[React Native] RN - java.lang.OutOfMemoryError (no error message) / 메모리 부족 (0) | 2022.03.17 |
React Native 빌드 시 SHA-1 for file … is not 문제 (0) | 2022.03.15 |
Comments