Skip to Content
Python语言及其应用(第2版)
book

Python语言及其应用(第2版)

by Bill Lubanovic
March 2022
Intermediate to advanced
522 pages
13h 52m
Chinese
Posts & Telecom Press
Content preview from Python语言及其应用(第2版)
安装
Python 3
435
B.4
安装
virtualenv
virtualenv
程序通常与
pip
一起使用,可以将
Python
包安装在指定目录(文件夹)中,避
免与现有的
Python
包发生冲突
。这可以让你使用
Python
的各种好东西,即使你没有修改
现有安装的权限。
下面是一些不错的
pip
virtualenv
的使用指南。
A Non-Magical Introduction to Pip and Virtualenv for Python Beginners
The Hitchhiker
s Guide to Packaging: Pip
B.5
其他打包解决方案
如你所见,
Python
的打包技术各不相同,没有一劳永逸的方法。
PyPA
Python Packaging
Authority
)是一个尝试简化
Python
打包的志愿者工作组
(不属于官方
Python
开发核心
组)。该小组编写了
Python
打包用户指南(
Python Packaging User
s Guide
其中讨论了目
前的问题及解决方案。
最流行的工具是
pip
virtualenv
,这也是本书一直在使用的。如果两者不能满足你的需
要,或是你想尝试点儿新东西,下面是一些备选。
pipenv
结合了
pip
virtualenv
的特性并添加了更多功能。
作为竞争对手,
poetry
解决了
pipenv
的一些问题。
不过,最出类拔萃的打包方式还是
conda
,特别是对于科学和数据密集型应用。你可以
把它作为接下来会讲到的
Anaconda ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python编程入门与实战

Python编程入门与实战

Posts & Telecom Press, Fabrizio Romano
Python实用技能学习指南

Python实用技能学习指南

Posts & Telecom Press, Robert Smallshire, Austin Bingham
Python技术基础视频教程

Python技术基础视频教程

保罗·J·戴特尔
Python面向对象编程指南

Python面向对象编程指南

Posts & Telecom Press, Steven F. Lott

Publisher Resources

ISBN: 9787115586223