Skip to content

Commit 78f65a7

Browse files
committed
Fix ja/install.md
1 parent 8e2a973 commit 78f65a7

File tree

2 files changed

+19
-23
lines changed

2 files changed

+19
-23
lines changed

content/ja/beginner-install.md

-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ python -m pip install scipy
5353
```
5454

5555
{{< admonition warning >}}
56-
You may see this recommended in tutorials or classes, but the recommended
57-
way to install SciPy with `pip` is to use a virtual environment -
58-
see.{{< admonition warning >}}
5956
チュートリアルや学校の授業で、このインストール方法が推奨されることがあるかもしれませんが、`pip`を使用して SciPy をインストールする我々としての推奨方法は、仮想環境を利用することです。詳しくは、[`pip`を利用したインストール](./install.md#installing-with-pip)を参照してください。
6057
{{< /admonition >}}
6158

content/ja/install.md

+19-20
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ SciPyの推奨されるインストール方法は、あなたの好みのワー
1616
- **システムパッケージマネージャー** _(推奨されません)_
1717
- **ソースからのビルド** _(デバッグと開発用)_
1818

19-
\[静的型スタブ]を使用してSciPyをインストールするには、
19+
[静的型スタブ]を使用してSciPyをインストールするには、
2020
[型スタブを使用したインストール](#type-stubs)をご覧ください。
2121

22-
[static type stubs]: [https://typing.readthedocs.io/en/latest/guides/libraries.html]\(https://typing.readthedocs.io/en/latest/guides/libraries.html\)
22+
[static type stubs]: https://typing.readthedocs.io/en/latest/guides/libraries.html
2323

2424
{{< admonition tip >}}
2525
統合開発環境 (IDE) が正確な型ヒントを提供するためには、型スタブのインストールが必要となる場合があります。
2626
{{< /admonition >}}
27-
{{< /admonition >}}
2827

2928
{{< tabs >}}
3029

@@ -36,7 +35,7 @@ content = ''' <a name="project-based"></a>
3635

3736
Pythonパッケージマネージャーであるuvを使用してSciPyを使用するためのプロジェクトをセットアップする手順は以下の通りです。
3837

39-
1. [uvドキュメントのインストール手順]([https://docs.astral.sh/uv/getting-started/installation/)に従って](https://www.google.com/search?q=https://docs.astral.sh/uv/getting-started/installation/)%E3%81%AB%E5%BE%93%E3%81%A3%E3%81%A6)\`uv\`をインストールします。
38+
1. [uvドキュメントのインストール手順](https://docs.astral.sh/uv/getting-started/installation/)に従って、\`uv\`をインストールします。
4039

4140
2. 新しいサブディレクトリに新しいプロジェクトを作成します。ターミナルで以下を実行します。
4241

@@ -48,7 +47,6 @@ cd try-scipy
4847
{{< admonition hint >}}
4948
2番目のコマンドは、ディレクトリをプロジェクトのディレクトリに変更します。
5049
{{< /admonition >}}
51-
{{< /admonition >}}
5250

5351
3. SciPyをプロジェクトに追加します。
5452

@@ -59,7 +57,6 @@ uv add scipy
5957
{{< admonition note >}}
6058
これは、Pythonがまだインストールされていない場合に、自動的にPythonをインストールします!
6159
{{< /admonition >}}
62-
{{< /admonition >}}
6360

6461
{{< admonition tip >}}
6562
同じ方法で他のPythonライブラリもインストールできます。例:
@@ -84,6 +81,8 @@ uv run python
8481

8582
[scipy-user-guide]: https://docs.conda.io/projects/conda/en/latest/index.html
8683

84+
{{< admonition note >}}
85+
8786
パッケージ管理ツール[`pixi`]を使用して[conda-forge]からSciPyをインストールする手順は、`uv`を使った場合と非常に似ています。
8887

8988
コンピューターを再起動した後、`try-scipy`プロジェクトディレクトリに移動し、`uv run python`を実行して、SciPyをインポート可能なPythonインタプリタに戻る必要があります。
@@ -92,7 +91,7 @@ Pythonスクリプトを実行するには、`uv run myscript.py`を使用でき
9291

9392
詳細は[uvのプロジェクトでの作業ガイド][uv-projects]をご覧ください。
9493

95-
[uv-projects]: [https://docs.astral.sh/uv/guides/projects/]\(https://docs.astral.sh/uv/guides/projects/\)
94+
[uv-projects]: https://docs.astral.sh/uv/guides/projects/
9695

9796
{{< /admonition >}}
9897

@@ -103,16 +102,16 @@ Condaはあらゆる言語のパッケージを管理できるため、Python自
103102
Condaは任意の言語でパッケージを管理できるため、
104103
Python自体や、コンパイラ、その他の言語をインストールするのにも使用できます。
105104

106-
[Conda]: [https://docs.conda.io/projects/conda/en/latest/index.html]\(https://docs.conda.io/projects/conda/en/latest/index.html\)
105+
[Conda]: https://docs.conda.io/projects/conda/en/latest/index.html
107106

108107
パッケージ管理ツール[`pixi`]を使用して[conda-forge]からSciPyをインストールする手順は、`uv`の手順と非常によく似ています。
109108

110-
[conda-forge]: [https://conda-forge.org/]\(https://conda-forge.org/\)
111-
[`pixi`]: [https://pixi.sh/latest/]\(https://pixi.sh/latest/\)
109+
[conda-forge]: https://conda-forge.org/
110+
[`pixi`]: https://pixi.sh/latest/
112111

113112
1. [`pixi`ドキュメントのインストール手順][install-pixi]に従って、`pixi`をインストールします。
114113

115-
[install-pixi]: [https://pixi.sh/latest/]\(https://pixi.sh/latest/\)
114+
[install-pixi]: https://pixi.sh/latest/
116115

117116
2. 新しいサブディレクトリに新しいプロジェクトを作成します。
118117

@@ -151,13 +150,12 @@ content = ''' <a name="environment-based"></a>
151150

152151
<!-- prettier-ignore-start -->
153152

154-
1. [Pythonをインストール](\[https://www.python.org/downloads/)します]([https://www.google.com/search?q=https://www.python.org/downloads/)%E3%81%97%E3%81%BE%E3%81%99](https://www.google.com/search?q=https://www.python.org/downloads/)%E3%81%97%E3%81%BE%E3%81%99))
153+
1. [Pythonをインストール](https://www.python.org/downloads/)します。
155154

156155
2. `venv` を使用して仮想環境を作成し、アクティブ化します。
157156

158157
{{< admonition hint >}}
159-
[Python Packaging User Guideのチュートリアル](\[https://packaging.python.org/en/latest/tutorials/installing-packages/#creating-virtual-environments)をご覧ください]([https://www.google.com/search?q=https://packaging.python.org/en/latest/tutorials/installing-packages/%23creating-virtual-environments)%E3%82%92%E3%81%94%E8%A6%A7%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84](https://www.google.com/search?q=https://packaging.python.org/en/latest/tutorials/installing-packages/%23creating-virtual-environments)%E3%82%92%E3%81%94%E8%A6%A7%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84))。
160-
{{< /admonition >}}
158+
[Python Packaging User Guideのチュートリアル](https://packaging.python.org/en/latest/tutorials/installing-packages/#creating-virtual-environments)をご覧ください。
161159
{{< /admonition >}}
162160

163161
3. [`pip`] を使用して SciPy をインストールします。
@@ -168,7 +166,7 @@ python -m pip install scipy
168166

169167
<!-- prettier-ignore-end -->
170168

171-
[`pip`]: [https://pip.pypa.io/en/stable/getting-started/]\(https://pip.pypa.io/en/stable/getting-started/\)
169+
[`pip`]: https://pip.pypa.io/en/stable/getting-started/
172170

173171
### `conda` を使用したインストール
174172

@@ -181,8 +179,9 @@ conda install scipy # または
181179
mamba install scipy
182180
```
183181

