본문 바로가기 메뉴 바로가기

개키우는 개발자

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

개키우는 개발자

검색하기 폼
  • 분류 전체보기 (36)
    • IT (33)
      • 프로그래밍 (15)
      • 모바일 (13)
      • DB (3)
      • OS (2)
    • 하고싶은거 해보자구 (2)
      • 창업일지 (0)
      • 수경재배 (1)
      • 곤충키우기 (0)
      • 우리집 단풍이 (0)
      • 창업 아이디어 기록하기 (1)
  • 방명록

NameError: name '_mysql' is not defined (1)
[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
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • NSPrivacyAccessedAPICategorySystemBootTime
  • but linking in object file
  • Error (Xcode): Target release_unpack_ios failed: Exception: Binary
  • Xcode
  • 리눅스 python3 설치
  • NSPrivacyAccessedAPICategoryFileTimestamp
  • google play appcheck
  • Firebase
  • ios pod install error
  • 수경재배키트
  • ITMS-91053: Missing API declaration
  • aws python3.12
  • Flutter
  • PlatformException(sign_in_failed
  • ios 앱 심사상태
  • 베란다 수경재배
  • ios
  • Failed to launch iOS Simulator: Error: Emulator didn't connect within 60 seconds
  • EC2
  • python3.12 설치
  • flutter build ipa
  • CDN: trunk URL couldn't be downloaded
  • NSPrivacyAccessedAPICategoryUserDefaults
  • 해결방법
  • com.google.android.gms.common.api.ApiException: 10:
  • 아이폰
  • MySQL
  • NSPrivacyAccessedAPICategoryDiskSpace
  • Response: Failure when receiving data from the peer
  • 슬랙으로 보내기
more
«   2025/06   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바