如何使用pip安装Openpyxl [英] How to install Openpyxl with pip
问题描述
我有Windows 10(64位).我想利用Openpyxl
包开始学习如何与excel和其他电子表格进行交互.
I have windows 10 (64 bit). I want to utilize the Openpyxl
package to start learning how to interact with excel and other spreadsheets.
我用"windowsx86-64web-basedinstaller"
安装了Python,我有一个64位操作系统,在尝试安装此版本时我弄错了吗?
I installed Python with "windowsx86-64web-basedinstaller"
I have a 64 bit OS, was I mistaken when trying to install this version?
推荐答案
您需要确保C:\Python35\Sripts
在系统路径中.按照此处的顶部回答说明进行操作:
You need to ensure that C:\Python35\Sripts
is in your system path. Follow the top answer instructions here to do that:
您在Windows命令提示符下而不是在已打开的python解释器中运行命令.
You run the command in windows command prompt, not in the python interpreter that you have open.
按:
Win + R
在已打开的运行窗口中键入CMD
Type CMD
in the run window which has opened
在Windows命令提示符下键入pip install openpyxl
.
Type pip install openpyxl
in windows command prompt.
这篇关于如何使用pip安装Openpyxl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!