2013-06-30 97 views
0

我試圖爲Python2.7安裝MySQL-python 1.2.3。我使用Windows 7,我已經加入蟒蛇的路徑變量,我試過如下:python setup.py install 但我得到一個錯誤:安裝MySQL Python(在Windows 7上)

Traceback <most recent call last>: 
From "setup.py", line 5, in <module> 
from setuptools import setup, Extension 
ImportError: No module named setuptools 
+0

閱讀下面的帖子有你的查詢回答 - http://stackoverflow.com/questions/14426491/python-3-importerror-no-module-named-setuptools –

回答

1

this location,這是編譯的Windows庫的Python庫中安裝它。

您還應該安裝setuptools(來自同一位置)。