Skip to content

Commit 0fa2e3d

Browse files
committed
Better info on how to install missing library
1 parent 66ef694 commit 0fa2e3d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎ch06/install.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
importtwitter
4242
exceptImportError:
4343
print("""\
44-
You need to install python-twitter.
45-
On Linux:
46-
sudo pip install python-twitter
47-
On Windows:
48-
Follow instructions at http://code.google.com/p/python-twitter/ """)
44+
You need to install python-twitter:
45+
pip install python-twitter
46+
If pip is not found you might have to install it using easy_install.
47+
If it does not work on your system, you might want to follow instructions
48+
at http://code.google.com/p/python-twitter/ """)
4949

5050
sys.exit(1)
5151

0 commit comments

Comments
(0)