zoukankan      html  css  js  c++  java
  • python安装遇到的相关问题

    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.

        解决办法

      

      

  • 相关阅读:
    基于webpack的react脚手架
    关于密码的简单加密
    移动端日期控件
    JS中如何巧妙的用事件委托
    JS中关于正则的巧妙操作
    call,apply,bind
    vue常用笔记
    高性能的js第三方库——lodash、 Underscore、async、md5及moment
    Nightwatch——自动化测试(端对端e2e)
    for循环的耗时问题
  • 原文地址:https://www.cnblogs.com/ting152/p/12894946.html
Copyright © 2011-2022 走看看