Sorry, forgive me, my native language is not English and I may not have expressed myself very clearly.
I got a SyntaxError: invalid syntax error when embedding Python in a C++project and using the selenium library
Sorry, forgive me, my native language is not English and I may not have expressed myself very clearly.
I got a SyntaxError: invalid syntax error when embedding Python in a C++project and using the selenium library

Thank you. Can someone help me
the Python version is 3.12.4
How did you embed Python? Can you show your build script? It might be using the wrong Python version.