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?

AWS LambdaでSupabaseを使用したらNo module named 'pydantic_core._pydantic_core'が出た時の対処

Posted at

問題

AWS LambdaでPythonからSupabaseを使用しようとしたら,

No module named 'pydantic_core._pydantic_core

と表示された.

原因

Supabaseで使用されているfastapiのバージョンが高すぎると動作しない様子.

解決策

fastapiのバージョンを下げてインストールした後に,Supabaseモジュールをインストールする.

pip install -t ./python fastapi==0.99 supabase

ここではfastapiのバージョンを0.99に指定している.

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?