LoginSignup
0
1

More than 3 years have passed since last update.

git bashでpythonとpipを実行する方法

Last updated at Posted at 2020-12-02

git bashでPythonを実行する

py ファイル名.py

と記述するだけで実行できます

git bashでpipを実行する

①本当にpipが入っていないか確かめる
py -m pip --version

入っていれば今入っているpipのバージョンが出てきます

②pipをインストールする
py get-pip.py

これでpipが使えるようになります

③pipを使う
py -m pip install パッケージ名

これでpipを実行できます

参考サイト

よりpipについて詳しい内容が載っています
https://pip.pypa.io/en/stable/

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