Part Number: TDA4VM
Hi,
We're using PSDKR v8.0.
For some reason, I've to login our local server to compile rtos sdk. But I got this error:
Installing collected packages: pip
Found existing installation: pip 8.1.1
Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Successfully installed pip-22.0.4
[pip] Checking ... Done
[pip] Installing dependant python packages ...
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 7, in <module>
from pip._internal.cli.main import main
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 57
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
That's is because psdk_rtos/scripts/setup_psdk_rtos.sh uninstall system pip 8.1.1 and install the latest pip version 22.0.4 into Python 3.5
But replace system's pip would broke some Ubuntu functions and not suggested.
And pip 22.0 has dropped support for Python 3.6. See https://pip.pypa.io/en/stable/news/
So you shouldn't install and replace system's pip.
To fix this issue, the virtualenv or other solutions should be used in PSDKR for better compatibility.
