Logan Adams

Results 300 comments of Logan Adams

Closing for now, if you are still seeing this issue or able to share the example code, please re-open and we would be happy to take a look.

Hi @micronetboy - this looks to be the same issue as #3447, could you try the same thing I suggested there, re-installing python after you've installed the VS libraries. that...

Also if you could try with python 3.8.10, I've seen anecdotally that has worked, though not sure why. This StackOverflow post seems to be a similar issue albeit with another...

Hi @anto18671 - Can you please share more of the error log output? I see cl.exe failed with exit code 2. Also can you confirm that you're running in an...

Thanks, @anto18671 - since exit code 2 is that the system cannot find the path to CL.exe, do you know if you installed python first or Visual Studio? Could you...

Also anecdotally, I've seen that this tends to work on Windows with python 3.8.10 but not always with python 3.10, if you could try that as well and if that...

I confirmed on Windows 11 that python 3.11 fails with this error but 3.8 works fine for me, so that is a solution we can use.

This seems to be a similar issue, also recommending either Python 3.8 or an additional set of steps to take to fix the libs: https://stackoverflow.com/questions/71242919/pip-install-results-in-this-error-cl-exe-failed-with-exit-code-2

Hi @anto18671 - I'm going to close this for now since I can't do any other confirmation on this, though if you do have time, please check the above solution...