question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error running angr

See original GitHub issue

I’ve installed angr successfully, but whenever I try to use I get following error. Any idea why?

In [1]: import angr
No handlers could be found for logger "claripy"
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-bcea9b74a356> in <module>()
----> 1 import angr

/usr/local/lib/python2.7/dist-packages/angr/__init__.py in <module>()
      1 """ Angr module """
      2 # pylint: disable=wildcard-import
----> 3 from .project import *
      4 from .functionmanager import *
      5 from .variableseekr import *

/usr/local/lib/python2.7/dist-packages/angr/project.py in <module>()
      9 
     10 import cle
---> 11 import simuvex
     12 import archinfo
     13 

/usr/local/lib/python2.7/dist-packages/simuvex-1.00-py2.7.egg/simuvex/__init__.py in <module>()
      7 from .s_errors import *
      8 from .s_action import *
----> 9 from .s_procedure import SimProcedure
     10 import simuvex.procedures
     11 from .procedures import SimProcedures

/usr/local/lib/python2.7/dist-packages/simuvex-1.00-py2.7.egg/simuvex/s_procedure.py in <module>()
     10 
     11 from .s_run import SimRun
---> 12 from .s_cc import DefaultCC
     13 
     14 class SimProcedure(SimRun):

/usr/local/lib/python2.7/dist-packages/simuvex-1.00-py2.7.egg/simuvex/s_cc.py in <module>()
      2 
      3 import claripy
----> 4 from archinfo import ArchX86, ArchAMD64, ArchARM, ArchAArch64, ArchMIPS32, ArchMIPS64, ArchPPC32, ArchPPC64
      5 
      6 from .s_action_object import SimActionObject

ImportError: cannot import name ArchAArch64

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
zarduscommented, Aug 20, 2015

For the record, to install angr into a virtualenv:

mkvirtualenv angr
pip install angr

Later, do workon angr to get back into that virtual environment.

0reactions
riyadparvezcommented, Aug 20, 2015

Yes, it works with virtualenv. Thanks for your support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing - angr Documentation
If you encounter errors with pip install angr , you may need to first ... If this still doesn't work and you run...
Read more >
How to use the angr.errors function in angr - Snyk
To help you get started, we've selected a few angr.errors examples, based on popular ways it is used ... def run(self, nBufferLength, lpBuffer):...
Read more >
angr-management - PyPI
The easiest way to run angr-management is by grabbing a bundled release here: https://github.com/angr/angr-management/releases.
Read more >
Angr can't solve the googlectf beginner problem - Stack Overflow
I want to know why the code is not working. When I execute this code, the output was empty. I run the code...
Read more >
Installing | angr-dev
At some point in the dependency install process, you'll install the python library cffi, but (on linux, at least) it won't run unless...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found