After python3.8 update I receive error
See original GitHub issueHi, I recently installed the latest python3.8 update (3.8.13) via pkg (FreeBSD).
Now I receive the following error with tvnamer:
#tvnamer .
Traceback (most recent call last):
File "/usr/local/bin/tvnamer", line 33, in <module>
sys.exit(load_entry_point('tvnamer==3.0.4', 'console_scripts', 'tvnamer')())
File "/usr/local/bin/tvnamer", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.8/site-packages/tvnamer/main.py", line 18, in <module>
import tvdb_api
File "/usr/local/lib/python3.8/site-packages/tvdb_api.py", line 34, in <module>
from requests_cache.backends.base import _to_bytes, _DEFAULT_HEADERS
ImportError: cannot import name '_to_bytes' from 'requests_cache.backends.base' (/usr/local/lib/python3.8/site-packages/requests_cache/backends/base.py)
Unfortunately I am a Python illiterate. Is this a problem with tvnamer?
Many thanks
Georg
Issue Analytics
- State:
- Created a year ago
- Comments:12
Top Results From Across the Web
Unable to upgrade Python 3.8.10 to 3.10 - SOLVED
When we reached 2nd command in Step 3: Add Python 3.8 & Python 3.10 to update-alternatives, we see this error. $ sudo update-alternatives...
Read more >Update from python 3.7 to 3.8 causes problems with pylint and ...
8 folder were quite empty, I moved all the site-packages (> 1GB) from the remnant/residual python3.7 to the new python3.8 folder. With this,...
Read more >18.04 - Error with sudo apt-get update; and Termnial won't open
I installed Python3.8.0 (from Ubuntu channels, not PPA). I did update-alternatives --config python3 and in a moment of weakness, I also did ...
Read more >How to upgrade to Python 3.8 on Ubuntu 18.04 LTS - isw blog
Step 2: Install the Python 3.8 package using apt-get. install Python 3.8 by using the below command : sudo apt-get install python3.8
Read more >Your python3 install is corrupted. Please fix the '/usr/bin ...
When trying to do “do-release-upgrade” from current Ubuntu 18.04 to new 19.04 I am getting error "Your python3 install is corrupted.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Many thanks; I’ll contact the maintainer from FreeBSD ports, because their latest tvdb_api version was from a year ago.
I think we are getting ahead, but not quite there yet. The maintainer of the tvdb_api port included your fix but now I am getting this error:
I am so sorry causing so much trouble, but I just can’t give up now that we are about there 😃
Georg