forked from docs/doc-exports
Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com> Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
32 lines
2.5 KiB
HTML
32 lines
2.5 KiB
HTML
<a name="modelarts_04_0004"></a><a name="modelarts_04_0004"></a>
|
|
|
|
<h1 class="topictitle1">Downloading and Installing the SDK</h1>
|
|
<div id="body8662426"><div class="section" id="modelarts_04_0004__en-us_topic_0130654808_section16657165520146"><h4 class="sectiontitle">Download ModelArts SDK</h4><p id="modelarts_04_0004__p330243994616"><a href="https://obs-sdk.obs.eu-de.otc.t-systems.com/modelarts-latest-py2.py3-none-any.whl" target="_blank" rel="noopener noreferrer">Download the ModelArts SDK software package</a> of the latest version.</p>
|
|
</div>
|
|
<div class="section" id="modelarts_04_0004__en-us_topic_0130654808_section536631020158"><h4 class="sectiontitle">Installing the SDK</h4><p id="modelarts_04_0004__en-us_topic_0130654808_p061516124116">After the SDK is downloaded, you can use pip to install it. For details about how to install pip, see the <a href="https://pip.pypa.io/en/stable/installation/" target="_blank" rel="noopener noreferrer">pip official website</a>. To install the ModelArts SDK, run the following command:</p>
|
|
<p id="modelarts_04_0004__en-us_topic_0130654808_p1641035217517"><b><span class="cmdname" id="modelarts_04_0004__en-us_topic_0130654808_cmdname125744215613">pip install modelarts-latest-py2.py3-none-any.whl</span></b></p>
|
|
<div class="p" id="modelarts_04_0004__en-us_topic_0130654808_p205292261557">The required dependency packages are installed by default during SDK installation. The details are as follows:<pre class="screen" id="modelarts_04_0004__en-us_topic_0130654808_screen1540231914552">certifi >= 14.05.14
|
|
six >= 1.10
|
|
python_dateutil >= 2.5.3
|
|
setuptools >= 21.0.0
|
|
urllib3 >= 1.15.1
|
|
requests >= 2.19.1
|
|
esdk-obs-python == 3.0.5
|
|
Flask==1.0.2
|
|
Flask-Cors==3.0.4
|
|
gunicorn==19.8.1
|
|
mxnet-model-server==0.3
|
|
psutil==5.4.6
|
|
prometheus_client==0.3.1</pre>
|
|
</div>
|
|
<p id="modelarts_04_0004__en-us_topic_0130654808_p4425111620112">If an error message is displayed during the installation, indicating that a required dependency package is missing, run the following command to install the dependency package as prompted. In the command, <em id="modelarts_04_0004__en-us_topic_0130654808_i91141713515">xxxx</em> indicates the name of the dependency package.</p>
|
|
<p id="modelarts_04_0004__en-us_topic_0130654808_p5966172316123"><b><span class="cmdname" id="modelarts_04_0004__en-us_topic_0130654808_cmdname1592111819135">pip install xxxx</span></b></p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="modelarts_04_0003.html">Preparations</a></div>
|
|
</div>
|
|
</div>
|
|
|