nongiach / arm_now

arm_now is a qemu powered tool that allows instant setup of virtual machines on arm cpu, mips, powerpc, nios2, x86 and more, for reverse, exploit, fuzzing and programming purpose.
https://github.com/nongiach/arm_now/wiki
MIT License
867 stars 87 forks source link

can not run arm_now #40

Closed kofteror closed 4 years ago

kofteror commented 4 years ago

Hey.. trying to run arm_now on VM machine ubuntu20 with no luck

ubuntu:~$ arm_now Traceback (most recent call last): File "/home/thomas/.local/lib/python3.8/site-packages/arm_now/utils.py", line 44, in which subprocess.check_output(["which", filename]) File "/usr/lib/python3.8/subprocess.py", line 411, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.8/subprocess.py", line 512, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['which', 'e2cp']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/arm_now", line 11, in load_entry_point('arm-now==1.24', 'console_scripts', 'arm_now')() File "/home/thomas/.local/lib/python3.8/site-packages/arm_now/arm_now.py", line 72, in main check_dependencies_or_exit() File "/home/thomas/.local/lib/python3.8/site-packages/arm_now/arm_now.py", line 233, in check_dependencies_or_exit which("e2cp", File "/home/thomas/.local/lib/python3.8/site-packages/arm_now/utils.py", line 47, in which if distribution() in kwargs: File "/home/thomas/.local/lib/python3.8/site-packages/arm_now/utils.py", line 39, in distribution return platform.linux_distribution()[0].lower() AttributeError: module 'platform' has no attribute 'linux_distribution'

Help will be very appreciated

SakiiR commented 4 years ago

Did you install the e2tools package ?

nongiach commented 4 years ago

Closing this it was fixed by realgam3.

Have a good day.