-
Notifications
You must be signed in to change notification settings - Fork 64
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 '_to_bytes' #92
Comments
Temporary fix: |
This constrains the requests-cache package to a version older than 0.6.0[1] in which the `_to_bytes` method was removed. This method is used[2] in tvdb_api. Once use of the `_to_bytes` methods is removed from tvdb_api, this version contraint can be removed. Fixes dbr#92 [1]: https://github.com/reclosedev/requests-cache/blob/master/HISTORY.md#060-2021-04-09 [2]: https://github.com/dbr/tvdb_api/blob/92e8c7cdf5bc1d923f9ed97dacbfd2b52bb4c893/tvdb_api.py
New release of tvdb_api should fix this for now, |
Hi, I'm unsure why this still doesn't work here, so any hint appreciated.
So, If I understand this thread correctly, Nevertheless, I still get the same error:
And it seems that this has NOT been fixed in 3.1.0:
So, what's going wrong here? Did I miss something? |
Having the same problem : Traceback (most recent call last): |
With the release of requests-cache 0.6.0 the
_to_bytes
method is no longer available and tvdb_api depends on this methodThis results in this error
One mitigation would be to limit the versions of requests-cache to 0.5.0 or earlier
The text was updated successfully, but these errors were encountered: