Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.0.5
-
None
-
None
-
Windows 10.0.18362 Pro x64
Python 3.9 (Chocolately installed to C:/Python39)
Pip 20.2.4
virtualenv 20.1.0
Description
When running pip install couchbase a long-winded error occurs that claims
ERROR: Could not build wheels for couchbase which use PEP 517 and cannot be installed directly
Scrolling up quite a ways uncovers the (probably) true culprit of this which is
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets(67,5): error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\JimBorden\AppData\Local\Temp\pip-install-xo038ifa\couchbase\build\temp.win-amd64-3.9\Release\Release\lcb_build\CMakeFiles\3.18.2\VCTargetsPath.vcxproj] [C:\Users\JimBorden\AppData\Local\Temp\pip-install-xo038ifa\couchbase\build\temp.win-amd64-3.9\Release\libcouchbase_src.vcxproj]
Along with another error that may be possibly related:
C:\Users\JimBorden\AppData\Local\Temp\pip-install-xo038ifa\couchbase\gen_config.py:55: UserWarning: problem: Traceback (most recent call last):
File "C:\Users\JimBorden\AppData\Local\Temp\pip-install-xo038ifa\couchbase\gen_config.py", line 36, in get_lcb_min_version
import docutils.parsers.rst
ModuleNotFoundError: No module named 'docutils'
(Full logs attached)