C:\Windows\system32>pip install application DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting application Using cached https://files.pythonhosted.org/packages/06/04/2d4b98005f12b43d537b8fbf1cad87a74f0943a3bf756e1cbce6faacc8cf/application-1.0.tar.gz Requirement already satisfied: flask in c:\python27\lib\site-packages (from application) (1.1.1) Requirement already satisfied: flask-marshmallow==0.9.0 in c:\python27\lib\site-packages (from application) (0.9.0) Requirement already satisfied: Flask-Migrate==2.3.0 in c:\python27\lib\site-packages (from application) (2.3.0) Collecting Flask-MySQLdb==0.2.0 (from application) Using cached https://files.pythonhosted.org/packages/62/e3/955c845efe1aacf30c8e2607470544ede36aa1044f6382c809f13e014104/Flask-MySQLdb-0.2.0.tar.gz Collecting Flask-RESTful==0.3.6 (from application) Using cached https://files.pythonhosted.org/packages/47/08/89cf8594735392cd71752f7cf159fa63765eac3e11b0da4324cdfeaea137/Flask_RESTful-0.3.6-py2.py3-none-any.whl Requirement already satisfied: Flask-SQLAlchemy==2.1 in c:\python27\lib\site-packages (from application) (2.1) Requirement already satisfied: marshmallow==2.13.6 in c:\python27\lib\site-packages (from application) (2.13.6) Collecting marshmallow-sqlalchemy==0.15.0 (from application) Using cached https://files.pythonhosted.org/packages/31/0c/e13a1b957ee39537af8525269a2e880bb0f21f571bec77868002f909fc47/marshmallow_sqlalchemy-0.15.0-py2.py3-none-any.whl Collecting mysqlclient==1.3.13 (from application) Using cached https://files.pythonhosted.org/packages/ec/fd/83329b9d3e14f7344d1cb31f128e6dbba70c5975c9e57896815dbb1988ad/mysqlclient-1.3.13.tar.gz Requirement already satisfied: SQLAlchemy==1.2.13 in c:\python27\lib\site-packages (from application) (1.2.13) Requirement already satisfied: click>=5.1 in c:\python27\lib\site-packages (from flask->application) (7.0) Requirement already satisfied: Werkzeug>=0.15 in c:\python27\lib\site-packages (from flask->application) (0.15.6) Requirement already satisfied: itsdangerous>=0.24 in c:\python27\lib\site-packages (from flask->application) (1.1.0) Requirement already satisfied: Jinja2>=2.10.1 in c:\python27\lib\site-packages (from flask->application) (2.10.1) Requirement already satisfied: six>=1.9.0 in c:\python27\lib\site-packages (from flask-marshmallow==0.9.0->application) (1.12.0) Requirement already satisfied: alembic>=0.7 in c:\python27\lib\site-packages (from Flask-Migrate==2.3.0->application) (1.1.0) Collecting pytz (from Flask-RESTful==0.3.6->application) Using cached https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl Collecting aniso8601>=0.82 (from Flask-RESTful==0.3.6->application) Using cached https://files.pythonhosted.org/packages/45/a4/b4fcadbdab46c2ec2d2f6f8b4ab3f64fd0040789ac7f065eba82119cd602/aniso8601-7.0.0-py2.py3-none-any.whl Requirement already satisfied: MarkupSafe>=0.23 in c:\python27\lib\site-packages (from Jinja2>=2.10.1->flask->application) (1.1.1) Requirement already satisfied: python-editor>=0.3 in c:\python27\lib\site-packages (from alembic>=0.7->Flask-Migrate==2.3.0->application) (1.0.4) Requirement already satisfied: python-dateutil in c:\python27\lib\site-packages (from alembic>=0.7->Flask-Migrate==2.3.0->application) (2.8.0) Requirement already satisfied: Mako in c:\python27\lib\site-packages (from alembic>=0.7->Flask-Migrate==2.3.0->application) (1.1.0) Installing collected packages: mysqlclient, Flask-MySQLdb, pytz, aniso8601, Flask-RESTful, marshmallow-sqlalchemy, application Running setup.py install for mysqlclient ... error ERROR: Command errored out with exit status 1: command: 'c:\python27\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\eskape\\appdata\\local\\temp\\pip-install-hv4ll3\\mysqlclient\\setup.py'"'"'; __file__='"'"'c:\\users\\eskape\\appdata\\local\\temp\\pip-install-hv4ll3\\mysqlclient\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'c:\users\eskape\appdata\local\temp\pip-record-_yk39w\install-record.txt' --single-version-externally-managed --compile cwd: c:\users\eskape\appdata\local\temp\pip-install-hv4ll3\mysqlclient\ Complete output (30 lines): running install running build running build_py creating build creating build\lib.win-amd64-2.7 copying _mysql_exceptions.py -> build\lib.win-amd64-2.7 creating build\lib.win-amd64-2.7\MySQLdb copying MySQLdb\__init__.py -> build\lib.win-amd64-2.7\MySQLdb copying MySQLdb\compat.py -> build\lib.win-amd64-2.7\MySQLdb copying MySQLdb\connections.py -> build\lib.win-amd64-2.7\MySQLdb copying MySQLdb\converters.py -> build\lib.win-amd64-2.7\MySQLdb copying MySQLdb\cursors.py -> build\lib.win-amd64-2.7\MySQLdb copying MySQLdb\release.py -> build\lib.win-amd64-2.7\MySQLdb copying MySQLdb\times.py -> build\lib.win-amd64-2.7\MySQLdb creating build\lib.win-amd64-2.7\MySQLdb\constants copying MySQLdb\constants\__init__.py -> build\lib.win-amd64-2.7\MySQLdb\constants copying MySQLdb\constants\CLIENT.py -> build\lib.win-amd64-2.7\MySQLdb\constants copying MySQLdb\constants\CR.py -> build\lib.win-amd64-2.7\MySQLdb\constants copying MySQLdb\constants\ER.py -> build\lib.win-amd64-2.7\MySQLdb\constants copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win-amd64-2.7\MySQLdb\constants copying MySQLdb\constants\FLAG.py -> build\lib.win-amd64-2.7\MySQLdb\constants copying MySQLdb\constants\REFRESH.py -> build\lib.win-amd64-2.7\MySQLdb\constants running build_ext building '_mysql' extension creating build\temp.win-amd64-2.7 creating build\temp.win-amd64-2.7\Release C:\Users\Eskape\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Dversion_info=(1,3,13,'final',0) -D__version__=1.3.13 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.1\include" -Ic:\python27\include -Ic:\python27\PC /Tc_mysql.c /Fobuild\temp.win-amd64-2.7\Release\_mysql.obj /Zl _mysql.c _mysql.c(29) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory error: command 'C:\\Users\\Eskape\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2 ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\python27\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\eskape\\appdata\\local\\temp\\pip-install-hv4ll3\\mysqlclient\\setup.py'"'"'; __file__='"'"'c:\\users\\eskape\\appdata\\local\\temp\\pip-install-hv4ll3\\mysqlclient\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'c:\users\eskape\appdata\local\temp\pip-record-_yk39w\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.