nucypher/zerodb-server

No module named click

Closed this issue · 2 comments

After running pip install -r requirements.txt, and then running python manage.py init_db, I received the error:

Traceback (most recent call last):
  File "manage.py", line 7, in <module>
    import click
ImportError: No module named click

I fixed this by installing the click package from pypi (is that the right solution?), but it should probably added to requirements.txt

Yeah, you usually install it using setup.py or pip rather than requirements.txt. Requirements.txt is just to pin the versions.

That said, I'll include click (w/o version) into this file

You also need to use zerodb-manage <...> when properly installed zerodb-server. I'd recommend to do that in a virtualenv