所以我想安装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 :(得分:0)
如果你正在使用windows,你需要安装Microsoft Visual C++ Compiler for Python 2.7其他sudo apt-get install gcc gcc-c ++如果不是操作系统窗口