2016-07-22 394 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

回答