[Python/Django] NameError: name '_mysql' is not defined, django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.3 or newer is required; you have 1.0.2. 해결방법
어쩌다보니 Django를 써야할 일이 생겨서 프로젝트를 생성하고 python manage.py migrate를 실행했는데 NameError: name '_mysql' is not defined 에러가 발생해서 찾다보니 pymysql을 설치해서 쓰면 된다고해서 설치해봤더니 잘되었다. 해결방법은 다음과 같다. 1. pip install pymysql 2. settings.py에 import pymysql 3. 다음 코드 추가 pymysql.install_as_MySQLdb() 4. python manage.py migrate 실행 5. django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.3 or newer is required; you have 1.0..
IT/프로그래밍
2023. 8. 16. 06:54
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Flutter
- ios pod install error
- but linking in object file
- ios 앱 심사상태
- Failed to launch iOS Simulator: Error: Emulator didn't connect within 60 seconds
- 리눅스 python3 설치
- aws python3.12
- NSPrivacyAccessedAPICategoryDiskSpace
- 슬랙으로 보내기
- Xcode
- 베란다 수경재배
- NSPrivacyAccessedAPICategorySystemBootTime
- Error (Xcode): Target release_unpack_ios failed: Exception: Binary
- 수경재배키트
- google play appcheck
- com.google.android.gms.common.api.ApiException: 10:
- NSPrivacyAccessedAPICategoryUserDefaults
- Response: Failure when receiving data from the peer
- flutter build ipa
- 아이폰
- ITMS-91053: Missing API declaration
- 해결방법
- ios
- Firebase
- CDN: trunk URL couldn't be downloaded
- PlatformException(sign_in_failed
- NSPrivacyAccessedAPICategoryFileTimestamp
- MySQL
- EC2
- python3.12 설치
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함