@@ -16,15 +16,14 @@ SciPyの推奨されるインストール方法は、あなたの好みのワー
16
16
- ** システムパッケージマネージャー** _ (推奨されません)_
17
17
- ** ソースからのビルド** _ (デバッグと開発用)_
18
18
19
- \ [ 静的型スタブ] を使用してSciPyをインストールするには、
19
+ [ 静的型スタブ] を使用してSciPyをインストールするには、
20
20
[ 型スタブを使用したインストール] ( #type-stubs ) をご覧ください。
21
21
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
23
23
24
24
{{< admonition tip >}}
25
25
統合開発環境 (IDE) が正確な型ヒントを提供するためには、型スタブのインストールが必要となる場合があります。
26
26
{{< /admonition >}}
27
- {{< /admonition >}}
28
27
29
28
{{< tabs >}}
30
29
@@ -36,7 +35,7 @@ content = ''' <a name="project-based"></a>
36
35
37
36
Pythonパッケージマネージャーであるuvを使用してSciPyを使用するためのプロジェクトをセットアップする手順は以下の通りです。
38
37
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\` をインストールします。
40
39
41
40
2 . 新しいサブディレクトリに新しいプロジェクトを作成します。ターミナルで以下を実行します。
42
41
@@ -48,7 +47,6 @@ cd try-scipy
48
47
{{< admonition hint >}}
49
48
2番目のコマンドは、ディレクトリをプロジェクトのディレクトリに変更します。
50
49
{{< /admonition >}}
51
- {{< /admonition >}}
52
50
53
51
3 . SciPyをプロジェクトに追加します。
54
52
@@ -59,7 +57,6 @@ uv add scipy
59
57
{{< admonition note >}}
60
58
これは、Pythonがまだインストールされていない場合に、自動的にPythonをインストールします!
61
59
{{< /admonition >}}
62
- {{< /admonition >}}
63
60
64
61
{{< admonition tip >}}
65
62
同じ方法で他のPythonライブラリもインストールできます。例:
@@ -84,6 +81,8 @@ uv run python
84
81
85
82
[ scipy-user-guide ] : https://docs.conda.io/projects/conda/en/latest/index.html
86
83
84
+ {{< admonition note >}}
85
+
87
86
パッケージ管理ツール[ ` pixi ` ] を使用して[ conda-forge] からSciPyをインストールする手順は、` uv ` を使った場合と非常に似ています。
88
87
89
88
コンピューターを再起動した後、` try-scipy ` プロジェクトディレクトリに移動し、` uv run python ` を実行して、SciPyをインポート可能なPythonインタプリタに戻る必要があります。
@@ -92,7 +91,7 @@ Pythonスクリプトを実行するには、`uv run myscript.py`を使用でき
92
91
93
92
詳細は[ uvのプロジェクトでの作業ガイド] [ uv-projects ] をご覧ください。
94
93
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/
96
95
97
96
{{< /admonition >}}
98
97
@@ -103,16 +102,16 @@ Condaはあらゆる言語のパッケージを管理できるため、Python自
103
102
Condaは任意の言語でパッケージを管理できるため、
104
103
Python自体や、コンパイラ、その他の言語をインストールするのにも使用できます。
105
104
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
107
106
108
107
パッケージ管理ツール[ ` pixi ` ] を使用して[ conda-forge] からSciPyをインストールする手順は、` uv ` の手順と非常によく似ています。
109
108
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/
112
111
113
112
1 . [ ` pixi ` ドキュメントのインストール手順] [ install-pixi ] に従って、` pixi ` をインストールします。
114
113
115
- [ install-pixi ] : [ https://pixi.sh/latest/] \( https://pixi.sh/latest/ \)
114
+ [ install-pixi ] : https://pixi.sh/latest/
116
115
117
116
2 . 新しいサブディレクトリに新しいプロジェクトを作成します。
118
117
@@ -151,13 +150,12 @@ content = ''' <a name="environment-based"></a>
151
150
152
151
<!-- prettier-ignore-start -->
153
152
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/ ) します。
155
154
156
155
2 . ` venv ` を使用して仮想環境を作成し、アクティブ化します。
157
156
158
157
{{< 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 ) をご覧ください。
161
159
{{< /admonition >}}
162
160
163
161
3 . [ ` pip ` ] を使用して SciPy をインストールします。
@@ -168,7 +166,7 @@ python -m pip install scipy
168
166
169
167
<!-- prettier-ignore-end -->
170
168
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/
172
170
173
171
### ` conda ` を使用したインストール
174
172
@@ -181,8 +179,9 @@ conda install scipy # または
181
179
mamba install scipy
182
180
```
183
181
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/
186
185
187
186
'''
188
187
@@ -229,15 +228,15 @@ content = ''' <a name="building-from-source"></a>
229
228
230
229
注意点: ソースコードからSciPyをビルドするのは簡単ではない場合があります。 お使いのプラットフォームで、上記の方法のいずれかを通じてバイナリソフトが利用可能な場合は、それを使用することをおすすめします。
231
230
ソースコードからのビルド方法の詳細については、
232
- \ [ ビルドドキュメント] を参照してください。
231
+ [ ビルドドキュメント] を参照してください。
233
232
234
233
[ building-docs ] : https://scipy.github.io/devdocs/building/index.html
235
234
236
235
'''
237
236
238
237
{{</ tabs >}}
239
238
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/ ) をご覧ください。
241
240
242
241
{{< admonition tip >}}
243
242
IDE(統合開発環境)で正確な型ヒントを提供するために、型スタブのインストールが必要になる場合があります。
@@ -261,4 +260,4 @@ conda install "scipy-typed>=1.14"
261
260
```
262
261
263
262
静的型付けのサポートに関する質問は、
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