No recent searches
Popular Articles
Sorry! nothing found for
Posted over 4 years ago by Vincent Rolea
Hi everyone,
I have the following code, importing a Loader from `project_name/loaders/my_loader.py` into a spider:
```
from project_name.loaders.my_loader import MyLoader
# Spider code invoking the loader```
It works perfectly locally however I get a deployment error on SH `ModuleNotFoundError: No module named 'project_name.loaders'`What am I doing wrong ?Thanks for your help
1 Votes
0 Comments
Login to post a comment
People who like this
This post will be deleted permanently. Are you sure?
Hi everyone,
I have the following code, importing a Loader from `project_name/loaders/my_loader.py` into a spider:
```
from project_name.loaders.my_loader import MyLoader
# Spider code invoking the loader
```
It works perfectly locally however I get a deployment error on SH `ModuleNotFoundError: No module named 'project_name.loaders'`
What am I doing wrong ?
Thanks for your help
1 Votes
0 Comments
Login to post a comment