quantumespresso:cif2cell
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| quantumespresso:cif2cell [2026/06/23 05:21] – [システム全体にインストール] koudai | quantumespresso:cif2cell [2026/06/24 16:13] (current) – [方法1. 仮想環境の構築] koudai | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ===== 準備 ===== | ===== 準備 ===== | ||
| - | pipとvenvを用意します。 | + | pipを用意します。 |
| < | < | ||
| $ sudo apt update | $ sudo apt update | ||
| - | $ sudo apt install python3-venv python3-full | + | $ sudo apt install python3-pip |
| </ | </ | ||
| + | ===== 手順 ===== | ||
| - | ===== 仮想環境の構築 ===== | + | ==== 方法1. |
| + | |||
| + | 仮想環境を作って、そこにインストールする方法です。 | ||
| < | < | ||
| + | $ sudo apt install python3-venv | ||
| $ python3 -m venv ~/ | $ python3 -m venv ~/ | ||
| $ source ~/ | $ source ~/ | ||
| Line 32: | Line 36: | ||
| 終了するには | 終了するには | ||
| < | < | ||
| - | $ pip install cif2cell | + | (venv_cif2cell) |
| </ | </ | ||
| とします。 | とします。 | ||
| - | ===== システム全体にインストール | + | ==== 方法2. |
| cif2cellは小さいプログラムなので、仮想環境を作らなくても特に問題は生じないと思います。 | cif2cellは小さいプログラムなので、仮想環境を作らなくても特に問題は生じないと思います。 | ||
| - | 毎回、仮想環境をアクティベートするのが面倒だと思う人は、以下のようにすればシステム全体にインストールできます。 | + | 毎回、仮想環境をアクティベートするのが面倒だと感じる人は、以下のようにすればシステム全体にインストールできます。 |
| < | < | ||
quantumespresso/cif2cell.1782159681.txt.gz · Last modified: 2026/06/23 05:21 by koudai
