1

Python-daemon not found

Hi there, I'm trying to install the software using virtualenv, but I get this when I run "askbot-setup" :

Traceback (most recent call last):
  File "C:\Users\Francisko\Whatzz\Scripts\askbot-setup-script.py", line 5, in <m
odule>
    from pkg_resources import load_entry_point
  File "C:\Users\Francisko\Whatzz\lib\site-packages\setuptools-0.6c11-py2.7.egg\
pkg_resources.py", line 2603, in <module>
  File "C:\Users\Francisko\Whatzz\lib\site-packages\setuptools-0.6c11-py2.7.egg\
pkg_resources.py", line 666, in require
  File "C:\Users\Francisko\Whatzz\lib\site-packages\setuptools-0.6c11-py2.7.egg\
pkg_resources.py", line 565, in resolve
pkg_resources.DistributionNotFound: python-daemon

Does anyone know something about that? In case I would have to install the library python-daemon, where should I place it?

Thanks!

Pepe's avatar
71
Pepe
asked 2012-05-21 13:03:04 -0600
edit flag offensive 0 remove flag close merge delete

Comments

What version of Python do you use? Are you installing on Windows? Have you used these and these sources?

zaf's avatar zaf (2012-05-21 14:27:48 -0600) edit

I'm using Python 2.7.2 on Windows

Pepe's avatar Pepe (2012-05-21 14:34:06 -0600) edit

Well, I don't know, maybe someone else could help you. I use Python 2.6 and I didn't meet this problem. Maybe this is related to this problem.

zaf's avatar zaf (2012-05-21 15:47:56 -0600) edit

Yes, I'm having the same problem... The library python-daemon seems to be non-compatible to Windows. So, is there any way to install askbot on Windows? Does anyone have done it already?

Pepe's avatar Pepe (2012-05-22 04:23:06 -0600) edit

Try deleting requirement of Lamson library in askbot/__init__.py (line 36). This library is needed to be ably to process replies by email and that part uses python-daemon.

Evgeny's avatar Evgeny (2012-05-22 04:28:37 -0600) edit
add a comment see more comments

1 Answer

0

As @Evgeny said, the installation on Windows can go on by deleting requirement of Lamson library in askbot/__init__.py (line 36) before starting the installation. It didn't worked the first time because I was running askbot-setup directly.

Anyway I'm not sure if this would be the best solution, as some functionalities may be lost on the way...

Pepe's avatar
71
Pepe
answered 2012-05-22 19:40:13 -0600, updated 2012-05-22 19:40:55 -0600
edit flag offensive 0 remove flag delete link

Comments

Ahh, yes, you have to rebuild the askbot-setup script after that: python setup.py install_scripts that might help.

Evgeny's avatar Evgeny (2012-05-22 19:46:20 -0600) edit
add a comment see more comments