Comments (9)
@cnheitman After I took the time to test it today, it was my fault, thank you very much.
from triton.
@cctv130 How did you exactly build the package to get this error?
from triton.
@cctv130 How did you exactly build the package to get this error?
I ran python setup.py install after setting the environment variables in wsl on windows, and this error occurred.
from triton.
@cctv130 How did you exactly build the package to get this error?
My impression is that he was able to use import triton, but two appeared
from triton.
@cnheitman Can you see if you can solve this problem?
from triton.
I tested the wheel package both on Linux and Windows and I did not had this issue. I did not tried WSL, though, but I assume it shouldn't be much different.
Could you list the files under your Python's site-packages
folder?
from triton.
from triton.
You should have something like this on your folder:
triton_library-1.0.0rc2.dist-info
triton_library.libs
triton.cpython-311-x86_64-linux-gnu.so
Instead you have triton_library-1.0.0rc2-py3.11-linux-x86_64.egg
, which was generated by python setup.py install
This is the result of not properly building the Python Wheel package. For that you should run:
export Z3_INCLUDE_DIRS=<path/to/z3/include>
export Z3_LIBRARIES=<path/to/z3/lib>
export CAPSTONE_INCLUDE_DIRS=<path/to/capstone/include>
export CAPSTONE_LIBRARIES=<path/to/capstone/lib>
export BITWUZLA_INTERFACE=On
export BITWUZLA_INCLUDE_DIRS=<path/to/bitwuzla/include>
export BITWUZLA_LIBRARIES=<path/to/bitwuzla/lib>
export LLVM_INTERFACE=ON
export CMAKE_PREFIX_PATH=$(llvm-config --prefix)
python -m build --wheel --outdir /tmp/triton-linux_x86_64
pip install /tmp/triton-linux_x86_64/*.whl
You'll have to adapt the above commands to WSL (in case it's needed).
from triton.
@cnheitman I think I should switch to ubuntu now, there are too many bugs on windows.
from triton.
Related Issues (20)
- symbolizeRegister result is different with setConcreteRegisterValue result ?
- How to determine if a concrete register value is known? HOT 2
- fails to build against LLVM-18
- [OSX ERROR] SystemError: initialization of triton did not return an extension module HOT 7
- lea semantic bugg ?
- LDRSW instruction error ?
- Incorrectly handled x86 instruction, rcl memory, immediate HOT 2
- Trying to collect symbolic address from MemoryAccess HOT 2
- Add Dissasembly callbacks? HOT 2
- Is it possible to symbolize arbitrary memory access before the actual processing? HOT 1
- Building errors on python3.12
- Inconsistency between liftToSMT and isSat when MEMORY_ARRAY is enabled HOT 2
- Cannot build using lastest Bitwuzla version HOT 1
- Is Anyone Build Triton In Rust bindings HOT 2
- how to get opcode size HOT 1
- Symbolic execution jump instruction path HOT 1
- How to complement condition instruction. HOT 1
- Can use triton emulator execution hook function? HOT 1
- Incompatible with Python-3.11 HOT 3
- getParentRegisters() returns some sub-registers HOT 3
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 triton.