error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
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
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++.
Thanks @benfred
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
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 ?
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..
done =) https://github.com/conda-forge/implicit-feedstock/pull/4
Yes, Help Me
I meet this problem when I am trying to install wordcloud...
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
@benfred - Thank you! It took me ages till your comment to get spacy installed!
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)
No. All is set. You can continue
Thankyou Jaiden John Bose
On Wed, Jul 25, 2018 at 1:48 PM JoeTorino [email protected] wrote:
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)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/benfred/implicit/issues/76#issuecomment-407673546, or mute the thread https://github.com/notifications/unsubscribe-auth/Akjcm-XRjUuuVaKqqTDV-GnkGoHilbllks5uKCnlgaJpZM4RutL7 .
-- *The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. *
hi
On Tue, Aug 14, 2018 at 8:29 PM jstar-ko [email protected] wrote:
hello
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/benfred/implicit/issues/76#issuecomment-412902350, or mute the thread https://github.com/notifications/unsubscribe-auth/Akjcm827geG8ck7Tf8V_tPx8Wz-wHUyoks5uQuXDgaJpZM4RutL7 .
-- *The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. *
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.
Here's what I did:
-
Downloaded Microsoft Visual C++ Build Tools from this link: https://visualstudio.microsoft.com/downloads/
-
Run the installer
-
Select: Workloads → Visual C++ build tools.
-
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/
@tylerericmanning Yeah, it's correct. I used the same way.
Thank You
@Mavericks334 The link you gave is not working. Please update the link.
Thank You
@jaidenjohn https://visualstudio.microsoft.com/downloads/
There is the updated link. Scroll down to Build Tools for Visual Studio 2017
@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.
我想用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)