Replies: 1 comment
-
Fully installing Visual Studio Community 2022 for Python and C++ doesn't fix the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was going to report and Issue on this topic. But it may be a simple fix, and my inexperience in coding is causing it.
I'm trying to compile with vckpg so I can start using Python and C++ together. I followed the instructions
https://pybind11.readthedocs.io/en/stable/installing.html
But got to the last command "vckpg install pybind11" and get the following error:
error: in triplet x64-windows: Unable to find a valid Visual Studio instance Could not locate a complete Visual Studio instance The following paths were examined for Visual Studio instances: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary/Build\vcvarsall.bat
Just from looking at it I can see that in the path there is a '/' just before 'Build'. Looking at other peoples examples of Visual Studio paths, they don't have the backslash like I do. So I assume it's a local thing.
For background filler. I have VS Code installed as my main thing, and have only recently used VS Installer to get a few things like Windows 10 SDK for a test. Earlier I installed the base VS Idle, but did get a prompt that I needed to select a specific 'Build format' in order to utilize VS, otherwise I could only use it to look at/edit existing texts. Perhaps that is the problem?
Other than that I have vckpg installed in the C drive, right along side the Program Files, so Pybind is in the same place. I'll do the VS full install now and see if that works, but is there any other ideas as to what is going on?
Beta Was this translation helpful? Give feedback.
All reactions