| Issue 5: | "No module named simplejson" | |
| 3 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. running the program
What is the expected output? What do you see instead?
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
What version of the product are you using? On what operating system?
0.8, linux(mint)
Please provide any additional information below.
It appears the there is some missing dependencies.
I downloaded simplejson, but that made it look for pwCache.
After failing to install pwCache, I tried different approach. The solution
was to type "python pwytter.py" instead of "pwytter.py" as written on
pwytter.com
|
|
,
May 12, 2008
(No comment was entered for this change.)
Status: Accepted
|
|
,
May 29, 2008
I had exatly the same problem trying to install. Kubuntu 7.10 pwytter 0.8 |
|
,
Jul 18, 2008
I have the same problem with pwCache, but i copy pwCache.py and pwCache.pyc from the
source directory to /usr/lib/python2.5/site-packages/pwytter-0.8-py2.5.egg and then
i made them executables with chmod. But now, the problem is this:
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 966, in <module>
app = MainPanel(master=rootTk)
File "/usr/lib/python2.5/site-packages/pwytter-0.8-py2.5.egg/EGG-INFO/scripts/
pwytter.py", line 121, in __init__
self._loadTheme(self._params['theme'])
File "/usr/lib/python2.5/site-packages/pwytter-0.8-py2.5.egg/EGG-INFO/scripts/
pwytter.py", line 199, in _loadTheme
self.Theme=pwTheme.pwTheme(aName)
File "/usr/lib/python2.5/site-packages/pwytter-0.8-py2.5.egg/pwTheme.py", line 31,
in __init__
self.setTheme(aName)
File "/usr/lib/python2.5/site-packages/pwytter-0.8-py2.5.egg/pwTheme.py", line 37,
in setTheme
self.themeName = self.themeList[0]
IndexError: list index out of range
I don't know what to do here.
|
|
,
Jul 18, 2008
PD: I'm using ubuntu 8.04, i downloaded pwytter 0.8. |
|
,
Apr 02, 2009
I am having problems installing. I followed info on web-site. Here is the output:
root@sid-tp:/home/james/download/pwytter-0.8# python setup.py install
Traceback (most recent call last):
File "setup.py", line 33, in <module>
from pwytter import __version__ as VERSION
File "/home/james/download/pwytter-0.8/pwytter.py", line 30, in <module>
import twclient
File "/home/james/download/pwytter-0.8/twclient/__init__.py", line 19, in <module>
import twitter
File "/home/james/download/pwytter-0.8/twclient/twitter.py", line 14, in <module>
import simplejson
File "/home/james/download/pwytter-0.8/twclient/simplejson/__init__.py", line 95,
in <module>
from decoder import JSONDecoder
File "/home/james/download/pwytter-0.8/twclient/simplejson/decoder.py", line 6, in
<module>
from simplejson.scanner import Scanner, pattern
ImportError: cannot import name Scanner
root@sid-tp:/home/james/download/pwytter-0.8#
I am using Sidux 2009.1 and pwytter 0.8
Please help to solve this.
|
|
,
Jun 20, 2009
OK, I am on jaunty, if I do "pwytter.py" it crashed but if I do "python pwytter.py" it works May be good in a near release... |
|
,
Jul 14, 2009
Same problem. You should update your page to add more DEPENDENCIES for you software. The 'sudo apt-get install ...' you gave on the Download page is definitely not enough. |
|
|
|