Я не могу запустить https://github.com/ohyou/twitch-viewer из-за ошибки NameEr. Я сделал следующее на CMD:
Microsoft Windows [Version 10.0.18362.720]
(c) 2019 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\Nesin>pip install requests
Requirement already satisfied: requests in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (2.23.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests) (1.25.8)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests) (2019.11.28)
Requirement already satisfied: idna<3,>=2.5 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests) (2.9)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests) (3.0.4)
C:\Users\Nesin>pip install json
ERROR: Could not find a version that satisfies the requirement json (from versions: none)
ERROR: No matching distribution found for json
C:\Users\Nesin>pip install simplejson
Requirement already satisfied: simplejson in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (3.17.0)
C:\Users\Nesin>pip install requests
Requirement already satisfied: requests in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (2.23.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests) (1.25.8)
Requirement already satisfied: idna<3,>=2.5 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests) (2.9)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests) (2019.11.28)
C:\Users\Nesin>pip install livestreamer
Requirement already satisfied: livestreamer in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (1.12.2)
Requirement already satisfied: requests<3.0,>=1.0 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from livestreamer) (2.23.0)
Requirement already satisfied: idna<3,>=2.5 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests<3.0,>=1.0->livestreamer) (2.9)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests<3.0,>=1.0->livestreamer) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests<3.0,>=1.0->livestreamer) (1.25.8)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\nesin\appdata\local\programs\python\python38-32\lib\site-packages (from requests<3.0,>=1.0->livestreamer) (2019.11.28)
Затем я сделал это здесь на Python:
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import simplejson
import json
import requests
import livestreamer
nesgaming
Traceback (most recent call last):
File "", line 1, in
NameError: name 'nesgaming' is not defined
Может кто-нибудь помочь мне с этим? :)