-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Hello,
I’m a new developer getting started with the Mercury API and RFID on my Jetson Orin Nano Super Developer Kit. The Jetson Orin Nano is running Ubuntu 22.04 (aarch64).
Following is the output from install.
Any help is much appreciated.
Mustafa
jetson@ubuntu:~/Projects/RFID$ pip3 install python-mercuryapi
Defaulting to user installation because normal site-packages is not writeable
Collecting python-mercuryapi
Using cached python-mercuryapi-0.5.3.tar.gz (21 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: python-mercuryapi
Building wheel for python-mercuryapi (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
running bdist_wheel
running build
curl https://www.jadaktech.com/wp-content/uploads/2019/10/mercuryapi-1.31.1.36-2.zip -o mercuryapi-1.31.1.36-2.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 114k 0 114k 0 0 145k 0 --:--:-- --:--:-- --:--:-- 145k
unzip mercuryapi-1.31.1.36-2.zip
Archive: mercuryapi-1.31.1.36-2.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of mercuryapi-1.31.1.36-2.zip or
mercuryapi-1.31.1.36-2.zip.zip, and cannot find mercuryapi-1.31.1.36-2.zip.ZIP, period.
make: *** [Makefile:23: mercuryapi-1.31.1.36/.done] Error 9
running build_ext
building 'mercury' extension
creating build
creating build/temp.linux-aarch64-3.10
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ibuild/mercuryapi/include -I/usr/include/python3.10 -c mercury.c -o build/temp.linux-aarch64-3.10/mercury.o
mercury.c:23:10: fatal error: tm_reader.h: No such file or directory
23 | #include <tm_reader.h>
| ^~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for python-mercuryapi
Running setup.py clean for python-mercuryapi
Failed to build python-mercuryapi
Installing collected packages: python-mercuryapi
Running setup.py install for python-mercuryapi ... error
error: subprocess-exited-with-error
× Running setup.py install for python-mercuryapi did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
unzip mercuryapi-1.31.1.36-2.zip
Archive: mercuryapi-1.31.1.36-2.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of mercuryapi-1.31.1.36-2.zip or
mercuryapi-1.31.1.36-2.zip.zip, and cannot find mercuryapi-1.31.1.36-2.zip.ZIP, period.
make: *** [Makefile:23: mercuryapi-1.31.1.36/.done] Error 9
running build_ext
building 'mercury' extension
creating build
creating build/temp.linux-aarch64-3.10
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ibuild/mercuryapi/include -I/usr/include/python3.10 -c mercury.c -o build/temp.linux-aarch64-3.10/mercury.o
mercury.c:23:10: fatal error: tm_reader.h: No such file or directory
23 | #include <tm_reader.h>
| ^~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> python-mercuryapi
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.