This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[TDA4] setup_psdk_rtos.sh error

Hello, 

I am doing setup the TDA4 board.

I met the error like below when I execute "./psdk_rtos/scripts/setup_psdk_rtos.sh".

[glew] Done
[pip] Checking ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: curl.haxx.se/.../sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
python3: can't open file 'get-pip.py': [Errno 2] No such file or directory
rm: cannot remove 'get-pip.py': No such file or directory
Requirement already up-to-date: pip in /usr/lib/python3/dist-packages
[pip] Checking ... Done
[pip] Installing dependant python packages ...
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages
Collecting pycryptodomex
Could not find a version that satisfies the requirement pycryptodomex (from versions: )
No matching distribution found for pycryptodomex
[pip] Installing dependant python packages ... Done
Packages installed successfully
root@hyukilee-VirtualBox:~/ti-processor-sdk-rtos-j721e-evm-08_04_00_06#

I can't install pycryptodomex. 

Should I resolve the this issue or ignore this message?

Thank you.,

  • Hi Lee,

    Is the remaining script going through fine?
    Also, can you please mention the SDK version and the python version you are using?

    Regards,
    Parth

  • Hello, Parth,

    Version info is like below. 

    Python 2.7.17

    SDK 08_04_00_06 

    I give you more log 


    Cloning into 'arm-trusted-firmware'...
    fatal: unable to access 'git.ti.com/.../': gnutls_handshake() failed: Error in the pull function.
    ERROR: Could not clone git://git.ti.com/atf/arm-trusted-firmware.git
    [ATF] Checking ... Done
    [OPTEE] Checking ...
    Cloning into 'ti-optee-os'...
    fatal: unable to access 'git.ti.com/.../': gnutls_handshake() failed: Error in the pull function.
    ERROR: Could not clone git://git.ti.com/optee/ti-optee-os.git
    [OPTEE] Checking ... Done
    [EDGEAI-TIOVX-MODULES] Checking ...
    HEAD is now at f77f353 cmake: Add support for SOC configuration
    [EDGEAI-TIOVX-MODULES] Checking ... Done
    [EDGEAI-GST-PLUGINS] Checking ...
    HEAD is now at f208c2e Bump the project version to 0.7.0
    [EDGEAI-GST-PLUGINS] Checking ... Done
    [opkg-utils] Checking ...
    [opkg-utils] Done
    [glm] Checking ...
    [glm] Done
    [glew] Checking ...
    [glew] Done
    [pip] Checking ...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    curl: (60) SSL certificate problem: unable to get local issuer certificate
    More details here: curl.haxx.se/.../sslcerts.html

    curl failed to verify the legitimacy of the server and therefore could not
    establish a secure connection to it. To learn more about this situation and
    how to fix it, please visit the web page mentioned above.
    python3: can't open file 'get-pip.py': [Errno 2] No such file or directory
    rm: cannot remove 'get-pip.py': No such file or directory
    Requirement already up-to-date: pip in /usr/lib/python3/dist-packages
    [pip] Checking ... Done
    [pip] Installing dependant python packages ...
    Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages
    Collecting pycryptodomex
    Could not find a version that satisfies the requirement pycryptodomex (from versions: )
    No matching distribution found for pycryptodomex
    [pip] Installing dependant python packages ... Done
    Packages installed successfully

  • Hi,

         Can you try with python 3.6?


    Regards,

    Anshu

  • It isn't work. either.

  • Hi Lee,

    Thanks for sharing the logs. It seems git is also failing to pull in the necessary repository on top of pip failing. A couple of questions I have are:

    • Are you behind a company proxy?
    • Are you able to manually run pip to install any packages? For example, can you run pip3 install pycryptodomex
    • Are you able to manually clone any repositories? For example, can you run git clone https://git.ti.com/cgit/atf/arm-trusted-firmware/

    Regards,

    Takuma