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

    Ubuntu22 install pip3

    Ubuntu
    2
    2
    266
    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.
    • 大法师
      大法师 last edited by 大法师

      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
      E: Unable to correct problems, you have held broken packages.
      ubuntu@coolpi:~$
      

      maybe the system hold some packages. Please take a try use command:

      apt-mask unhold python3* python3-* libpython3*
      apt install python3-pip
      

      jack@cool-pi.com

      1 Reply Last reply Reply Quote 0
      • C
        ccjjww1222 last edited by

        sudo apt-mark unhold python3* python3-* libpython3*
        sudo apt-get install python3-pip

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