1
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?

More than 1 year has passed since last update.

RenderでPythonバージョンを指定する方法

Posted at

Renderとは?

  • PaaSとしてPythonなどを実行する環境
  • だいぶ前ですがHerokuが有料プランになったことから使用するようになった人もいいかと思います

設定方法

  • Settings > Environment > Environment Variables
    • Key: PYTHON_VERSION
    • Value: [任意のバージョン]

image.png

  • 例えば、RenderでDeployを実行した際に、以下のようなエラーで必要なパッケージが取得できない場合はPythonのバージョンをローカルに合わせて設定することで解決することがあります。
WARNING: You are using pip version 20.1.1; however, version 23.1.2 is available
1
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
1
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?