Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools #76

Closed
opokualbert opened this issue Jan 26, 2018 · 101 comments

Comments

@opokualbert
Copy link

Hello,
I tried pip installing implicit and I get the error below. Is there any work around?
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\implicit
copying implicit\als.py -> build\lib.win-amd64-3.6\implicit
copying implicit\approximate_als.py -> build\lib.win-amd64-3.6\implicit
copying implicit\nearest_neighbours.py -> build\lib.win-amd64-3.6\implicit
copying implicit\recommender_base.py -> build\lib.win-amd64-3.6\implicit
copying implicit\utils.py -> build\lib.win-amd64-3.6\implicit
copying implicit_init_.py -> build\lib.win-amd64-3.6\implicit
running build_ext
building 'implicit._als' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

@benfred
Copy link
Owner

benfred commented Jan 26, 2018

You need to install the visual c++ build tools. The link in the error message seems like it's dead, but you can download them here: https://visualstudio.microsoft.com/visual-cpp-build-tools/

Note that while the error is calling for vc++ 14.0 - everything will work with newer versions of visual c++.

@opokualbert
Copy link
Author

Thanks @benfred

@rth
Copy link

rth commented Feb 2, 2018

The package is now distributed on conda forge (see https://github.com/conda-forge/implicit-feedstock), it can also be installed without needing a compiler on Linux, MacOS and Windows with,

conda install -c conda-forge implicit

@benfred
Copy link
Owner

benfred commented Feb 2, 2018

awesome! thanks @rth - having prebuilt binaries on conda-forge will really help out here.

To update - do I just need to submit a PR changing the sha256/version lines here https://github.com/conda-forge/implicit-feedstock/blob/master/recipe/meta.yaml#L2 ?

@rth
Copy link

rth commented Feb 3, 2018

To update - do I just need to submit a PR changing the sha256/version lines here

Yes, also just the next time one would need to reset the build number to 0, and if you want, add yourself to the recipe-maintainers section which will give you write permissions on that repo..

@benfred
Copy link
Owner

benfred commented Feb 9, 2018

done =) conda-forge/implicit-feedstock#4

@hadpro24
Copy link

Yes, Help Me

@TSAIJK
Copy link

TSAIJK commented Jul 13, 2018

I meet this problem when I am trying to install wordcloud...

@jaidenjohn
Copy link

Go to https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017

And download "Build Tools For Visual Studio" under "Tools for " Visual Studio"

Thank You
Hope this helps. I had this problem and solved using this method

@adi07wad
Copy link

@benfred - Thank you! It took me ages till your comment to get spacy installed!

@JoeTorino
Copy link

