LoginSignup
0
0

More than 1 year has passed since last update.

python: pip installをコマンドしてもinvalid syntaxでうまくいかないときの対処法

Last updated at Posted at 2022-11-05

環境

image.png

コマンドプロンプト起動後すべきこと

コマンドプロンプト起動後、pythonを起動する前にpip installを実行することで、エラーを回避することができる

python3.11
pip install ~ # pip installがpyの前に来る

py 

参照:https://sprockethole.work/2018/09/09/python%E3%81%AEpip%E3%81%A7%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E5%87%BA%E6%9D%A5%E3%81%AA%E3%81%84%EF%BC%9F/#pip%E3%81%A7%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%AE%E6%96%B9%E6%B3%95

環境
pc windows10
言語 python3.11
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