Closed rchateauneu closed 8 years ago
python-clang is not distributed by upstream using pip. the pypi package is (sadly) mine and had not been updated in a while :(
http://clang.llvm.org/get_started.html http://llvm.org/releases/download.html
you will need to follow's LLVM Clang instruction for windows, and install the python bindings from there. I honestly have no idea if the python bindings are distributed in the clang windows install. You might have to install the python bindings from LLVM clang source.
I will publish an updated python-clang from upstream on pypi when I have 5 minutes
what about now ? I uploaded a 3.7 and 3.8 python bindings package
I take it this is solved
Yes, sorry for the late answer. Writing by hand ctypes file is a good solution because one can focus on constraints etc...
On Sun, Mar 13, 2016 at 3:19 AM, Loic Jaquemet notifications@github.com wrote:
Closed #28 https://github.com/trolldbois/python-haystack/issues/28.
— Reply to this email directly or view it on GitHub https://github.com/trolldbois/python-haystack/issues/28#event-587630121.
Sorry, maybe I wrong something. I installed ctypeslib2 from pypy and I ran clang2py on windows. I ran clang2py test.h but clang2py goes into infinite loop and doesn't close. Where I can find a clang2py version for windows? There is a link?
Sorry, I won't be able to support for a few months. Can you try to pinpoint the bug ? Get more logs ? ( Debug option )
On Oct 26, 2016 03:57, "GERMANOCARELLA" notifications@github.com wrote:
Sorry, maybe I wrong something. I installed ctypeslib2 from pypy and I ran clang2py on windows. I ran clang2py test.h but clang2py goes into infinite loop and doesn't close. Where I can find a clang2py version for windows? There is a link?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/trolldbois/python-haystack/issues/28#issuecomment-256157960, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJoeyeiTd0STOWBD8GDH6ntzGPlUiGSks5q3l8ogaJpZM4HsOlJ .
I try to install clang2py as indicated here: https://pypi.python.org/pypi/ctypeslib2/2.1.4
There is a dependency problem for clang >=3.7 and a workaround for Unix. But what must be done for Windows ? Here is the result of the pip install:
C:\Users\rchateau>pip install ctypeslib2 Collecting ctypeslib2 Downloading ctypeslib2-2.1.4.tar.gz (46kB) 100% |################################| 51kB 1.7MB/s Collecting clang>=3.7 (from ctypeslib2) Could not find a version that satisfies the requirement clang>=3.7 (from ctypeslib2) (from versions: 3.3-svn191928, 3.2, 3.3, 3.4. dev192547, 3.4, 3.5, 3.7.dev234764, 3.7.dev234765) No matching distribution found for clang>=3.7 (from ctypeslib2)