Closed blu3sh0rk closed 1 year ago
You can install this project with pip - either pip install -e .
or pip install .
in the root of this repository.
The python community is moving away from setup.py as a packaging specification because of the difficulties in standardization and parsing and the risks of executing arbitrary code in a setup script. pyproject.toml and setup.cfg are the replacements.
Thank you! But I meet some problems like this:
In [4]: from archinfo import Arch
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
In [4], line 1
----> 1 from archinfo import Arch
ImportError: cannot import name 'Arch' from 'archinfo' (unknown location)
In [5]: from archinfo.arch import Arch
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In [5], line 1
----> 1 from archinfo.arch import Arch
File ~/Desktop/angr-dev/archinfo/archinfo/arch.py:8
5 import re
7 from .archerror import ArchError
----> 8 from . import RegisterOffset, RegisterName
9 from .tls import TLSArchInfo
11 import copy
ImportError: cannot import name 'RegisterOffset' from 'archinfo' (unknown location)
This looks like you're in a weird directory so the module archinfo
is resolving to something other than the right thing. I'm not super sure how to debug this, other than to tell you to try doing this from a different directory?
Hello, Missing setup.py in this project. How can i install archinfo==9.2.19.dev0?