cog
cog copied to clipboard
Error when trying to start a model against a Redis queue
Hi,
I have installed cog as described in the readme. I was following the Redis guide and got an error when running this command:
docker run python -m cog.server.redis_queue \ redis 6379 my-predict-queue \ https://example.com/ab48b7ff-1589-4360-a54b-47f9d8d3f6b7/ \ worker-1 \ widget-classifier logs-queue \ 120
Error:
Error while finding module specification for 'cog.server.redis_queue' (ModuleNotFoundError: No module named 'cog')
What might the problem be?