How to install Python module?
来源:互联网 发布:东华理工行知分院官网 编辑:程序博客网 时间:2024/06/04 18:56
FeedParser for Example
Introduction
Universal Feed Parser is a Python module for downloading and parsing syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3, Atom 1.0, and CDF feeds. It also parses several popular extension modules, including Dublin Core and Apple's iTunes extensions.
If your python hasn't the module and it will raise a expection like this "No module named feedparser" when you use "import feedparser" in code.
But how to deal with this problem?
We should install the module clearly. I download it from internet(http://code.google.com/intl/zh-CN/). The package contain two *.py files(feedparser.py & setup.py) and a folder named "docs"(html files for examples of how to use the module). Now ,we should let python to know feedparser module in code files.
In windows, I copy feedparser.py and setup.py to the directory of python installe,and then run the CMD and local to it. Use command like this:
python setup.py install
OK, it now works well. Just make a test.
- How to install Python module?
- How to install python packages
- Perl Module : How to Install Perl Module on Windows
- windows下python如何安装模块或包? How to install package or module in windows OS when using PYTHON?
- How to install a PHP PECL extension/module on Ubuntu
- How to install python before insalling mpich2
- How to Install Python on Linux
- How to Install Pygame to Python 3 on Ubuntu
- python-multiprocessing module install
- mac python install module
- How to Install Orabm
- How to Install Cygwin
- how to install CYGWIN
- how to install curl
- how to install mplayer
- HOW TO INSTALL subtitleeditor
- How to TWiki install
- How to install Redmine
- Oracle Group By 用法之 —— Having
- FreeMarker概述
- [ubuntu下安装svn]
- IE打印模板简介
- C#组件编程
- How to install Python module?
- 在linux下制作补丁文件
- vs2005 c++ 项目怎样添加“依赖”、“库目录”和“包含目录”
- C++构造函数调用构造函数问题
- 郁闷,不知道错在哪里
- Oracle10g EM乱码解决
- Oracle数据字典
- 安装SQL SERVER过程中出现的问题
- 男生女生关系的33个绝妙比喻