Skip to content

宿題027-Messになる前に、Pythonのパケージ管理 #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
6 tasks
domanthan opened this issue Sep 7, 2018 · 0 comments
Open
6 tasks

宿題027-Messになる前に、Pythonのパケージ管理 #27

domanthan opened this issue Sep 7, 2018 · 0 comments

Comments

@domanthan
Copy link
Contributor

domanthan commented Sep 7, 2018

Messになる前に、Pythonのパケージ管理

© 2018 Gridscale Inc. http://www.gridscale.com

前振り

なんでもそうですが、自分自身について知っているのが重要だと思います。
今までいろんな勉強をしてきたけど、いろんなパケージがインストールされて、それはどこに?
どんなバージョンが入ってるの?をキッチンと把握しないと、一体自分のプログラムはどんな環境にて実行されているのかわからなくなると思う。
そして、正しいプログラムが作成されても、環境が違ければ、いい結果が出ないでしょう。

要件説明

 自分のパスコンにどんなpythonライブラリがインストールされているのか?
 下記のコマンドを打ってみて。

  • python3 --version
  • pip3 list  インストールされているパケージをリストアップ
  • pip3 freeze インストールされているパケージのバージョン情報
  • pip3 show numpy 個別パケージの詳細情報
  • pip3 check numpy 依存関係が崩れてないか?
  • pip3 search numpy WebにあるPythonライブラリリポジトリに該当パケージの関連ライブラリを一覧

なお、本勉強はpython3の利用が前提なので、pip3のコマンドでパケージ管理をします。
python2を利用している方は、pip3をpipに置き換えてください。

reference

宿題学習ポイント(Concept)

https://pip.pypa.io/en/stable/user_guide/#id8

参考実装

なし

言語リファレンス

https://docs.python.org/ja/3/reference/index.html

宿題の提出について

githubに宿題をコミットする際、必ず下記の様なフォルダ構成にしたがって欲しいです。
宿題を完成させたエビデンスファイルも合わせて出してください。できれば。

     ---- 「ご自分のgithubid]  
         ---   less001  
               -- file001.py  
               -- evidence001.txt  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant