error: Unable to find vcvarsall.bat
error: Unable to find vcvarsall.bat Python, Django, MariaDB를 이용하여 간단한 웹 애플리케이션을 만들어 보려고 한다. 그런데 Mysql 연동을 위한 패키지를 설치하면 ‘vcvarsall.bat’ 파일이 없다는 에러가 발생한다. [root@C:helloworld]#pip install MySQL-python Collecting MySQL-python C:Python27libsite-packagespip-8.1.2-py2.7.eggpip_vendorrequestspackagesurllib3utilssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS cert ificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning C:Python27libsite-packagespip-8.1.2-py2.7.eggpip_vendorrequestspackagesurllib3utilssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Downloading MySQL-python-1.2.5.zip (108kB) 100% |################################| 112kB 1.1MB/s Installing collected packages: MySQL-python Running setup.py install for MySQL-python … error Complete output from command C:Python27python.exe -u -c “import setuptools, tokenize;__file__=’c:\users\ray\appdata\local\temp\pip-build-fvz0fq\MySQL-python\setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(__file__).read().replace(‘rn’, ‘n’), __file__, ‘exec’))” install –record c: usersrayappdatalocaltemppip-bz89ng-recordinstall-record.txt –single-version-externally-managed –compile: running install running build running build_py creating build creating buildlib.win32-2.7 copying _mysql_exceptions.py -> buildlib.win32-2.7 creating buildlib.win32-2.7MySQLdb copying MySQLdb__init__.py -> buildlib.win32-2.7MySQLdb copying MySQLdbconverters.py -> buildlib.win32-2.7MySQLdb copying MySQLdbconnections.py -> buildlib.win32-2.7MySQLdb copying MySQLdbcursors.py -> buildlib.win32-2.7MySQLdb copying MySQLdbrelease.py -> buildlib.win32-2.7MySQLdb copying MySQLdbtimes.py -> buildlib.win32-2.7MySQLdb creating buildlib.win32-2.7MySQLdbconstants copying MySQLdbconstants__init__.py -> buildlib.win32-2.7MySQLdbconstants […]