<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                [TOC] ## 常用命令 ``` // 安裝命令 pip install requests pip install -r requirements.txt pip install requests==1.0.0 pip install --upgrade requests // 升級 pip install requests -i https://pypi.tuna.tsinghua.edu.cn/simple // 使用鏡像 // 卸載 pip uninstall package_name //列出包 pip list pip list --outdated // 包信息 pip show package_name //生成依賴文件 pip freeze > requirements.txt // 搜索 pip search package_name // 清理緩存 pip cache purge ``` ## 示例 ### 遷移到離線環境 1. 將安裝的第三方[Python包](https://so.csdn.net/so/search?q=Python%E5%8C%85&spm=1001.2101.3001.7020)freeze到文件requirements.txt ``` pip freeze >requirements.txt ``` 2. 下載第三方python包到指定目錄。 ``` pip download -d /home/packages -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com ``` 3. 將packages和requirements.txt拷貝到離線主機。 4. 在離線主機上安裝好python、pip、python-virtualenv(或直接安裝Anaconda),創建虛擬環境并激活。 5. 離線安裝python包 ``` pip install --no-index --find-links="/home/packages" -r requirements.txt ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看