ModuleNotFoundError: No module named 'google_trans_new'

2021-06-10 09:32:19.981 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py”, line 338, in _run_script
exec(code, module.dict)
File “/app/languagetranslator/main.py”, line 1, in
from google_trans_new import google_translator
ModuleNotFoundError: No module named ‘google_trans_new’

I encountered with this error while deploying my app.Any help will be much appreciated.
Github repo : GitHub - HarisankarSNair/LanguageTranslator: A free and unlimited python tool for language translation.Made with Streamlit and google-trans-new api. 100 % pure python.

The initial ‘r’ in “Requirements.txt” should be small, like this: requirements.txt

1 Like

Hi gokul,

Thank you so much :handshake:
The problem has been fixed now.
I didn’t expect a small r could create this much issues.

Hello viewers ,

To have fun with my language translator app : https://share.streamlit.io/harisankarsnair/languagetranslator/main/main.py

To play with the GitHub repo: GitHub - HarisankarSNair/LanguageTranslator: A free and unlimited python tool for language translation.Made with Streamlit and google-trans-new api. 100 % pure python.

Regards ,
Hari

1 Like