2016-07-22 396 views
0

所以我想安裝markupsafe和得到這個以下錯誤:的Python - PIP安裝markupsafe

Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\ 
\users\\appdata\\local\\temp\\pip-build-yb_vy0\\markupsafe\\setup.py';ex 
ec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n' 
), __file__, 'exec'))" install --record c:\users\appdata\local\temp\pip-h 
xgnlp-record\install-record.txt --single-version-externally-managed --compile" f 
ailed with error code 1 in c:\users\appdata\local\temp\pip-build-yb_vy0\m 
arkupsafe\ 

人有一個想法如何解決?

+0

給一念安裝[蟒蛇]安裝gcc GCC-C++(https://www.continuum.io/下載),默認包含'markupsafe'。 – bernie

+0

您也可以嘗試:http://www.lfd.uci.edu/~gohlke/pythonlibs/#markupsafe – bernie

+0

我在哪裏必須放置.whl文件? – Venx

回答