Python ÇÁ·Î±×·¡¹Ö > MSSQL - pymssql ¸ðµâ¼³Ä¡
µî·ÏÀÏ : 2017-08-03 17:05
Á¶È¸¼ö : 53,314
Python ¿¡¼ MSSQL ¼¹ö¿¡ ¿¬°áÇϱâ À§ÇÑ È¯°æ¼³Á¤À» À§Çؼ ¸î½Ã°£À» Á» °í»ýÇß´Ù. ¾Ë°í³ª¸é ³Ê¹«³ªµµ °£´ÜÇÑ ÀÛ¾÷ÀÌÁö¸¸, ¸ðµç°É óÀ½Çغ¸´Â ÀÔÀå¿¡¼´Â ¾Æ¹«¸® °£´ÜÇÑ ¿¹Á¦¿©µµ ³Ê¹« Èûµé´Ù. ÀÌ Àå¿¡¼´Â MS-SQL¿¡ ¿¬°áÇϱâ À§ÇÑ µå¶óÀ̹ö¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý¿¡ ´ëÇؼ °£´ÜÇÏ°Ô Á¤¸®ÇÏ°íÀÚ ÇÑ´Ù.
1. pymssql µå¶óÀ̹ö¸¦ ´Ù¿î·Îµå ¹Þ´Â´Ù.
pymssql-2.1.3-cp36-cp36m-win_amd64.whl <or> pymssql‑2.1.3‑cp36‑cp36m‑win32.whl µî
ÄÄÇ»ÅÍ È¯°æ¿¡ ¸Â´Â°É ´Ù¿î¹ÞÀ¸¸é µÈ´Ù.
´Ù¿î·Îµå °æ·Î : http://www.lfd.uci.edu/~gohlke/pythonlibs/#pymssql
2. pymssql µå¶óÀ̹ö ½ÇÇà
¤·python.exe°¡ ÀÖ´Â Æú´õ¿¡ µå¶óÀ̹ö ÆÄÀÏ À̵¿
¤·"C:\Anaconda2> pip install pymssql-2.1.3-cp27-cp27m-win_amd64.whl" ½ÇÇà
¤·Successfullu installed pymssql-2.1.3 ¸Þ½ÃÁö ¶°¾ß ÇÑ´Ù.
3. pip ¾÷±×·¹À̵å
You are using pip version 8.1.1, however version 8.1.2 is available.
¸Þ½ÃÁö°¡ ¶ß¸é pip ¾÷±×·¹À̵å ÇØ¾ß ÇÔ
c:\python36>python -m pip install --upgrade pip "½ÇÇà".
ÀÌÁ¦ pymssql ¸ðµâÀ» »ç¿ëÇÒ ¼ö Àִ ȯ°æÀÌ µÇ¾ú´Ù.