Ask Your Question
1

Python-daemon not found

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

Pepe gravatar image Pepe
71 6 10

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!

delete close flag offensive retag edit

Comments

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

zaf ( 2012-05-21 14:27:48 -0500 )edit

I'm using Python 2.7.2 on Windows

Pepe ( 2012-05-21 14:34:06 -0500 )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 ( 2012-05-21 15:47:56 -0500 )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 ( 2012-05-22 04:23:06 -0500 )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 ( 2012-05-22 04:28:37 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Pepe gravatar image Pepe
71 6 10

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

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

link publish delete flag offensive edit

Comments

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

Evgeny ( 2012-05-22 19:46:20 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
1 follower

subscribe to rss feed

Stats

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

Seen: 212 times

Last updated: May 22 '12