How can find library #21912
Replies: 1 comment 2 replies
-
To solve the issue these steps you can give a try: Looking for your Paths: Make sure that you specify the include path and the library correctly: Include path: C:/msys64/mingw64/include/python3.11 Library path: C:/msys64/mingw64/lib/python3.11/config-11 Correcting the Linking Flag: Use the correct library name. C:: Consequently, overall, when applying code similar to the one followed, the commands are typically: Copy: Instalation of Python Dev Files: Install Python dev headers by using MSYS2. Copy: Set Environment Variables: Change to PYTHONHOME PYTHONPATH (if needed): export PYTHONHOME=C:/msys64/mingw64 export PYTHONPATH=C:/msys64/mingw6A4/lib/python3.11 Copy: Copy: This should help you to resolve this problem. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
Not sure it is good for this repo.
In current, I want to embed python code to C and the command is follow:
But it can't find python library.
Does anyone know how to find the libray?
Beta Was this translation helpful? Give feedback.
All reactions