安装海报(流式HTTP上传和多部分/表格数据编码)

时间:2011-05-06 04:45:32

标签: python

我一直在网上搜索有关如何为各种操作系统(尤其是Ubuntu和Windows)安装海报(流式HTTP上传和多部分/表格数据编码)的说明。官方网站http://atlee.ca/software/poster/有很棒的样本脚本和示例,但没有关于如何在各种操作系统上安装模块的内容。感谢有人可以帮助我。

1 个答案:

答案 0 :(得分:4)

这很简单,您可以在终端运行中使用easy_install或pip:

easy_install poster

pip install poster

如果您没有easy_install或pip,请先安装分发:

curl -O http://python-distribute.org/distribute_setup.py
python distribute_setup.py

我建议使用pip并阅读优秀的documentation。您还可以阅读有关distributing modules的python文档。

将来search pypi。如果它在pypi上你可以pip或easy_install它。