Hello again @Eoin! Thank you for your reply.
I followed your steps
sudo apt update
sudo apt install python3-pip -y
pip3 install --upgrade pip setuptools wheel
got this message:
Successfully installed pip-21.3.1 setuptools-59.6.0 wheel-0.37.1
Then I follow the 2 documentations: this NVIDIA Jetson and this one Linux Python SDK(the Jetson Nano steps)
sudo apt-get install libatlas-base-dev libportaudio2 libportaudiocpp0 portaudio19-dev python3-pip
pip3 install Cython
pip3 install pyaudio edge_impulse_linux
got this message:
Successfully built pyaudio edge-impulse-linux
Installing collected packages: psutil, numpy, pyaudio, edge-impulse-linux
WARNING: The scripts f2py, f2py3 and f2py3.6 are installed in β/home/jetsonnano/.local/binβ which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
ERROR: pipβs dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
uff 0.6.9 requires protobuf>=3.3.0, but you have protobuf 3.0.0 which is incompatible.
Successfully installed edge-impulse-linux-1.0.10 numpy-1.19.5 psutil-7.0.0 pyaudio-0.2.14
seems to work. (need to investigate what this WARNING is)
what I see too, is I got a lot a red warnings on the top, when the command
pip3 install pyaudio edge_impulse_linux
was runnig. something like this (I copy here a short part, is all too longβ¦)
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see github/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with β-m pipβ instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Collecting pyaudio
Downloading PyAudio-0.2.14.tar.gz (47 kB)
|ββββββββββββββββββββββββββββββββ| 47 kB 1.1 MB/s
Installing build dependencies β¦ done
Getting requirements to build wheel β¦ done
Preparing metadata (pyproject.toml) β¦ done
Collecting edge_impulse_linux
Downloading edge_impulse_linux-1.0.12.tar.gz (11 kB)
Installing build dependencies β¦ done
Getting requirements to build wheel β¦ error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /home/jetsonnano/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmp9h5no544
cwd: /tmp/pip-install-ntn16zl8/edge-impulse-linux_d803705e390a4e3793ef4224961a1b68
Complete output (51 lines):
Traceback (most recent call last):
File β/tmp/pip-build-env-wj3djl6y/overlay/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/requirements.pyβ, line 102, in init
req = REQUIREMENT.parseString(requirement_string)
File β/tmp/pip-build-env-wj3djl6y/overlay/lib/python3.6/site-packages/pkg_resources/_vendor/pyparsing.pyβ, line 1654, in parseString
raise exc
File β/tmp/pip-build-env-wj3djl6y/overlay/lib/python3.6/site-packages/pkg_resources/_vendor/pyparsing.pyβ, line 1644, in parseString
loc, tokens = self._parse( instring, 0 )
File β/tmp/pip-build-env-wj3djl6y/overlay/lib/python3.6/site-packages/pkg_resources/_vendor/pyparsing.pyβ, line 1402, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File β/tmp/pip-build-env-wj3djl6y/overlay/lib/python3.6/site-packages/pkg_resources/_vendor/pyparsing.pyβ, line 3417, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File β/tmp/pip-build-env-wj3djl6y/overlay/lib/python3.6/site-packages/pkg_resources/_vendor/pyparsing.pyβ, line 1406, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File β/tmp/pip-build-env-wj3djl6y/overlay/lib/python3.6/site-packages/pkg_resources/_vendor/pyparsing.pyβ, line 3205, in parseImpl
raise ParseException(instring, loc, self.errmsg, self)
pkg_resources._vendor.pyparsing.ParseException: Expected stringEnd (at char 4), (line:1, col:5)
During handling of the above exception, another exception occurred:
etc, etc⦠do you think I should ignore these warnings?
Thanks and Regards,
Angelo