Netflix用のPythonクライアント「netflix」のインストールについて解説しています。
「netflix(https://github.com/efe/netflix)」は、Netflix用のPythonクライアントです。
■Python
今回のPythonのバージョンは、「3.8.5」を使用しています。(Windows10)(pythonランチャーでの確認)
■netflixをインストールする
netflixをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。
pip install netflix
起動後、上記のコマンドを入力し、Enterキーを押します。
なお、今回は、pythonランチャーを使用しており、Python Version 3.8.5にインストールを行うために、バージョンの切り替えを行います。
py -3.8 -m pip install netflix
切り替えるために、上記のコマンドを入力し、Enterキーを押します。
Defaulting to user installation because normal site-packages is not writeable Collecting netflix Downloading netflix-0.1.1-py2.py3-none-any.whl (5.0 kB) Requirement already satisfied: requests>=2.0 in c:\users\user_\appdata\roaming\python\python38\site-packages (from netflix) (2.26.0) Requirement already satisfied: beautifulsoup4>=4.0 in c:\users\user_\appdata\roaming\python\python38\site-packages (from netflix) (4.8.2) Requirement already satisfied: soupsieve>=1.2 in c:\users\user_\appdata\roaming\python\python38\site-packages (from beautifulsoup4>=4.0->netflix) (2.3.2.post1) Requirement already satisfied: idna<4,>=2.5 in c:\users\user_\appdata\roaming\python\python38\site-packages (from requests>=2.0->netflix) (3.2) Requirement already satisfied: certifi>=2017.4.17 in c:\users\user_\appdata\roaming\python\python38\site-packages (from requests>=2.0->netflix) (2021.5.30) Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\user_\appdata\roaming\python\python38\site-packages (from requests>=2.0->netflix) (2.0.2) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\user_\appdata\roaming\python\python38\site-packages (from requests>=2.0->netflix) (1.26.6) Installing collected packages: netflix Successfully installed netflix-0.1.1
Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、netflixが正常にインストールされたことになります。
なお、今回はnetflixのバージョン0.1.1をインストールしました。
コメント