定义:openpyxl模块是一个读写Excel文件(.xlsx)的Python库, 能够同时读取和修改Excel文件

doc下安装第三方模块:在doc下输入pip install openpyxl  或者pip3 install openpyxl 都报一下错误

PS:因为我安装了2个版本的Python

openpyxl模块安装时报错: You are using pip version 19.2.3, however version 20.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

 

openpyxl模块安装时报错: You are using pip version 19.2.3, however version 20.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

 

 

 输入更新命令:pip -m pip install -upgrade pip 更新

或者是 python -m pip install -U pip

更新成功

openpyxl模块安装时报错: You are using pip version 19.2.3, however version 20.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

 

 再次输入pip3 install openpyxl

openpyxl模块安装时报错: You are using pip version 19.2.3, however version 20.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

 

 

验证是否安装成功:

openpyxl模块安装时报错: You are using pip version 19.2.3, however version 20.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

 

 

或者是在pycharm上查看openpyxl模块安装时报错: You are using pip version 19.2.3, however version 20.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

 

相关文章:

  • 2021-08-29
  • 2021-04-19
  • 2021-07-16
  • 2021-12-17
  • 2021-10-04
  • 2021-04-13
  • 2021-12-16
猜你喜欢
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
相关资源
相似解决方案