我尝试使用点
来安装mysql-python
我收到以下错误:
error: Unable to find vcvarsall.bat
----------------------------------------
Failed building wheel for mysql-python
...
...
running build_ext
building '_mysql' extension
error: Unable to find vcvarsall.bat
----------------------------------------
Command "c:\python27\python.exe -u -c "import setuptools,
tokenize;__file__='c:\\users\\hp\\appdata\\local\\temp\\pip-build-
jy5yhb\\mysql-python\\setup.py';exec(compile(getattr(tokenize, 'open', open)
(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record
c:\users\hp\appdata\local\temp\pip-jditig-record\install-record.txt --single-
version-externally-managed --compile" failed with error code 1 in
c:\users\hp\appdata\local\temp\pip-build-jy5yhb\mysql-python\
背景工作确实:
我已经尝试过Stack Overflow和其他网站中已经存在的所有答案,没有任何帮助。
背景:
我正在尝试在笔记本电脑中运行 Django 服务器,我需要mysql-python。 (操作系统:Windows 10)