Skip to content

ModuleNotFoundError: No module named 'celery' #849

@ajinzrathod

Description

@ajinzrathod

I am running this code for first time. I did exactly as README.md file said.

I ran invoke start
and it showed

...
...
** Done! Successfully pulled latest image <fossee/yaksh_codeserver> **
** Preparing code server **
** Initializing code server within docker container **
9f7ed0d69b3626e60aed042821f34a54b6f6265e66261b38698fb204e63c90fc
** Checking code server status. Press Ctrl-C to exit **
** Code server is up and running successfully **

But when I run invoke serve

It shows this error:

** Setting up & migrating database **
...
...
ModuleNotFoundError: No module named 'celery'

And when I run it in shell, it works perfectly

(env) ajinkya@lenovo:~/Documents/daffort/online_test$ python
Python 3.8.5 (default, May 27 2021, 13:30:53) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import celery
>>> 

My system info

Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions