본문 바로가기
프로그래밍(Programming)/장고(Django)

[Django] pip install mysql-python 설치 | pip install mysql-python doesn't work in django

by 갈팡이지팡이 2019. 10. 1.

pip로 mysql-python 패키지 설치하는 방법

Enter the following command in terminal(prompt, bash 등) ::

	pip install mysql-python

 

안될 때는 mysql-python 패키지를 직접 다운 받아 설치해야 한다.

Enter the following command in terminal ::

	pip install "파일의 경로"

 

예시)

만약 바탕화면의 Mysql 폴더에 mysql-python 패키지 파일이 존재 한다면, terminal 에 다음과 같이 입력한다.

    	pip install C:\Users\ONEONE\Desktop\mysql\mysqlclient-1.4.4-cp37-cp37m-win32

 

만약 안먹힌다?

    go to google