Skip to content
Sign upLog in

Add package to Django application

Profile icon
shiwei

Hi,
I am able to add packages (such as SpeechRecognition) to Python application without problem.
But if I created an Django repl and went through same process (the package was added to requirements.txt), it would return ModuleNotFoundError when I tried to reference the package.

Any idea?

Wei

You are viewing a single comment. View All
Profile icon
Vandesm14

You need to create a Django repl instead of the basic python repl.

Please mark this as answered if I helped your problem 👍

Profile icon
shiwei

@Vandesm14

Basic python repl doesn't have problem. Only Django repl has the issue.