1 / 3

Installing the PycURL Library for Twitter Streaming on Python 2.7

This guide provides step-by-step instructions on how to install the PycURL library for Twitter streaming using a lab computer. Start by downloading the necessary links from PycURL and the Twitter streamer on the course website. After extracting the site-packages.zip file, you'll need to copy specific files to the Python 2.7 site-packages directory. Finally, run IDLE to start Python and open the twitter-stream.py script you've downloaded. Follow these clear steps to set up your Twitter streaming functionality seamlessly.

daktari
Download Presentation

Installing the PycURL Library for Twitter Streaming on Python 2.7

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Streaming Twitter

  2. Install pycurl library • Use a lab computer • From the course website • Download the links from pycurl and twitter streamer • Extract site-packages.zip, and you should see three files • curl (folder) • pycurl.pyd • pycurl_ssl-7.19.0-py2.7.egg-info • Copy them • Go to C:\Python27\Lib\site-packages\, you should see a single README.txt file there • Paste them there. This installs the pycurl library.

  3. Run IDLE with Python 2.7.2 • Click Start • Type cmd in the "seasrch program or files" box • Click on cmd.exe • This is the command window. After the prompt, type cd C:\Python27 and Enter • Then type python Lib\idlelib\idle.pyw • This starts IDLE with Python 2.7.2. Go File->Open, and find twitter-stream.py that you downloaded.

More Related