Describe the bug
Import error when package is imported: Import Error: cannot import name 'TranslatedPart' from 'googletrans.models'
To Reproduce
Install and import pygoogletranslation
!pip install pygoogletranslation
import pygoogletranslation
ModuleNotFoundError: No module named 'googletrans'
Package googletrans seems to be missing.
Install googletrans
!pip install googletrans
import pygoogletranslation
ImportError: cannot import name 'TranslatedPart' from 'googletrans.models' (/usr/local/lib/python3.7/dist-packages/googletrans/models.py)
Expected behavior
No import error
Desktop (please complete the following information):
- Happens both on Google Colab and local Arch Linux installation
- Python 3.7.10 (Google Colab), Python 3.9.2 (local), pygoogletranslation 2.0.6