setnicka / ulozto-downloader

EOL - end of life | Uloz.to quick multiple sessions downloader
MIT License
279 stars 46 forks source link

libstdc++.so.6: version `GLIBCXX_3.4.22' not found #45

Closed tomas4 closed 2 years ago

tomas4 commented 3 years ago

Installed on SolydX Linux (Debian based) using pip3 as described in README, all the recommended dependencies present. But running the script throws series of errors after "CAPTCHA challenge will be displayed". Tried also without --auto-captcha, but result is the same. Terminal command and output:

` ulozto-downloader --auto-captcha --parts 20 https://uloz.to/file/zDH6ajlc4UCX/bozena-e02-avi Downloading model from https://github.com/JanPalasek/ulozto-captcha-breaker/releases/download/v2.2/model.tflite 100.0% 14147584 / 14140796 Downloading of the model finished Starting downloading for url 'https://uloz.to/file/zDH6ajlc4UCX/bozena-e02-avi' Getting info (filename, filesize, ...) CAPTCHA protected download - CAPTCHA challenges will be displayed

Traceback (most recent call last):, trying to solve File "/home/linuxbrew/.linuxbrew/bin/ulozto-downloader", line 48, in main() File "/home/linuxbrew/.linuxbrew/bin/ulozto-downloader", line 44, in main d.download(args.url, args.parts, args.output) File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/ulozto_downloader/downloader.py", line 168, in download download_url = next(self.captcha_download_links_generator) File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/ulozto_downloader/page.py", line 169, in captcha_download_links_generator captcha_answer = captcha_solve_func("https:" + captcha_image_url, print_func=print_func) File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/ulozto_downloader/captcha.py", line 86, in call import tflite_runtime.interpreter as tflite File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/tflite_runtime/interpreter.py", line 36, in from tflite_runtime import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper ImportError: /home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/tflite_runtime/../../../libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.cpython-37m-x86_64-linux-gnu.so) `

MikulasZelinka commented 3 years ago

Probably just need to install libstdc++6: https://stackoverflow.com/questions/43070900/version-glibcxx-3-4-22-not-found

setnicka commented 2 years ago

Closing as can't replicate and outdated.

If the problem persists, please reopen.