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.

PROCESSOR-SDK-AM57X: Using opkg to install python3

Part Number: PROCESSOR-SDK-AM57X


In order to install python3 to the Linux distro included in the SDK, I used the opkg command as follows:

opkg list | grep i python3-

(no response from Linux to above)

opkg install python3

(received error message: "opkg_prepare_url_for_install:  Coudn't find anything to satisfy 'python3"")

Does this mean that python3 is not available for this distro?

Thanks.

Peter H.

  • In addition, when I tried "opkg update", error messages were displayed indicating "wget: bad address 'gtautoftp.gt.design.ti.com'"

  • Hello Peter,

    Yes, python3 is not available for this distro (Arago - TI's own Yocto distribution). opkg update pulls from our own package repository that is not public. 

    I am sorry but this is not available yet. There will be a LTS Linux migration by end of year where it might be available, since other newer releases include python3. 

    Otherwise you could try building your own Yocto recipe with python3 (huge effort), which is beyond the scope of our support.

    For customizing with Yocto/OE, I would recommend communities that are focused on that as it is a very specific, deep skill set to obtain.

    I hope this was helpful.

    Regards,

    -Josue

  • Can you check if the distribution you have doesn't already have it? What SDK version are you on?

  • I am using the sd card that contains the bootable Linux and came with the THDXIDK5718.  Python 2.7 is contained in that card.  The SDK I downloaded is ti-processor-sdk-linux-am57xx-evm-06-03-00.106.  I am going to download the latest version (July 5, Version: 08.02.01.00).  I have a question on how to create a bootable sd card.  The instruction I found in the guide says the following:

     

    1. Download the default bootable SD card image (WIC file) available on the release page as tisdk-default-image-<machine>.wic.xz

    I'm assuming the release page is the processor sdk webpage.  But, I found no such file on it.  Can you kindly point me to the correct release page please? Thanks.

    Peter H.

  • Is creating a bootable sd card permiktted after running setup.sh for SDK?  Or, after executing Rule.Make?

    In any case, the downloadable image mentioned above (WIC file) is one that doesn't require SDK installation.  Can you confirm please?

  • Peter,

    Unfortunately there is no wic image for the July 5, Version: 08.02.01.00. 

  • Peter,

    Is creating a bootable sd card permiktted after running setup.sh for SDK?

    This question is unrelated to this post, please ask new question next time: 

    Yes it is, you can create an SD card utilizing the create-sdcard.sh script under ti-processor-sdk-linux-am57xx-evm-08_02_01_00/bin

    Regards,

    Josue