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!

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Pepe's avatar
71
Pepe
asked 12 years ago

Comments

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

zaf's avatar zaf (12 years ago)

I'm using Python 2.7.2 on Windows

Pepe's avatar Pepe (12 years ago)

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 (12 years ago)

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 (12 years ago)

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 (12 years ago)
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...

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Pepe's avatar
71
Pepe
answered 12 years ago, updated 12 years ago
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 (12 years ago)
see more comments