After invoking the python interpreter and just typing import ctypeslib i am gettin a warning regarding clang's version that it is Unknown:
Lib\site-packages\ctypeslib\__init__.py:118: RuntimeWarning: Version of python-clang (20.1.0) and clang C library (Unknown) are different. Did you try pip install clang==Unknown.*
warnings.warn(f"Version of python-clang ({clang_py_version()}) and "
If i check clang's version, it is avaliable on the path and i get:
clang version 20.1.3
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Users\WINUSR\scoop\apps\llvm\20.1.3\bin
Clang is installed with the scoop package manager, ctypeslib is installed in a virtual environment, python is version 3.13.3, the python-clang package is 20.1.0 and ctypeslib2 is 2.4.0.
I have tried just copying libclang.dll v20.1.0 in the venv's Scripts folder (since it is put on the path and preceding existing valus) but no cigar.
I have tried some of the examples in the readme and it seems that they work just fine, so it might be just a version detection issue.
After invoking the python interpreter and just typing
import ctypeslibi am gettin a warning regarding clang's version that it is Unknown:If i check clang's version, it is avaliable on the path and i get:
Clang is installed with the scoop package manager, ctypeslib is installed in a virtual environment, python is version 3.13.3, the python-clang package is 20.1.0 and ctypeslib2 is 2.4.0.
I have tried just copying
libclang.dllv20.1.0 in the venv's Scripts folder (since it is put on the path and preceding existing valus) but no cigar.I have tried some of the examples in the readme and it seems that they work just fine, so it might be just a version detection issue.