「PIP」の版間の差分
ナビゲーションに移動
検索に移動
24行目: | 24行目: | ||
</pre> | </pre> | ||
*他のvenv環境に取り込み | *他のvenv環境に取り込み | ||
+ | <pre> | ||
+ | (env_song_dict) piroto@jinmu:~/Workspaces/python/song_dict$ pip install -r requirements.txt | ||
+ | Collecting beautifulsoup4==4.9.1 | ||
+ | Downloading beautifulsoup4-4.9.1-py3-none-any.whl (115 kB) | ||
+ | |████████████████████████████████| 115 kB 4.4 MB/s | ||
+ | Collecting soupsieve==2.0.1 | ||
+ | Downloading soupsieve-2.0.1-py3-none-any.whl (32 kB) | ||
+ | Installing collected packages: soupsieve, beautifulsoup4 | ||
+ | Successfully installed beautifulsoup4-4.9.1 soupsieve-2.0.1 | ||
+ | </pre> |
2020年9月20日 (日) 02:38時点における最新版
PIP
Python |
インストール
プロキシ経由の接続
pip install numpy --proxy=user@proxyhost:port
venv環境でインストールパッケージの設定
- 確認
(env_song_dict) delhi:bin hirotoyagi$ pip freeze beautifulsoup4==4.9.1 soupsieve==2.0.1
- requirements.txtに書き出し
(env_song_dict) delhi:bin hirotoyagi$ pip freeze > requirement.txt
- 他のvenv環境に取り込み
(env_song_dict) piroto@jinmu:~/Workspaces/python/song_dict$ pip install -r requirements.txt Collecting beautifulsoup4==4.9.1 Downloading beautifulsoup4-4.9.1-py3-none-any.whl (115 kB) |████████████████████████████████| 115 kB 4.4 MB/s Collecting soupsieve==2.0.1 Downloading soupsieve-2.0.1-py3-none-any.whl (32 kB) Installing collected packages: soupsieve, beautifulsoup4 Successfully installed beautifulsoup4-4.9.1 soupsieve-2.0.1
© 2006 矢木浩人