0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

さくらのレンタルサーバ スタンダード で websocket プロトコルの配信をエアチェックする下準備

0
Posted at

wheel 権限持ってたらどうでもいい事を、書いてますw

python がデフォルトでインスコされとるのは便利なんじゃが、標準インスコモジュールじゃと、wss 系が扱えん訳で、python の仮想環境をでっち上げる venv を用いて必要なモジュールを仕込んでみる

venv 初期化

っま、ごく普通に
python -m venv .py38venv
環境変数とかパスとかを、現シェルに理解してもらいましょ(csh版)
source .py38venv/bin/activate.csh

ここまでで python の venv 環境設定は完了

必要なモジュールのインスコ!と、その前に‼

pip ってモジュールが古いけん、先にアプデしとくよー

っま、遣んなくてもだいじょばないw
python -m pip install --upgrade pip

某所1で配布しおるスクリプトが要求しおるモジュールをインスコ

openssl の版が 1.0.2k-dev がインスコされとるけん、urllib3 は古いのんを意図的に指定しておく
python -m pip install "urllib3<2.0.0" requests websocket-client

結び

home ディレクトリで python をソースからビルドしても大丈夫じゃが、その辺りは良しなにw

  1. JCBA 及び FM++ のストリーミング受信支援スクリプト ↩

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?