184-
[Miniforge]: [https://conda-forge.org/download/]\(https://conda-forge.org/download/\)
185-
[`mamba`]: [https://mamba.readthedocs.io/en/latest/]\(https://mamba.readthedocs.io/en/latest/\)
182+
[Miniforge]: https://conda-forge.org/download/
183+
184+
[`mamba`]: https://mamba.readthedocs.io/en/latest/
186185

187186
'''
188187

@@ -229,15 +228,15 @@ content = ''' <a name="building-from-source"></a>
229228

230229
注意点: ソースコードからSciPyをビルドするのは簡単ではない場合があります。 お使いのプラットフォームで、上記の方法のいずれかを通じてバイナリソフトが利用可能な場合は、それを使用することをおすすめします。
231230
ソースコードからのビルド方法の詳細については、
232-
\[ビルドドキュメント] を参照してください。
231+
[ビルドドキュメント] を参照してください。
233232

234233
[building-docs]: https://scipy.github.io/devdocs/building/index.html
235234

236235
'''
237236

238237
{{</ tabs >}}
239238

240-
次のステップは[SciPyユーザーガイド]([https://docs.scipy.org/doc/scipy/tutorial/)をご覧ください]([https://www.google.com/search?q=https://docs.scipy.org/doc/scipy/tutorial/)%E3%82%92%E3%81%94%E8%A6%A7%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84](https://www.google.com/search?q=https://docs.scipy.org/doc/scipy/tutorial/)%E3%82%92%E3%81%94%E8%A6%A7%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84))
239+
次のステップは[SciPyユーザーガイド](https://docs.scipy.org/doc/scipy/tutorial/)をご覧ください。
241240

242241
{{< admonition tip >}}
243242
IDE(統合開発環境)で正確な型ヒントを提供するために、型スタブのインストールが必要になる場合があります。
@@ -261,4 +260,4 @@ conda install "scipy-typed>=1.14"
261260
```
262261

263262
静的型付けのサポートに関する質問は、
264-
[`scipy-stubs` GitHubリポジトリ]([https://github.com/jorenham/scipy-stubs)にお寄せください](https://www.google.com/search?q=https://github.com/jorenham/scipy-stubs)%E3%81%AB%E3%81%8A%E5%AF%84%E3%81%9B%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84)
263+
[`scipy-stubs` GitHubリポジトリ](https://github.com/jorenham/scipy-stubs)にお寄せください。

0 commit comments

Comments
 (0)