qiling icon indicating copy to clipboard operation
qiling copied to clipboard

ubuntu arm64 install qiling error

Open dqzg12300 opened this issue 2 years ago • 2 comments

from Parallels Desktop ubuntu arm64 pip3 install qiling

error info :

Collecting qiling Using cached qiling-1.4.2-py3-none-any.whl (922 kB) Collecting pyyaml>=6.0 Using cached PyYAML-6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (721 kB) Collecting keystone-engine>=0.9.2 Using cached keystone-engine-0.9.2.tar.gz (2.8 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting unicorn>=2.0.0-rc5 Using cached unicorn-2.0.0rc7.tar.gz (2.6 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pyelftools>=0.26 Using cached pyelftools-0.28-py2.py3-none-any.whl (155 kB) Collecting python-registry>=1.3.1 Using cached python_registry-1.3.1-py3-none-any.whl (23 kB) Collecting multiprocess>=0.70.12.2 Using cached multiprocess-0.70.12.2-py38-none-any.whl (128 kB) Collecting gevent>=20.9.0 Using cached gevent-21.12.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.1 MB) Collecting capstone>=4.0.1 Using cached capstone-4.0.2.tar.gz (2.0 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pefile>=2021.9.3 Using cached pefile-2021.9.3-py3-none-any.whl Collecting zope.interface Using cached zope.interface-5.4.0-cp38-cp38-manylinux2014_aarch64.whl (260 kB) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from gevent>=20.9.0->qiling) (45.2.0) Collecting zope.event Using cached zope.event-4.5.0-py2.py3-none-any.whl (6.8 kB) Requirement already satisfied: greenlet<2.0,>=1.1.0 in /usr/local/lib/python3.8/dist-packages (from gevent>=20.9.0->qiling) (1.1.2) Collecting dill>=0.3.4 Using cached dill-0.3.4-py2.py3-none-any.whl (86 kB) Requirement already satisfied: future in /usr/lib/python3/dist-packages (from pefile>=2021.9.3->qiling) (0.18.2) Collecting unicodecsv Using cached unicodecsv-0.14.1-py3-none-any.whl Collecting enum-compat Using cached enum_compat-0.0.3-py3-none-any.whl (1.3 kB) Building wheels for collected packages: capstone, keystone-engine, unicorn Building wheel for capstone (setup.py): started Building wheel for capstone (setup.py): finished with status 'done' Created wheel for capstone: filename=capstone-4.0.2-py3-none-manylinux1_aarch64.whl size=2087001 sha256=a8fa12c25d0d20482f36a5a75a29b5e00e7593030b8281c46648c702831909c8 Stored in directory: /root/.cache/pip/wheels/91/4c/3a/a750edb07653c70aae5b40544326f56d15127c45c46e1441fd Building wheel for keystone-engine (setup.py): started Building wheel for keystone-engine (setup.py): still running... Building wheel for keystone-engine (setup.py): finished with status 'done' Created wheel for keystone-engine: filename=keystone_engine-0.9.2-py2.py3-none-manylinux1_aarch64.whl size=1776204 sha256=2127ba11a3fa84769e3f3a81c1aee25eef11ab5f687b0a4cd0392c2c7aee1251 Stored in directory: /root/.cache/pip/wheels/00/cd/e0/cd0da05d2afc9fcf8f4d81eae0abb699dc557d988b68df3457 Building wheel for unicorn (setup.py): started Building wheel for unicorn (setup.py): finished with status 'error' Running setup.py clean for unicorn Successfully built capstone keystone-engine Failed to build unicorn Installing collected packages: unicorn, unicodecsv, pyelftools, keystone-engine, enum-compat, zope.interface, zope.event, pyyaml, python-registry, pefile, dill, capstone, multiprocess, gevent, qiling Attempting uninstall: unicorn Found existing installation: unicorn 1.0.3 Uninstalling unicorn-1.0.3: Successfully uninstalled unicorn-1.0.3 Running setup.py install for unicorn: started Running setup.py install for unicorn: finished with status 'error' Rolling back uninstall of unicorn Moving to /usr/local/lib/python3.8/dist-packages/unicorn-1.0.3.dist-info/ from /usr/local/lib/python3.8/dist-packages/~nicorn-1.0.3.dist-info Moving to /usr/local/lib/python3.8/dist-packages/unicorn/ from /usr/local/lib/python3.8/dist-packages/~nicorn

error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [4 lines of output] running bdist_wheel running build Building C extensions error: [Errno 2] No such file or directory: '/tmp/pip-install-2ybbyrkd/unicorn_7f40d2bce793443189d5d43c7af355da/../../include/unicorn' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for unicorn error: subprocess-exited-with-error

× Running setup.py install for unicorn did not run successfully. │ exit code: 1 ╰─> [4 lines of output] running install running build Building C extensions error: [Errno 2] No such file or directory: '/tmp/pip-install-2ybbyrkd/unicorn_7f40d2bce793443189d5d43c7af355da/../../include/unicorn' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages error: legacy-install-failure

× Encountered error while trying to install package. ╰─> unicorn

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

dqzg12300 avatar May 10 '22 09:05 dqzg12300

Hello, unicorn doesn’t have a prebuilt wheel so you have to do it by your own.


From: diveking @.> Sent: Tuesday, May 10, 2022 11:36:26 AM To: qilingframework/qiling @.> Cc: Subscribed @.***> Subject: [qilingframework/qiling] ubuntu arm64 install qiling error (Issue #1152)

from Parallels Desktop ubuntu arm64 pip3 install qiling

error info :

Collecting qiling Using cached qiling-1.4.2-py3-none-any.whl (922 kB) Collecting pyyaml>=6.0 Using cached PyYAML-6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (721 kB) Collecting keystone-engine>=0.9.2 Using cached keystone-engine-0.9.2.tar.gz (2.8 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting unicorn>=2.0.0-rc5 Using cached unicorn-2.0.0rc7.tar.gz (2.6 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pyelftools>=0.26 Using cached pyelftools-0.28-py2.py3-none-any.whl (155 kB) Collecting python-registry>=1.3.1 Using cached python_registry-1.3.1-py3-none-any.whl (23 kB) Collecting multiprocess>=0.70.12.2 Using cached multiprocess-0.70.12.2-py38-none-any.whl (128 kB) Collecting gevent>=20.9.0 Using cached gevent-21.12.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.1 MB) Collecting capstone>=4.0.1 Using cached capstone-4.0.2.tar.gz (2.0 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pefile>=2021.9.3 Using cached pefile-2021.9.3-py3-none-any.whl Collecting zope.interface Using cached zope.interface-5.4.0-cp38-cp38-manylinux2014_aarch64.whl (260 kB) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from gevent>=20.9.0->qiling) (45.2.0) Collecting zope.event Using cached zope.event-4.5.0-py2.py3-none-any.whl (6.8 kB) Requirement already satisfied: greenlet<2.0,>=1.1.0 in /usr/local/lib/python3.8/dist-packages (from gevent>=20.9.0->qiling) (1.1.2) Collecting dill>=0.3.4 Using cached dill-0.3.4-py2.py3-none-any.whl (86 kB) Requirement already satisfied: future in /usr/lib/python3/dist-packages (from pefile>=2021.9.3->qiling) (0.18.2) Collecting unicodecsv Using cached unicodecsv-0.14.1-py3-none-any.whl Collecting enum-compat Using cached enum_compat-0.0.3-py3-none-any.whl (1.3 kB) Building wheels for collected packages: capstone, keystone-engine, unicorn Building wheel for capstone (setup.py): started Building wheel for capstone (setup.py): finished with status 'done' Created wheel for capstone: filename=capstone-4.0.2-py3-none-manylinux1_aarch64.whl size=2087001 sha256=a8fa12c25d0d20482f36a5a75a29b5e00e7593030b8281c46648c702831909c8 Stored in directory: /root/.cache/pip/wheels/91/4c/3a/a750edb07653c70aae5b40544326f56d15127c45c46e1441fd Building wheel for keystone-engine (setup.py): started Building wheel for keystone-engine (setup.py): still running... Building wheel for keystone-engine (setup.py): finished with status 'done' Created wheel for keystone-engine: filename=keystone_engine-0.9.2-py2.py3-none-manylinux1_aarch64.whl size=1776204 sha256=2127ba11a3fa84769e3f3a81c1aee25eef11ab5f687b0a4cd0392c2c7aee1251 Stored in directory: /root/.cache/pip/wheels/00/cd/e0/cd0da05d2afc9fcf8f4d81eae0abb699dc557d988b68df3457 Building wheel for unicorn (setup.py): started Building wheel for unicorn (setup.py): finished with status 'error' Running setup.py clean for unicorn Successfully built capstone keystone-engine Failed to build unicorn Installing collected packages: unicorn, unicodecsv, pyelftools, keystone-engine, enum-compat, zope.interface, zope.event, pyyaml, python-registry, pefile, dill, capstone, multiprocess, gevent, qiling Attempting uninstall: unicorn Found existing installation: unicorn 1.0.3 Uninstalling unicorn-1.0.3: Successfully uninstalled unicorn-1.0.3 Running setup.py install for unicorn: started Running setup.py install for unicorn: finished with status 'error' Rolling back uninstall of unicorn Moving to /usr/local/lib/python3.8/dist-packages/unicorn-1.0.3.dist-info/ from /usr/local/lib/python3.8/dist-packages/~nicorn-1.0.3.dist-info Moving to /usr/local/lib/python3.8/dist-packages/unicorn/ from /usr/local/lib/python3.8/dist-packages/~nicorn

error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 t─> [4 lines of output] running bdist_wheel running build Building C extensions error: [Errno 2] No such file or directory: '/tmp/pip-install-2ybbyrkd/unicorn_7f40d2bce793443189d5d43c7af355da/../../include/unicorn' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for unicorn error: subprocess-exited-with-error

× Running setup.py install for unicorn did not run successfully. │ exit code: 1 t─> [4 lines of output] running install running build Building C extensions error: [Errno 2] No such file or directory: '/tmp/pip-install-2ybbyrkd/unicorn_7f40d2bce793443189d5d43c7af355da/../../include/unicorn' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages error: legacy-install-failure

× Encountered error while trying to install package. t─> unicorn

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

― Reply to this email directly, view it on GitHubhttps://github.com/qilingframework/qiling/issues/1152, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHJULO3YFAQYX5QPHBWQ4YTVJIUZVANCNFSM5VQ6YYLA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

wtdcode avatar May 10 '22 11:05 wtdcode

Hello, unicorn doesn’t have a prebuilt wheel so you have to do it by your own. ________________________________ From: diveking @.> Sent: Tuesday, May 10, 2022 11:36:26 AM To: qilingframework/qiling @.> Cc: Subscribed @.> Subject: [qilingframework/qiling] ubuntu arm64 install qiling error (Issue #1152) from Parallels Desktop ubuntu arm64 pip3 install qiling error info : Collecting qiling Using cached qiling-1.4.2-py3-none-any.whl (922 kB) Collecting pyyaml>=6.0 Using cached PyYAML-6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (721 kB) Collecting keystone-engine>=0.9.2 Using cached keystone-engine-0.9.2.tar.gz (2.8 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting unicorn>=2.0.0-rc5 Using cached unicorn-2.0.0rc7.tar.gz (2.6 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pyelftools>=0.26 Using cached pyelftools-0.28-py2.py3-none-any.whl (155 kB) Collecting python-registry>=1.3.1 Using cached python_registry-1.3.1-py3-none-any.whl (23 kB) Collecting multiprocess>=0.70.12.2 Using cached multiprocess-0.70.12.2-py38-none-any.whl (128 kB) Collecting gevent>=20.9.0 Using cached gevent-21.12.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.1 MB) Collecting capstone>=4.0.1 Using cached capstone-4.0.2.tar.gz (2.0 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pefile>=2021.9.3 Using cached pefile-2021.9.3-py3-none-any.whl Collecting zope.interface Using cached zope.interface-5.4.0-cp38-cp38-manylinux2014_aarch64.whl (260 kB) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from gevent>=20.9.0->qiling) (45.2.0) Collecting zope.event Using cached zope.event-4.5.0-py2.py3-none-any.whl (6.8 kB) Requirement already satisfied: greenlet<2.0,>=1.1.0 in /usr/local/lib/python3.8/dist-packages (from gevent>=20.9.0->qiling) (1.1.2) Collecting dill>=0.3.4 Using cached dill-0.3.4-py2.py3-none-any.whl (86 kB) Requirement already satisfied: future in /usr/lib/python3/dist-packages (from pefile>=2021.9.3->qiling) (0.18.2) Collecting unicodecsv Using cached unicodecsv-0.14.1-py3-none-any.whl Collecting enum-compat Using cached enum_compat-0.0.3-py3-none-any.whl (1.3 kB) Building wheels for collected packages: capstone, keystone-engine, unicorn Building wheel for capstone (setup.py): started Building wheel for capstone (setup.py): finished with status 'done' Created wheel for capstone: filename=capstone-4.0.2-py3-none-manylinux1_aarch64.whl size=2087001 sha256=a8fa12c25d0d20482f36a5a75a29b5e00e7593030b8281c46648c702831909c8 Stored in directory: /root/.cache/pip/wheels/91/4c/3a/a750edb07653c70aae5b40544326f56d15127c45c46e1441fd Building wheel for keystone-engine (setup.py): started Building wheel for keystone-engine (setup.py): still running... Building wheel for keystone-engine (setup.py): finished with status 'done' Created wheel for keystone-engine: filename=keystone_engine-0.9.2-py2.py3-none-manylinux1_aarch64.whl size=1776204 sha256=2127ba11a3fa84769e3f3a81c1aee25eef11ab5f687b0a4cd0392c2c7aee1251 Stored in directory: /root/.cache/pip/wheels/00/cd/e0/cd0da05d2afc9fcf8f4d81eae0abb699dc557d988b68df3457 Building wheel for unicorn (setup.py): started Building wheel for unicorn (setup.py): finished with status 'error' Running setup.py clean for unicorn Successfully built capstone keystone-engine Failed to build unicorn Installing collected packages: unicorn, unicodecsv, pyelftools, keystone-engine, enum-compat, zope.interface, zope.event, pyyaml, python-registry, pefile, dill, capstone, multiprocess, gevent, qiling Attempting uninstall: unicorn Found existing installation: unicorn 1.0.3 Uninstalling unicorn-1.0.3: Successfully uninstalled unicorn-1.0.3 Running setup.py install for unicorn: started Running setup.py install for unicorn: finished with status 'error' Rolling back uninstall of unicorn Moving to /usr/local/lib/python3.8/dist-packages/unicorn-1.0.3.dist-info/ from /usr/local/lib/python3.8/dist-packages/~nicorn-1.0.3.dist-info Moving to /usr/local/lib/python3.8/dist-packages/unicorn/ from /usr/local/lib/python3.8/dist-packages/~nicorn error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 t─> [4 lines of output] running bdist_wheel running build Building C extensions error: [Errno 2] No such file or directory: '/tmp/pip-install-2ybbyrkd/unicorn_7f40d2bce793443189d5d43c7af355da/../../include/unicorn' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for unicorn error: subprocess-exited-with-error × Running setup.py install for unicorn did not run successfully. │ exit code: 1 t─> [4 lines of output] running install running build Building C extensions error: [Errno 2] No such file or directory: '/tmp/pip-install-2ybbyrkd/unicorn_7f40d2bce793443189d5d43c7af355da/../../include/unicorn' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages error: legacy-install-failure × Encountered error while trying to install package. t─> unicorn note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. ― Reply to this email directly, view it on GitHub<#1152>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHJULO3YFAQYX5QPHBWQ4YTVJIUZVANCNFSM5VQ6YYLA. You are receiving this because you are subscribed to this thread.Message ID: @.>

Could you explain how to do it ? I have the same problem on MacOs.

JordiVentayol avatar Jul 13 '22 10:07 JordiVentayol

Please checkout https://docs.qiling.io

xwings avatar Oct 06 '22 03:10 xwings