Ask Your Question
1

Python-daemon not found

asked 2012-05-21 13:03:04 -0600

Pepe gravatar image

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!

edit retag flag offensive close merge delete

Comments

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

zaf gravatar imagezaf ( 2012-05-21 14:27:48 -0600 )edit

I'm using Python 2.7.2 on Windows

Pepe gravatar imagePepe ( 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 gravatar imagezaf ( 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 gravatar imagePepe ( 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 gravatar imageEvgeny ( 2012-05-22 04:28:37 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-05-22 19:40:13 -0600

Pepe gravatar image

updated 2012-05-22 19:40:55 -0600

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...

edit flag offensive delete link more

Comments

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

Evgeny gravatar imageEvgeny ( 2012-05-22 19:46:20 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-05-21 13:03:04 -0600

Seen: 863 times

Last updated: May 22 '12