You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the celery -A origamid worker -l info command, I get an Import Error saying ImportError: cannot import name 'Celery'. This happens with both Python2 and Python3.
$ git clone [email protected]:Cloud-CV/origami-daemon.git
$ cd origami-daemon
$ virtualenv venv
$ source venv/bin/activate
$ pip install -e .# Start using origamid
$ origamid
# Run celery workers# Make sure that rabbitmq-server is running
$ celery -A origamid worker -l info
# Run server
$ origamid run_server
Make sure to activate the virtual environment when running the celery worker. So open two terminals activate the virtual environment you created in both of them run a pip install -e . and then try the celery worker command. I think it should work fine.
There are some problems when running daemon with python2 like problems with relative_imports. Make the package completely python2.7 compatible.
The text was updated successfully, but these errors were encountered: