@@ -16,15 +16,14 @@ SciPyの推奨されるインストール方法は、あなたの好みのワー
1616- ** システムパッケージマネージャー** _ (推奨されません)_
1717- ** ソースからのビルド** _ (デバッグと開発用)_
1818
19- \[ 静的型スタブ] を使用してSciPyをインストールするには、
19+ 静的型スタブ] を使用してSciPyをインストールするには、
2020[ 型スタブを使用したインストール] ( #type-stubs ) をご覧ください。
2121
2222[ static type stubs ] : [https://typing.readthedocs.io/en/latest/guides/libraries.html]\( 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
3736Pythonパッケージマネージャーである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
41402 . 新しいサブディレクトリに新しいプロジェクトを作成します。ターミナルで以下を実行します。
4241
@@ -48,7 +47,6 @@ cd try-scipy
4847{{< admonition hint >}}
49482番目のコマンドは、ディレクトリをプロジェクトのディレクトリに変更します。
5049{{< /admonition >}}
51- {{< /admonition >}}
5250
53513 . 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ライブラリもインストールできます。例:
@@ -92,7 +89,7 @@ Pythonスクリプトを実行するには、`uv run myscript.py`を使用でき
9289
9390詳細は[ uvのプロジェクトでの作業ガイド] [ uv-projects ] をご覧ください。
9491
95- [ uv-projects ] : [ https://docs.astral.sh/uv/guides/projects/] \( https://docs.astral.sh/uv/guides/projects/ \)
92+ [ uv-projects ] : https://docs.astral.sh/uv/guides/projects/
9693
9794{{< /admonition >}}
9895
@@ -103,16 +100,16 @@ Condaはあらゆる言語のパッケージを管理できるため、Python自
103100Condaは任意の言語でパッケージを管理できるため、
104101Python自体や、コンパイラ、その他の言語をインストールするのにも使用できます。
105102
106- [ Conda ] : [ https://docs.conda.io/projects/conda/en/latest/index.html] \( https://docs.conda.io/projects/conda/en/latest/index.html \)
103+ [ Conda ] : https://docs.conda.io/projects/conda/en/latest/index.html
107104
108105パッケージ管理ツール[ ` pixi ` ] を使用して[ conda-forge] からSciPyをインストールする手順は、` uv ` の手順と非常によく似ています。
109106
110- [ conda-forge ] : [ https://conda-forge.org/] \( https://conda-forge.org/ \)
111- [ `pixi` ] : [ https://pixi.sh/latest/] \( https://pixi.sh/latest/ \)
107+ [ conda-forge ] : https://conda-forge.org/
108+ [ `pixi` ] : https://pixi.sh/latest/
112109
1131101 . [ ` pixi ` ドキュメントのインストール手順] [ install-pixi ] に従って、` pixi ` をインストールします。
114111
115- [ install-pixi ] : [ https://pixi.sh/latest/] \( https://pixi.sh/latest/ \)
112+ [ install-pixi ] : https://pixi.sh/latest/
116113
1171142 . 新しいサブディレクトリに新しいプロジェクトを作成します。
118115
@@ -151,13 +148,12 @@ content = ''' <a name="environment-based"></a>
151148
152149<!-- prettier-ignore-start -->
153150
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)) 。
151+ 1 . [ Pythonをインストール] ( https://www.python.org/downloads/ ) します。
155152
1561532 . ` venv ` を使用して仮想環境を作成し、アクティブ化します。
157154
158155{{< 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 >}}
156+ [ Python Packaging User Guideのチュートリアル] ( https://packaging.python.org/en/latest/tutorials/installing-packages/#creating-virtual-environments ) をご覧ください。
161157{{< /admonition >}}
162158
1631593 . [ ` pip ` ] を使用して SciPy をインストールします。
@@ -168,7 +164,7 @@ python -m pip install scipy
168164
169165<!-- prettier-ignore-end -->
170166
171- [ `pip` ] : [ https://pip.pypa.io/en/stable/getting-started/] \( https://pip.pypa.io/en/stable/getting-started/ \)
167+ [ `pip` ] : https://pip.pypa.io/en/stable/getting-started/
172168
173169### ` conda ` を使用したインストール
174170
@@ -181,8 +177,8 @@ conda install scipy # または
181177mamba install scipy
182178```
183179
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/ \)
180+ [ Miniforge ] : https://conda-forge.org/download/
181+ [ `mamba` ] : https://mamba.readthedocs.io/en/latest/
186182
187183'''
188184
@@ -228,20 +224,18 @@ name = 'ソースからのビルド'
228224content = ''' <a name =" building-from-source " ></a >
229225
230226注意点: ソースコードからSciPyをビルドするのは簡単ではない場合があります。 お使いのプラットフォームで、上記の方法のいずれかを通じてバイナリソフトが利用可能な場合は、それを使用することをおすすめします。
231- ソースコードからのビルド方法の詳細については 、
232- \[ ビルドドキュメント ] を参照してください 。
227+ ソースからビルドする方法の詳細については 、
228+ [ SciPy ドキュメントのソースからのビルド ガイド ] [ building-docs ] 。
233229
234230[ building-docs ] : https://scipy.github.io/devdocs/building/index.html
235231
236232'''
237233
238234{{</ tabs >}}
239235
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)) 。
236+ 次のステップは[ SciPyユーザーガイド] ( https://docs.scipy.org/doc/scipy/tutorial/ ) をご覧ください。
241237
242- {{< admonition tip >}}
243- IDE(統合開発環境)で正確な型ヒントを提供するために、型スタブのインストールが必要になる場合があります。
244- {{< /admonition >}}
238+ <a name =" type-stubs " ></a >
245239
246240## 型スタブを使用したインストール
247241
@@ -260,5 +254,4 @@ python -m pip install "scipy-stubs[scipy]" # または
260254conda install " scipy-typed>=1.14"
261255```
262256
263- 静的型付けのサポートに関する質問は、
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)。
257+ GitHubリポジトリ] ( https://github.com/jorenham/scipy-stubs ) にお寄せください。
0 commit comments