摘要:
使用按鍵win+e打開文件管理器,在上方路徑欄輸入: %APPDATA% 查看此目錄下是否有pip目錄,如果沒有則需要創建,并在pip目錄下以文本方式添加pip.ini文件。寫入內容為 [global] index-url = https://pypi.tuna.tsinghua.edu.cn/si 閱讀全文
posted @ 2023-10-07 23:44
PieBridge
閱讀(184)
評論(0)
推薦(0)
摘要:
# coding:utf8 import matplotlib.pyplot as pltimport numpy as np # 先獲取一個圖表fig = plt.figure()stringabc = "test" # 設置x,y坐標軸的刻度顯示范圍plt.xlim(-7, 7)plt.ylim 閱讀全文
posted @ 2023-10-07 21:20
PieBridge
閱讀(148)
評論(0)
推薦(0)
摘要:
1、安裝插件 需要安裝的插件包括:Python (Microsoft)、Python Extension Pack (Don Jayamanne)、Pylance (Microsoft) 安裝方法: 1)按Ctrl+Shift+X鍵,打擴展插件安裝界面 2)搜索到需要安裝的插件,然后點擊 "安裝" 閱讀全文
posted @ 2023-10-07 17:56
PieBridge
閱讀(2056)
評論(0)
推薦(0)
摘要:
用numpy舉例說明: 如果不需要代理:直接運行pip install numpy C:\Users\administrator>pip install numpy 如果需要代理:pip --proxy 代理地址 install numpy C:\Users\administrator>pip -- 閱讀全文
posted @ 2023-10-07 09:35
PieBridge
閱讀(80)
評論(0)
推薦(0)
浙公網安備 33010602011771號