• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    Trying to install pip3

    Scheduled Pinned Locked Moved Ubuntu
    10 Posts 4 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MSUMMERS999
      last edited by

      Re: Ubuntu22 install pip3
      Tried the suggestion from the old response (have the same error with pip3 installation) and am receiving the following.
      "E: command line option 'a' [from -mask] is not understood in combination with the other options."

      J 1 Reply Last reply Reply Quote 0
      • J
        jack_admin @MSUMMERS999
        last edited by

        @MSUMMERS999 The current system doesn't need to do this. That's for earlier versions.

        1 Reply Last reply Reply Quote 0
        • M
          MSUMMERS999
          last edited by

          thank you.
          I just received my coolpi last week and it does not have pip3 installed and i can't install it. When i do a sudo apt install python3-pip, i get.
          ubuntu@coolpi:~$ sudo apt install python3-pip
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          Some packages could not be installed. This may mean that you have
          requested an impossible situation or if you are using the unstable
          distribution that some required packages have not yet been created
          or been moved out of Incoming.
          The following information may help to resolve the situation:

          The following packages have unmet dependencies:
          python3-distutils : Depends: python3:any (>= 3.10.5-0~)
          Depends: python3-lib2to3 (= 3.10.6-1~22.04) but 3.10.4-0ubuntu1 is to be installed
          python3-setuptools : Depends: python3-pkg-resources (= 59.6.0-1.2ubuntu0.22.04.1) but 59.6.0-1.2 is to be installed
          E: Unable to correct problems, you have held broken packages.

          大法师大 1 Reply Last reply Reply Quote 0
          • 大法师大
            大法师 @MSUMMERS999
            last edited by 大法师

            @MSUMMERS999
            Please confirm the system info, which firmware image be used. You can also download the latest firmware through the onedrive link OneDrive, and the burning method is consistent with the raspberry pi.

            Ref: https://www.cool-pi.com/topic/114/ubuntu20-04-install-rknn-toolkit-lite2?_=1677807786032

            jack@cool-pi.com

            1 Reply Last reply Reply Quote 0
            • M
              MSUMMERS999
              last edited by

              ubuntu@coolpi:~$ lsb_release -a
              No LSB modules are available.
              Distributor ID: Ubuntu
              Description: Ubuntu 22.04.1 LTS
              Release: 22.04
              Codename: jammy
              python 3.10.4 is the active python version
              i entered the step 1 commands of the suggestion:
              the 3rd returned:
              ubuntu@coolpi:~$ sudo apt install python3.10 python3.10-dev
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              Some packages could not be installed. This may mean that you have
              requested an impossible situation or if you are using the unstable
              distribution that some required packages have not yet been created
              or been moved out of Incoming.
              The following information may help to resolve the situation:

              The following packages have unmet dependencies:
              libexpat1-dev : Depends: libexpat1 (= 2.4.7-1ubuntu0.2) but 2.4.7-1 is to be installed
              libpython3.10-dev : Depends: libpython3.10-stdlib (= 3.10.6-1~22.04.2) but 3.10.4-3ubuntu0.1 is to be installed
              Depends: libpython3.10 (= 3.10.6-1~22.04.2) but 3.10.4-3ubuntu0.1 is to be installed
              python3.10 : Depends: python3.10-minimal (= 3.10.6-1~22.04.2) but 3.10.4-3ubuntu0.1 is to be installed
              Depends: libpython3.10-stdlib (= 3.10.6-1~22.04.2) but 3.10.4-3ubuntu0.1 is to be installed
              python3.10-dev : Depends: libpython3.10 (= 3.10.6-1~22.04.2) but 3.10.4-3ubuntu0.1 is to be installed
              E: Unable to correct problems, you have held broken packages.

              zhengbichengZ 1 Reply Last reply Reply Quote 0
              • zhengbichengZ
                zhengbicheng @MSUMMERS999
                last edited by

                @MSUMMERS999 Maybe you need to try burning the image again?

                M 1 Reply Last reply Reply Quote 0
                • M
                  MSUMMERS999 @zhengbicheng
                  last edited by

                  @zhengbicheng
                  I will burn the latest from your onedrive but this is what the coolpi was shipped with (ordered Feb 1 and delivered Feb 17).

                  Is the TF chip required to install the new image? if so i have not been able to format that using 2 different TF devices. both R/W "real" TF cards. The coolpi does not recognize it either. Am i missing a trick with the TF chip? Thank you in advance.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MSUMMERS999 @MSUMMERS999
                    last edited by

                    @MSUMMERS999 as more information, i have tried the TF chip on Windows 10 and Ubuntu 22.04

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jack_admin @MSUMMERS999
                      last edited by

                      @MSUMMERS999 You can try boot system from emmc, and then insert tf card. Check it partitions table or format tf card. Please refer to the follow info.

                      coolpi@coolpi:~$ sudo wipefs /dev/sda
                      [sudo] password for coolpi: 
                      DEVICE OFFSET TYPE UUID LABEL
                      sda    0x1fe  dos       
                      coolpi@coolpi:~$ sudo wipefs /dev/sda1
                      DEVICE OFFSET TYPE UUID      LABEL
                      sda1   0x52   vfat A73D-13D2 system-boot
                      sda1   0x0    vfat A73D-13D2 system-boot
                      sda1   0x1fe  vfat A73D-13D2 system-boot
                      coolpi@coolpi:~$ sudo wipefs /dev/sda2
                      DEVICE OFFSET TYPE UUID                                 LABEL
                      sda2   0x438  ext4 460c3e2b-4363-4a7b-b9e2-1e1db123c52d writable
                      coolpi@coolpi:~$ 
                      

                      format command example:

                      sudo wipefs -a -f /dev/sda
                      
                      1 Reply Last reply Reply Quote 0
                      • M
                        MSUMMERS999
                        last edited by

                        1. the good news is that the 20230303 download has solved the pip3 install problem and i was able to install opencv as well. It is running on a usb stick at the moment. should this issue be closed?

                        2)the format commands are not working as shown:

                        ubuntu@coolpi:~$ lsblk
                        NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
                        sda 8:0 1 0B 0 disk
                        sdb 8:16 1 0B 0 disk
                        mmcblk0 179:0 0 58.2G 0 disk
                        ├─mmcblk0p1 179:1 0 300M 0 part /boot/firmware
                        └─mmcblk0p2 179:2 0 57.9G 0 part /
                        mmcblk0boot0 179:32 0 4M 1 disk
                        mmcblk0boot1 179:64 0 4M 1 disk
                        zram0 254:0 0 0B 0 disk

                        the tf chip is sda and sdb upon insertion via a usb adapter. the coolpi does not recognized the chip via the onboard tf card slot.

                        ubuntu@coolpi:~$ sudo wipefs /dev/sda
                        ubuntu@coolpi:~$ sudo wipefs /dev/sdb
                        ubuntu@coolpi:~$ sudo wipefs -a -f /dev/sda
                        ubuntu@coolpi:~$ sudo wipefs -a -f /dev/sdb
                        ubuntu@coolpi:~$ lsblk
                        NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
                        sda 8:0 1 0B 0 disk
                        sdb 8:16 1 0B 0 disk
                        mmcblk0 179:0 0 58.2G 0 disk
                        ├─mmcblk0p1 179:1 0 300M 0 part /boot/firmware
                        └─mmcblk0p2 179:2 0 57.9G 0 part /
                        mmcblk0boot0 179:32 0 4M 1 disk
                        mmcblk0boot1 179:64 0 4M 1 disk
                        zram0 254:0 0 0B 0 disk

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post