{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/PTVS/issues/1132","repository_url":"https://api.github.com/repos/Microsoft/PTVS","labels_url":"https://api.github.com/repos/Microsoft/PTVS/issues/1132/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/PTVS/issues/1132/comments","events_url":"https://api.github.com/repos/Microsoft/PTVS/issues/1132/events","html_url":"https://github.com/Microsoft/PTVS/issues/1132","id":138071126,"number":1132,"title":"Installing mysql through PTVS","user":{"login":"tbrenci","id":2262317,"avatar_url":"https://avatars.githubusercontent.com/u/2262317?v=3","gravatar_id":"","url":"https://api.github.com/users/tbrenci","html_url":"https://github.com/tbrenci","followers_url":"https://api.github.com/users/tbrenci/followers","following_url":"https://api.github.com/users/tbrenci/following{/other_user}","gists_url":"https://api.github.com/users/tbrenci/gists{/gist_id}","starred_url":"https://api.github.com/users/tbrenci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbrenci/subscriptions","organizations_url":"https://api.github.com/users/tbrenci/orgs","repos_url":"https://api.github.com/users/tbrenci/repos","events_url":"https://api.github.com/users/tbrenci/events{/privacy}","received_events_url":"https://api.github.com/users/tbrenci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-03T04:16:39Z","updated_at":"2016-03-04T07:02:49Z","closed_at":null,"body":"Installing mysqlclient through PTVS (2.2.3 RC) results in the error:\r\n\r\n    error: command 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 14.0\\\\VC\\\\BIN\\\\cl.exe' failed with exit status 2\r\n\r\nSearching reveals no solution other than installing mysqlclient directly into the virtualenv, however this also doesn't work.. attempting to do so results in the same error it was also suggested to install the wheel from (http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient), in my case \"mysqlclient-1.3.7-cp35-cp35m-win32.whl\" which claims that is is not a supported wheel, but the virtual env claims it's 3.5 and the wheel is 3.5 so there should be no problem... \r\n\r\nEDIT: Additionally, if I install mysqlclient globally and include the global env in my project I then receive this new error when I attempt to migrate: \r\n\r\ndjango.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb'\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/PTVS/issues/comments/192145555","html_url":"https://github.com/Microsoft/PTVS/issues/1132#issuecomment-192145555","issue_url":"https://api.github.com/repos/Microsoft/PTVS/issues/1132","id":192145555,"user":{"login":"ghjconan","id":5849164,"avatar_url":"https://avatars.githubusercontent.com/u/5849164?v=3","gravatar_id":"","url":"https://api.github.com/users/ghjconan","html_url":"https://github.com/ghjconan","followers_url":"https://api.github.com/users/ghjconan/followers","following_url":"https://api.github.com/users/ghjconan/following{/other_user}","gists_url":"https://api.github.com/users/ghjconan/gists{/gist_id}","starred_url":"https://api.github.com/users/ghjconan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghjconan/subscriptions","organizations_url":"https://api.github.com/users/ghjconan/orgs","repos_url":"https://api.github.com/users/ghjconan/repos","events_url":"https://api.github.com/users/ghjconan/events{/privacy}","received_events_url":"https://api.github.com/users/ghjconan/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T07:02:49Z","updated_at":"2016-03-04T07:02:49Z","body":"I am using MySQL-python, you can down it for http://www.lfd.uci.edu/~gohlke/pythonlibs/.\r\nThen you can use pip install <path>\\MySQL_python-1.2.5-cp27-none-win_amd64.whl to install it.\r\n\r\nFor virtualenv scenario, just run env\\Script\\activate before running pip command."}}