After I install the build-tools-for-visual-studio-2017 package is there anything else I need to do to make the compiler work with python? (I'm using anaconda)

@jaidenjohn
Copy link

jaidenjohn commented Jul 25, 2018 via email

@jaidenjohn
Copy link

jaidenjohn commented Aug 14, 2018 via email

@Mavericks334
Copy link

Mavericks334 commented Aug 16, 2018

Hi,

I have installed Microsoft Visual C++ 2017 and get the below error.
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

I have updated setuptools as well and still does not work.

How do i avoid this?

Regards,
Ren.

@temannin
Copy link

temannin commented Aug 22, 2018

Here's what I did:

  1. Downloaded Microsoft Visual C++ Build Tools from this link: https://visualstudio.microsoft.com/downloads/

  2. Run the installer

  3. Select: Workloads → Visual C++ build tools.

  4. Install options: select only the “Windows 10 SDK” (assuming the computer is Windows 10)

Instructions from: https://www.scivision.co/python-windows-visual-c++-14-required/

@jaidenjohn
Copy link

@tylerericmanning Yeah, it's correct. I used the same way.

Thank You

@jaidenjohn
Copy link

@Mavericks334 The link you gave is not working. Please update the link.

Thank You

@temannin
Copy link

@jaidenjohn https://visualstudio.microsoft.com/downloads/

There is the updated link. Scroll down to Build Tools for Visual Studio 2017

@arwhyte
Copy link

arwhyte commented Sep 2, 2018

@tylerericmanning et al -- I encountered the "error: Microsoft Visual C++ 14.0 is required" error when attempting to run

pip install mysqlclient

in support of a Django 2.x / MySQL 8 installation.

I encountered it first when running Python 3.7.0. I installed the build tools as part of a Visual Studio 2017 install. When I could not resolve the issue, I uninstalled both Visual Studio 2017 and Python 3.7.0.

I then installed Python 3.6.6 (on the off chance that 3.7 was the problem) and installed VS build tools 2017 (build 15.8.2), Visual C++ Build Tools workload only. Rechecking the install the following optional items are checked:

Windows 10 SDK (10.0.17134.0)
Visual C++ tools for CMake
Testing tools core features - Build Tools

When re-running pip install mysqlclient I encounter a new error:

 Failed building wheel for mysqlclient
  Running setup.py clean for mysqlclient
Failed to build mysqlclient
Installing collected packages: mysqlclient
  Running setup.py install for mysqlclient ... error
    Complete output from command c:\users\arwhyte\development\repos\github\arwhyte\django-tutorial-mysql\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arwhyte\\AppData\\Local\\Temp\\pip-install-fi30oprf\\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\arwhyte\AppData\Local\Temp\pip-record-jbvsk1zo\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\arwhyte\development\repos\github\arwhyte\django-tutorial-mysql\venv\include\site\python3.6\mysqlclient:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.6
    copying _mysql_exceptions.py -> build\lib.win-amd64-3.6
    creating build\lib.win-amd64-3.6\MySQLdb
    copying MySQLdb\__init__.py -> build\lib.win-amd64-3.6\MySQLdb
    copying MySQLdb\compat.py -> build\lib.win-amd64-3.6\MySQLdb
    copying MySQLdb\connections.py -> build\lib.win-amd64-3.6\MySQLdb
    copying MySQLdb\converters.py -> build\lib.win-amd64-3.6\MySQLdb
    copying MySQLdb\cursors.py -> build\lib.win-amd64-3.6\MySQLdb
    copying MySQLdb\release.py -> build\lib.win-amd64-3.6\MySQLdb
    copying MySQLdb\times.py -> build\lib.win-amd64-3.6\MySQLdb
    creating build\lib.win-amd64-3.6\MySQLdb\constants
    copying MySQLdb\constants\__init__.py -> build\lib.win-amd64-3.6\MySQLdb\constants
    copying MySQLdb\constants\CLIENT.py -> build\lib.win-amd64-3.6\MySQLdb\constants
    copying MySQLdb\constants\CR.py -> build\lib.win-amd64-3.6\MySQLdb\constants
    copying MySQLdb\constants\ER.py -> build\lib.win-amd64-3.6\MySQLdb\constants
    copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win-amd64-3.6\MySQLdb\constants
    copying MySQLdb\constants\FLAG.py -> build\lib.win-amd64-3.6\MySQLdb\constants
    copying MySQLdb\constants\REFRESH.py -> build\lib.win-amd64-3.6\MySQLdb\constants
    running build_ext
    building '_mysql' extension
    creating build\temp.win-amd64-3.6
    creating build\temp.win-amd64-3.6\Release
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Dversion_info=(1,3,13,'final',0) -D__version__=1.3.13 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.1\include" -Ic:\python36\include -Ic:\python36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\cppwinrt" /Tc_mysql.c /Fobuild\temp.win-amd64-3.6\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:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

    ----------------------------------------
Command "c:\users\arwhyte\development\repos\github\arwhyte\django-tutorial-mysql\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arwhyte\\AppData\\Local\\Temp\\pip-install-fi30oprf\\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\arwhyte\AppData\Local\Temp\pip-record-jbvsk1zo\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\arwhyte\development\repos\github\arwhyte\django-tutorial-mysql\venv\include\site\python3.6\mysqlclient" failed with error code 1 in C:\Users\arwhyte\AppData\Local\Temp\pip-install-fi30oprf\mysqlclient\

I'm new to Windows 10 (Mac guy) and have not found any hints on line on how to fix the missing file/directly issues:

 _mysql.c(29): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

Any suggestions on how to resolve this would be appreciated.

@WangHuiYa
Copy link

我想用pip安装rasa_core出现这个错误怎么办(error:error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools)

@arwhyte
Copy link

arwhyte commented Sep 18, 2018

😉 I was able to resolve this roadblock by resorting to Christoph Gohlke's collection of
Unoffical Windows Binaries for Python Extension Packages. Download the appropriate the mysqlclient the wheel (*.whl) file. For Python 3.7 click on "mysqlclient‑1.3.13‑cp37‑cp37m‑win_amd64.whl" and it will download to your machine. Then perform a manual install of the package via pip:

(venv) PS C:\Users\arwhyte\Development\repos\github\arwhyte\django-tutorial-mysql> pip install C:\Users\arwhyte\Downloads\mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl
Processing c:\users\arwhyte\downloads\mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl
Installing collected packages: mysqlclient
Successfully installed mysqlclient-1.3.13

@WangHuiYa
Copy link

😉我通过使用Christoph Gohlke收集的
用于Python扩展包非官方Windows二进制文件来解决这个障碍。下载相应的mysqlclient轮(* .whl)文件。对于Python 3.7,单击“mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl”,它将下载到您的计算机。然后通过以下方式_手动安装_包pip

(venv) PS C:\Users\arwhyte\Development\repos\github\arwhyte\django-tutorial-mysql> pip install C:\Users\arwhyte\Downloads\mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl
Processing c:\users\arwhyte\downloads\mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl
Installing collected packages: mysqlclient
Successfully installed mysqlclient-1.3.13

Thank you for solving the problem (参见https://github.com/conda-forge/implicit-feedstock)

@Juan025427
Copy link

Juan025427 commented Sep 20, 2018

Is it the same error that I am facing now?
Any way to fix this,
net framework is pre-installed in my windows 10 and no update is required for this framework main problem is that it is not working
screenshot 6

@inweblife
Copy link

You need to install the visual c++ build tools. The link in the error message seems like it's dead, but you can download them here: https://visualstudio.microsoft.com/visual-cpp-build-tools/

Note that while the error is calling for vc++ 14.0 - everything will work with newer versions of visual c++.

It is no work. The problem, is so serius. I have Win10 64-bit, Python 3.7 64-bit and install all this microshit winblows studio bulshit and have no work

And that it turns out!? Can't use just one language like Python. How Ruby became

@vikash310
Copy link

pip install -U setuptools It will solve such problem

@Mavericks334
Copy link

Mavericks334 commented Oct 8, 2018 via email

@inweblife
Copy link

No, no work
pip install -U setuptools
no work
it is serios problem

@heavyrick
Copy link

I had this problem installing scrapydo, so i see this answer stackoverflow and it worked!

@FDUZS
Copy link

FDUZS commented Sep 19, 2020

The official and correct way: Which Microsoft Visual C++ compiler to use with a specific Python version ?

@onemedicine
Copy link

pip install -U setuptools可以解决这个问题

After you install Microsoft Visual C++ Build Tools, it still reports an error after restarting, then you can try enter this command。

@naveenbharadwaj19
Copy link

Setup is taking so long to install why ? I'm sure i have a good stable internet connection

installer

@alexmahrou
Copy link

Honestly the best way I've found to solve this is to install chocoloatey first:

Open admin cmd prompt to install chocolatey
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

Then install vcbuildtools with this command:
choco install -y vcbuildtools -y -ia "/Full"

@ramasurya-gajula
Copy link

Hi Team,
I am trying to install cx_oracle module using pip install in windows cmd. I have visual C++ 2015 above ,also used pip install -U setuptools, but still i get below error. Please help me resolve it.
C:>python -m pip install cx_Oracle --upgrade
Collecting cx_Oracle
Using cached cx_Oracle-8.0.1.tar.gz (325 kB)
Using legacy 'setup.py install' for cx-Oracle, since package 'wheel' is not installed.
Installing collected packages: cx-Oracle
Running setup.py install for cx-Oracle ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\setup.py'"'"'; file='"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\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\rgajula\AppData\Local\Temp\pip-record-ldazvnul\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\Include\cx-Oracle'
cwd: C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle
Complete output (5 lines):
running install
running build
running build_ext
building 'cx_Oracle' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\setup.py'"'"'; file='"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\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\rgajula\AppData\Local\Temp\pip-record-ldazvnul\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\Include\cx-Oracle' Check the logs for full command output.

@FDUZS
Copy link

FDUZS commented Nov 23, 2020

Hi Team,
I am trying to install cx_oracle module using pip install in windows cmd. I have visual C++ 2015 above ,also used pip install -U setuptools, but still i get below error. Please help me resolve it.
C:>python -m pip install cx_Oracle --upgrade
Collecting cx_Oracle
Using cached cx_Oracle-8.0.1.tar.gz (325 kB)
Using legacy 'setup.py install' for cx-Oracle, since package 'wheel' is not installed.
Installing collected packages: cx-Oracle
Running setup.py install for cx-Oracle ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\setup.py'"'"'; file='"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\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\rgajula\AppData\Local\Temp\pip-record-ldazvnul\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\Include\cx-Oracle'
cwd: C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle
Complete output (5 lines):
running install
running build
running build_ext
building 'cx_Oracle' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

ERROR: Command errored out with exit status 1: 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\setup.py'"'"'; file='"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\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\rgajula\AppData\Local\Temp\pip-record-ldazvnul\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\Include\cx-Oracle' Check the logs for full command output.

……
Using legacy 'setup.py install' for cx-Oracle, since package 'wheel' is not installed.
……

So, try pip install wheel first, and maybe you need to check Which Microsoft Visual C++ compiler to use with a specific Python version ? out in detail.

@ramasurya-gajula
Copy link

Hi Team,

I am trying to install cx_oracle module using pip install in windows cmd. I have visual C++ 2015 above ,also used pip install -U setuptools, but still i get below error. Please help me resolve it.
C:>python -m pip install cx_Oracle --upgrade
Collecting cx_Oracle
Using cached cx_Oracle-8.0.1.tar.gz (325 kB)
Using legacy 'setup.py install' for cx-Oracle, since package 'wheel' is not installed.
Installing collected packages: cx-Oracle
Running setup.py install for cx-Oracle ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\setup.py'"'"'; file='"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\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\rgajula\AppData\Local\Temp\pip-record-ldazvnul\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\Include\cx-Oracle'
cwd: C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle
Complete output (5 lines):
running install
running build
running build_ext
building 'cx_Oracle' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
ERROR: Command errored out with exit status 1: 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\setup.py'"'"'; file='"'"'C:\Users\rgajula\AppData\Local\Temp\pip-install-09d099lq\cx-oracle\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\rgajula\AppData\Local\Temp\pip-record-ldazvnul\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\rgajula\AppData\Local\Programs\Python\Python39\Include\cx-Oracle' Check the logs for full command output.

……
Using legacy 'setup.py install' for cx-Oracle, since package 'wheel' is not installed.
……

So, try pip install wheel first, and maybe you need to check Which Microsoft Visual C++ compiler to use with a specific Python version ? out in detail.

Thank you, I tried with python 3.7 and that works

@Sayaka91
Copy link

Sayaka91 commented Mar 3, 2021

i'm trying run make.sh from dcnv2 but it errors. the same error but all tips on this topic didn't work.

@MeteorVE
Copy link

My situation :
Install vc++ 14.0 (just checked the win10 SDK), and it does not work.
After checked the MSVC build tool, it works.

@sailfish009
Copy link

Yes, to install win10 sdk and build tool (vc++ version don't care) works for me.
Thanks MeteorVE.

@Natanaelpvh
Copy link

Estava acontecendo este mesmo problema comigo na ora de instalar o mysqlclient
image
mas quando eu usei o Visual Studio 2019 Developer Command Prompt, funcionou numa boa. :)
image

@GavinMoreYoung
Copy link

GavinMoreYoung commented Dec 29, 2021 via email

@Natanaelpvh
Copy link

Outra forma que encontrei na net foi instalar através do binário

pip install --only-binary :all: mysqlclient
image

@canalqb
Copy link

canalqb commented May 26, 2022

[Solved] - Step for Step
Microsoft Visual C++ 14.0 is required
https://youtu.be/Y4QxGemfNrs

@GavinMoreYoung
Copy link

GavinMoreYoung commented May 26, 2022 via email

@canalqb
Copy link

canalqb commented May 26, 2022

Hi, [Solved] - Step by Step
https://youtu.be/Y4QxGemfNrs

@anupamkayal
Copy link

anupamkayal commented Jun 14, 2022

No need to install C++ build tools. C modules that speed up the execution of python code.Note that for one time build e.g. for CI/testing,on platforms that are not covered by one of the wheel packages provided on PyPI, it is substantially faster than a full source build to install without compiled (slower) version of any package with::

pip install [package name] --install-option="--no-[package file name]-compile"

for example Cython package : pip install Cython --install-option="--no-cython-compile"

@GavinMoreYoung
Copy link

GavinMoreYoung commented Jun 14, 2022 via email

@lmoliner
Copy link

For all of you who are getting the Visual C++ error, follow this step-by-step tutorial here:
https://www.youtube.com/watch?v=Y4QxGemfNrs

You will have to download Visual C++ 2015 as higher versions have bugs, then Visual Studio Build Tools 2017 from here: https://stackoverflow.com/questions/57795314/are-visual-studio-2017-build-tools-still-available-for-download

It worked flawlessly for me and I could finally install and use TaxonTableTools.

Good luck!

@GavinMoreYoung
Copy link

GavinMoreYoung commented Mar 19, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests