-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'TranslatedPart' from 'googletrans.models' #26
Comments
I have the same issue in environment:
This seems to be an issue with version 2.0.6 as version 2.0.5 works correctly on my platform. |
ImportError: cannot import name 'TranslatedPart' from 'googletrans.models' |
I am facing the same issue, unable to import the package |
try to install googletrans 4.0.0-rc1, because in this version there found TranslatedPart class on models.py pip install googletrans==4.0.0-rc1 it works on my environment |
faced the same issue and had solved it. try to change the package code in **\Lib\site-packages\pygoogletranslation\translate.py line 19 changed: |
|
Describe the bug
Import error when package is imported: Import Error: cannot import name 'TranslatedPart' from 'googletrans.models'
To Reproduce
Install and import pygoogletranslation
Package googletrans seems to be missing.
Install googletrans
Expected behavior
No import error
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: