Peter
unread,Mar 25, 2009, 6:41:37 PM3/25/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pwytter
I used the suggested commands:
$ sudo apt-get install python-tk python-imaging python-imaging-tk
which said I had python-imaging already, but installed blt, python-
imaging-tk, and python-tk OK.
$ cd pwytter-0.8
$ sudo python setup.py install
which installed setuptools and appeared to run OK. However, if I try
to run pwytter, I get the following. I've obviously misunderstood
something, but as a non-Pythonian, it's not clear what.
$ pwytter.py
Traceback (most recent call last):
File "/usr/bin/pwytter.py", line 5, in <module>
pkg_resources.run_script('pwytter==0.8', 'pwytter.py')
File "/usr/lib/python2.5/site-packages/setuptools-0.6c6-py2.5.egg/
pkg_resources.py", line 448, in run_script
File "/usr/lib/python2.5/site-packages/setuptools-0.6c6-py2.5.egg/
pkg_resources.py", line 1166, in run_script
File "/usr/lib/python2.5/site-packages/pwytter-0.8-py2.5.egg/EGG-
INFO/scripts/pwytter.py", line 29, in <module>
import pwSplashScreen
File "/usr/lib/python2.5/site-packages/pwytter-0.8-py2.5.egg/
pwSplashScreen.py", line 19, in <module>
from pwytter import __version__ as VERSION
File "/usr/bin/pwytter.py", line 5, in <module>
pkg_resources.run_script('pwytter==0.8', 'pwytter.py')
File "/usr/lib/python2.5/site-packages/setuptools-0.6c6-py2.5.egg/
pkg_resources.py", line 448, in run_script
File "/usr/lib/python2.5/site-packages/setuptools-0.6c6-py2.5.egg/
pkg_resources.py", line 1166, in run_script
File "/usr/lib/python2.5/site-packages/pwytter-0.8-py2.5.egg/EGG-
INFO/scripts/pwytter.py", line 30, in <module>
import twclient
File "/usr/lib/python2.5/site-packages/pwytter-0.8-py2.5.egg/
twclient/__init__.py", line 19, in <module>
import twitter
File "/usr/lib/python2.5/site-packages/pwytter-0.8-py2.5.egg/
twclient/twitter.py", line 14, in <module>
import simplejson
ImportError: No module named simplejson
$
I'm missing simplejson, presumably. Is there a repo/installer for
Python, like CPAN does for Perl?
///Peter