[read4me-users] installing read4me missing __init__.py
Brought to you by:
bennetbrower
From: Dustin L. <dl...@st...> - 2007-03-22 00:42:14
|
I'm trying out read4me, and am having trouble getting it to run. I'm on an Ubuntu machine. I installed it like so: [48 > sudo python setup.py install --prefix=/home/dlong/app/read4me /usr/lib/python2.4/distutils/dist.py:236: UserWarning: Unknown distribution option: 'app' warnings.warn(msg) running install running build running build_py checking for reverend support checking for cherrypy support checking for StringIO support checking for logging support checking for cgi support checking for pickle support checking for libxml2 support checking for feedparser support checking for urllib2 support checking for time support checking for re support package init file '__init__.py' not found (or not a regular file) package init file '__init__.py' not found (or not a regular file) running install_lib creating /home/dlong/app/read4me/lib creating /home/dlong/app/read4me/lib/python2.4 creating /home/dlong/app/read4me/lib/python2.4/site-packages creating /home/dlong/app/read4me/lib/python2.4/site-packages/read4me copying build/lib/read4me/entry.py -> /home/dlong/app/read4me/lib/python2.4/site-packages/read4me copying build/lib/read4me/init.py -> /home/dlong/app/read4me/lib/python2.4/site-packages/read4me copying build/lib/read4me/read4me.py -> /home/dlong/app/read4me/lib/python2.4/site-packages/read4me copying build/lib/read4me/response.py -> /home/dlong/app/read4me/lib/python2.4/site-packages/read4me copying build/lib/read4me/server.py -> /home/dlong/app/read4me/lib/python2.4/site-packages/read4me byte-compiling /home/dlong/app/read4me/lib/python2.4/site-packages/read4me/entry.py to entry.pyc byte-compiling /home/dlong/app/read4me/lib/python2.4/site-packages/read4me/init.py to init.pyc byte-compiling /home/dlong/app/read4me/lib/python2.4/site-packages/read4me/read4me.py to read4me.pyc byte-compiling /home/dlong/app/read4me/lib/python2.4/site-packages/read4me/response.py to response.pyc byte-compiling /home/dlong/app/read4me/lib/python2.4/site-packages/read4me/server.py to server.pyc running install_data creating /home/dlong/app/read4me/.read4me creating /home/dlong/app/read4me/.read4me/conf copying cherrypy.conf -> /home/dlong/app/read4me/.read4me/conf creating /home/dlong/app/read4me/.read4me/log creating /home/dlong/app/read4me/.read4me/dat creating /home/dlong/app/read4me/bin copying read4me.py -> /home/dlong/app/read4me/bin I noted the warnings about missing init files, and running it gives me: [dlong@:~/app/read4me/bin] [49 > python read4me.py Traceback (most recent call last): File "read4me.py", line 31, in ? import init as config ImportError: No module named init Which I figure is related to the bad install. I know next to nothing about python so I'm rather at a loss about what to do next. Could something be wrong with a dependency, or some environment variable? Before installing, I did a [ python setup.py install ] on reverend, feedparser, and cherrypy, and confirmed that cherrypy's helloworld works. Additionally, Ubuntu comes with libxml2. Is that all okay? Thanks, Dustin |