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?

bash: uvicorn: command not found と戦う

Posted at

はじめに

windows10にてタイトルのエラーが出て苦戦しました。

手順

$ pip install uvicorn

でインストール。

$ pip show uvicorn
Name: uvicorn
Version: 0.34.2
Summary: The lightning-fast ASGI server.
Home-page: https://www.uvicorn.org/
Author:
Author-email: Tom Christie <tom@tomchristie.com>, Marcelo Trylesinski <marcelotryle@gmail.com>
License-Expression: BSD-3-Clause
Location: C:\Users\Owner\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages
Requires: click, h11
Required-by:

Locateを確認。
ただし、ここのLocateと実際にexeファイルがある場所は異なることに気が付かずつまずきました。

私の場合は以下にありました。

C:\Users\Owner\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\Scripts

このPATHを環境変数に追加して終わり。

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?