Comments (6)
@mfatiho i have updated the installation instruction in the readme file
from ctypeslib.
The issue and solution is more clearly addressed in V2.3.3 with a warning message that tells the user to pip install clang==version
from ctypeslib.
- clang-16 installed on ubuntu-20.04
root# pip install ctypeslib2 --force
Collecting ctypeslib2
Downloading ctypeslib2-2.3.3-py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB 719 kB/s
Collecting clang>=11
Downloading clang-16.0.1.1-py3-none-any.whl (31 kB)
Installing collected packages: clang, ctypeslib2
Attempting uninstall: clang
Found existing installation: clang 14.0
Uninstalling clang-14.0:
Successfully uninstalled clang-14.0
Attempting uninstall: ctypeslib2
Found existing installation: ctypeslib2 2.3.2
Uninstalling ctypeslib2-2.3.2:
Successfully uninstalled ctypeslib2-2.3.2
Successfully installed clang-16.0.1.1 ctypeslib2-2.3.3
root# llvm-config --version (ubuntu 20.04 default repo)
10.0.0
from ctypeslib.
@mfatiho is it working for you now ?
When you run clang2py, Do you see the warning message ?
It should say to pip install clang==version
from ctypeslib.
No, clang2py is not working with "pip install ctypeslib2" command and it don't generate logs.
It should say to pip install ctypeslib2 clang==14.0
from ctypeslib.
@trolldbois Thank you for the readme file update.
from ctypeslib.
Related Issues (20)
- Define with parenthesis not parsed HOT 1
- clang2py not installed in "/usr/bin" HOT 1
- define didn't convert to python HOT 1
- Add if Windows 32bit use WinDLL instead CDLL HOT 1
- Use of "-r" option makes clang2py crash HOT 2
- do not support enum without name HOT 3
- Nested named structs names are not detected. HOT 8
- No output from clang2py even for simple headers - CLANG compatibility issues HOT 6
- ctypeslib2 gives following error on any anaconda environment whenever installed with pip. HOT 3
- AttributeError: 'Output' object has no attribute 'options' HOT 1
- Macro values with parenthesis are not converted HOT 2
- File format has no dynamic symbol table HOT 1
- get_version() access violation on clang 17.0.2 HOT 2
- C++ interface HOT 1
- Add __slots__ to structs HOT 4
- macOS quirks HOT 1
- as_dict() is broken for arrays of Structures
- anonymous union got incorrect name
- solve windows clang-17.0.6 get_version() access violation exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctypeslib.