美文网首页
问题汇总

问题汇总

作者: GalaxyJM | 来源:发表于2020-11-04 11:20 被阅读0次

    1.Chromedriver版本问题
    报错:

     session not created: This version of ChromeDriver only supports Chrome version 84
    

    解决:
    下载与Chrome一致的Chromedriver版本
    ChromeDriver下载地址:http://npm.taobao.org/mirrors/chromedriver/

    2.127.0.0.1与192.168.1.1有什么区别
    127.0.0.1 是本机地址 相当于 localhost
    192.168.1.1 是网络ip地址

    3.pip版本问题

    WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available.
    You should consider upgrading via the '/usr/local/opt/python@3.8/bin/python3.8 -m pip install --upgrade pip' command.
    

    根据提示对pip进行升级

    /usr/local/opt/python@3.8/bin/python3.8 -m pip install --upgrade pip
    

    但是又报错了

    ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'RECORD'
    Consider using the `--user` option or check the permissions.
    

    提示说是没有权限,加上sudo 输入密码就可以升级成功了

    sudo /usr/local/opt/python@3.8/bin/python3.8 -m pip install --upgrade pip
    
    Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
    Collecting pip
      Downloading http://mirrors.aliyun.com/pypi/packages/cb/28/91f26bd088ce8e22169032100d4260614fc3da435025ff389ef1d396a433/pip-20.2.4-py2.py3-none-any.whl (1.5 MB)
         |████████████████████████████████| 1.5 MB 4.2 MB/s 
    Installing collected packages: pip
      Attempting uninstall: pip
        Found existing installation: pip 20.2.3
        Uninstalling pip-20.2.3:
          Successfully uninstalled pip-20.2.3
    Successfully installed pip-20.2.4
    
    

    相关文章

      网友评论

          本文标题:问题汇总

          本文链接:https://www.haomeiwen.com/subject/rvqlvktx.html