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

2024-09-27 18:13:11 发布

您现在位置:Python中文网/ 问答频道 /正文

我一直在网上搜索如何为各种操作系统(特别是Ubuntu和Windows)安装Poster(Streaming HTTP uploads和multipart/form data encoding)的说明。官方网站http://atlee.ca/software/poster/有很棒的示例脚本和示例,但没有关于如何在各种操作系统上安装模块的说明。如果有人能帮我的话,我会很感激的。


Tags: formhttp示例dataubuntuwindowsencodingca
1条回答
网友
1楼 · 发布于 2024-09-27 18:13:11

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

easy_install poster

或者

pip install poster

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

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

我建议使用pip并阅读优秀的documentation。阅读有关distributing modules的python文档也会对您有所帮助。

在未来search pypi。如果它在pypi上,您可以pip或轻松安装它。

相关问题 更多 >

    热门问题