question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected version check output

See original GitHub issue

Snapshot: https://i.imgur.com/2S3NlE4.png

Traceback (most recent call last):
File "C:\Program Files (x86)\Streamlink\bin\streamlink-script.py", line 11, in <module>
from streamlink_cli.main import main
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink_cli\main.py", line 17, in <module>
from streamlink.stream import StreamProcess
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink\stream\__init__.py", line 6, in <module>
from .hls import HLSStream
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink\stream\hls.py", line 4, in <module>
from Crypto.Cipher import AES
File "C:\Program Files (x86)\Streamlink\pkgs\Crypto\Cipher\__init__.py", line 78, in <module>
from Crypto.Cipher._mode_ecb import _create_ecb_cipher
File "C:\Program Files (x86)\Streamlink\pkgs\Crypto\Cipher\_mode_ecb.py", line 46, in <module>
"""
File "C:\Program Files (x86)\Streamlink\pkgs\Crypto\Util\_raw_api.py", line 168, in load_pycryptodome_raw_lib
raise OSError("Cannot load native module '%s'" % name)
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb'

Getting the error after trying to play any stream. Tested on streamlink cli and the streams open up in mpv as intended. This is after uninstalling livestreamer and livestreamer-twitch-gui. Using the same settings as before. Changing player executable to mpv and using hls as stream type.

Windows 10 Pro 14393.479 streamlink 0.1.0 streamlink-twitch-gui 1.0.0-win64 Python 3.5.2 64-bit

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

12reactions
daneparkcommented, Dec 5, 2016

Hi there, I was getting the exact same error and my setup/situation is identical (migrating from livestreamer to streamlink), and this fixed it for me:

Go to Settings -> Streamlink -> Python Executable

I changed pythonw.exe to C:\Program Files (x86)\Streamlink\Python\pythonw.exe (or find pythonw.exe wherever you installed streamlink).

1reaction
bastimeyercommented, Dec 5, 2016

The “Unexpected version check output” error message means that the validation of Streamlink failed (see the tracelog). Please make sure that Streamlink and its own dependencies do work with the python version you’re using, especially if you’ve already installed python on your system.

This is what Streamlink Twitch GUI does while validating Streamlink: If no custom path was defined, then it will first look for the python executable (pythonw.exe on Windows) in one of the directories defined in the system’s PATH environment variable. If it can’t find it, then it will look for it in a list of known fallback paths, which includes the default path of the Streamlink installer. The same is also being done for the streamlink-script.py file. This ensures that an installation via pip does also work, since the folder is usually included in the PATH var.

See the default config: https://github.com/streamlink/streamlink-twitch-gui/blob/v1.0.0/src/config/streamprovider.json#L17-L60

I knew that the transition might be a bit unsmooth, because Streamlink doesn’t use the same bundler as Livestreamer did with its installer. This is why I included the “please re-validate your Streamlink/Livestreamer configuration” in the changelog. I think I need to add all this to the installation guide in the wiki.

Thanks for already helping here, @danepark

Btw, I’ll leave this thread open, because I have the feeling that there will be more people with the same problem and I don’t want multiple threads.

Read more comments on GitHub >

github_iconTop Results From Across the Web

(SOLVED) unexpected version output · Issue #644 - GitHub
Since Streamlink Twitch GUI always has to verify the Streamlink install on your system before being able to launch streams for the first...
Read more >
streamlink/streamlink-twitch-gui - Gitter
To debug this on your own, please execute Streamlink from the command line shell with the --version parameter and check its output." But...
Read more >
[SOLVED] Streamlink Twitch GUI - streams not launching
[error][StreamingService] Error: Unexpected version check output. using streamlink on command line works, e.g..
Read more >
Streamlink Twitch GUI not launching streams no more - Reddit
Streamlink Twitch GUI not launching streams no more: unexpected version check output. Used through AppImages:.
Read more >
11.3 Error Messages or Unexpected Output - Oracle Help Center
If Oracle ORAchk or Oracle EXAchk completes health check runs, but did not generate output files, then there is an error probably near...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found