Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)

后端 未结 30 2681
谎友^
谎友^ 2020-11-21 07:34

I\'ve installed Python 3.5 and while running

pip install mysql-python

it gives me the following error

error: Microsoft Vi         


        
30条回答
  •  孤城傲影
    2020-11-21 07:49

    Just go to https://www.lfd.uci.edu/~gohlke/pythonlibs/ find your suitable package (whl file). Download it. Go to the download folder in cmd or typing 'cmd' on the address bar of the folder. Run the command :

    pip install mysqlclient-1.4.6-cp38-cp38-win32.whl
    

    (Type the file name correctly. I have given an example only). Your problem will be solved without installing build toll cpp of 6GB size.

提交回复
热议问题