1. python3-pip installed but pip3 command not found?

    sudo apt install python3-pip  执行命令,显示已经安装成功, 但是,执行的时候却找不到pip3

    user@conti-del-lp-018:~/Documents/backup_code/RF$ sudo pip3 install --upgrade pip
    sudo: pip3: command not found

    解决办法

 
    user@conti-del-lp-018:~$ dpkg -L python3-pip

   ....

   /usr/share
   /usr/share/man
  /usr/share/man/man1
  /usr/share/man/man1/pip3.1.gz
  /usr/share/doc
  /usr/share/doc/python3-pip
  /usr/share/doc/python3-pip/copyright
  /usr/bin
  /usr/bin/pip3
  /usr/share/doc/python3-pip/changelog.Debian.gz

 user@conti-del-lp-018:~$   sudo ln -s /usr/bin/pip3 /usr/local/bin/pip3

 2. sudo pip3 install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04 wxPython

   报如下错误:

        Error running configure
    ERROR: failed building wxWidgets
    Traceback (most recent call last):
      File "build.py", line 1471, in cmd_build_wx
        wxbuild.main(wxDir(), build_options)
      File "/tmp/pip-build-0crvl0jr/wxPython/buildtools/build_wxwidgets.py", line 373, in main
        "Error running configure")
      File "/tmp/pip-build-0crvl0jr/wxPython/buildtools/build_wxwidgets.py", line 85, in exitIfError
        raise builder.BuildError(msg)
    buildtools.builder.BuildError: Error running configure
    Finished command: build_wx (0m3.191s)
    Finished command: build (0m3.191s)
    Command '"/usr/bin/python3" -u build.py build' failed with exit code 1.

    解决办法

  

 

  

相关文章:

  • 2022-01-10
  • 2021-11-22
  • 2021-08-16
  • 2022-12-23
  • 2021-05-20
  • 2021-11-23
  • 2021-04-19
  • 2021-03-30
猜你喜欢
  • 2021-06-17
  • 2022-12-23
  • 2021-08-30
  • 2023-02-22
  • 2021-11-19
  • 2022-01-18
  • 2021-07-17
相关资源
相似解决方案