当前位置:首页 » 编程语言 » python如何安装xlrd

python如何安装xlrd

发布时间: 2022-04-24 17:44:52

python怎么安装xlrd

只要在软件当中添加后,然后下载安装就可以使用了。
也可以在应用市场里面下载安装。

Ⅱ python 要把xlrd包放在哪里

Python中安装xlrd模块的步骤:
1、从 https://pypi.python.org/pypi/xlrd 下载压缩

2、解压所下载的压缩包

3、CD到解压目录,执行 sudo python setup.py install

Ⅲ python 怎么加载xlrd库

从https://pypi.python.org/pypi/xlrd下载并解压对应的安装包 xlrd-1.1.0.tar.gz
然后执行 python setup.py install
安装后使用 import xlrd

Ⅳ 怎么安装python模块,如何安装python模块,常用安装方式

推荐使用pip安装python模块:

安装python模块推荐使用pip

如果您安装的是python2.7.10以上的版本,默认是安装了pip的。例如:python2.7.10安装后,pip默认安装在C:Python27Scripts目录下


pip的使用:

使用pip的前提是在cmd窗口中能执行pip,如下图所示

piphelp

Ⅳ python怎么导入xlrd模块

1.下载压缩包
2、解压所下载的压缩包
3、CD到解压目录,执行 sudo python setup.py install

Ⅵ Python安装模块的几种方法

首先确定已经在你的电脑上安装了python,然后配置了python的环境变量.例如:我要安装的模块是xlrd
1.把要安装的包到python的安装目录,例如我的C:\Python27,或者在安装目录下新建一个文件夹(packages),方便存放导入的模块。注:我的到C:\Python27\packages
2.运行cmd,cd 到你的安装目录,我的C:\Python27\packages\xlrd-0.9.3,输入python setup.py install,完成
3.打开python中IDLE(Python GUI),输入import xlrd,无提示表示,安装成功。

Ⅶ 求助,Python xlrd怎么安装,为嘛一直安装不了

感觉是没安装成功,安装过程可不止这几行
其实直接把安装文件里面的xlrd目录复制到C:\Python35\Lib\site-packages目录就可以用了

Ⅷ pip python3 xlrd 怎么安装

安装xlrd和xlwt很简单,直接【pip install xlrd】和【pip install xlwt】即可。用【pip install xlutils】则会报错.

Ⅸ python 第三方库怎么安装

【方法一】: 通过setuptools来安装python模块
首先下载
NOTE: 最好下载个setuptools,本人是15.2版本,里面包含了ez_setup
运行 python ez_setup.py
D:\work\installation\setuptools-15.2\setuptools-15.2>python ez_setup.py > 1.txt
Extracting in c:\users\admini~1\appdata\local\temp\tmpbxikxf
Now working in c:\users\admini~1\appdata\local\temp\tmpbxikxf\setuptools-15.2
Installing Setuptools
......
Copying setuptools-15.2-py2.7.egg to c:\python27\lib\site-packages
setuptools 15.2 is already the active version in easy-install.pth
Installing easy_install-script.py script to C:\Python27\Scripts
Installing easy_install.exe script to C:\Python27\Scripts
Installing easy_install-2.7-script.py script to C:\Python27\Scripts
Installing easy_install-2.7.exe script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\setuptools-15.2-py2.7.egg
Processing dependencies for setuptools==15.2
Finished processing dependencies for setuptools==15.2

运行 easy_install py
D:\work>easy_install py #py 为第三方库文件
Searching for py
Best match: py 1.4.26
Adding py 1.4.26 to easy-install.pth file

Using c:\python27\lib\site-packages
Processing dependencies for py
Finished processing dependencies for py

【方法二】: 通过pip来安装python模块
安装 easy_install pip
D:\work>easy_install pip
Searching for pip
Best match: pip 6.1.1
Processing pip-6.1.1-py2.7.egg
pip 6.1.1 is already the active version in easy-install.pth
Installing pip-script.py script to C:\Python27\Scripts
Installing pip.exe script to C:\Python27\Scripts
Installing pip2.7-script.py script to C:\Python27\Scripts
Installing pip2.7.exe script to C:\Python27\Scripts
Installing pip2-script.py script to C:\Python27\Scripts
Installing pip2.exe script to C:\Python27\Scripts

Using c:\python27\lib\site-packages\pip-6.1.1-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip

运行 pip install xlrd
Usage:
pip <command> [options]

Commands:
install Install packages.
uninstall Uninstall packages.
freeze Output installed packages in requirements format.
list List installed packages.
show Show information about installed packages.
search Search PyPI for packages.
wheel Build wheels from your requirements.
zip DEPRECATED. Zip indivial packages.
unzip DEPRECATED. Unzip indivial packages.
help Show help for commands.

General Options:
-h, --help Show help.
--isolated Run pip in an isolated mode, ignoring
environment variables and user configuration.
-v, --verbose Give more output. Option is additive, and can be
used up to 3 times.
-V, --version Show version and exit.
-q, --quiet Give less output.
--log <path> Path to a verbose appending log.
--proxy <proxy> Specify a proxy in the form
[user:passwd@]proxy.server:port.
--retries <retries> Maximum number of retries each connection should
attempt (default 5 times).
--timeout <sec> Set the socket timeout (default 15 seconds).
--exists-action <action> Default action when a path already exists:
(s)witch, (i)gnore, (w)ipe, (b)ackup.
--trusted-host <hostname> Mark this host as trusted, even though it does
not have valid or any HTTPS.
--cert <path> Path to alternate CA bundle.
--client-cert <path> Path to SSL client certificate, a single file
containing the private key and the certificate
in PEM format.
--cache-dir <dir> Store the cache data in <dir>.
--no-cache-dir Disable the cache.
--disable-pip-version-check
Don't periodically check PyPI to determine
whether a new version of pip is available for
download. Implied with --no-index.

【方法三】:直接从网上下载下可执行文件来安装.
比如说,去 >>> pythonlibs <<< 网站,提供了很多Python非官方包下载,二进制文件,下载安装方便.

热点内容
phprecv 发布:2025-05-17 11:55:00 浏览:610
福建时钟监控网关服务器云主机 发布:2025-05-17 11:54:28 浏览:248
c数据库压缩 发布:2025-05-17 11:39:22 浏览:960
安卓手机如何连接音响功放 发布:2025-05-17 11:37:48 浏览:958
破解exe加密视频 发布:2025-05-17 11:23:41 浏览:976
我的世界服务器圈太大了怎么办 发布:2025-05-17 11:15:21 浏览:614
便宜的免费云服务器 发布:2025-05-17 11:08:50 浏览:779
中国顶级dhcp解析服务器地址 发布:2025-05-17 11:06:27 浏览:36
php转义html 发布:2025-05-17 11:04:00 浏览:569
钢筋笼加密区规范 发布:2025-05-17 10:59:50 浏览:6