1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

メモ:組織の Device Guard ポリシーによってブロックされました

1
Posted at

Windows上でuvicornを実行したら以下のエラーがでた

'xxxx/uvicorn.exe'は組織の Device Guard ポリシーによってブロックされました。
詳細については、サポート担当者にお問い合わせください。

簡単な回避方法

pythonで実行する

python -m uvicorn main:app --reload

windows側の設定を変える(非推奨)

  • 設定 → プライバシーとセキュリティ → Windows セキュリティ → アプリとブラウザーの制御
  • Smart App Control の設定 を開く
  • 「オフ」に切り替える
1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?