[筆記]Python 3.12版本安裝

Python安裝

 

 

安裝版本

Windows 10

Python 3.12

Python Releases for Windows | Python.org

環境變數設定

系統 > 進階系統設定 > 環境變數

新增剛才安裝 python 的路徑位置如下

 

C:\Users\[user]\AppData\Local\Programs\Python\Python310
C:\Users\[user]\AppData\Local\Programs\Python\Python310\Scripts

把這兩行路徑分別新增加入環境變數裡頭。

要看你的 python 安裝在哪裡,我的筆電預設是安裝在 Users 資料夾當中的 Local Programs,每台電腦安裝路徑並不完全相同。

 

pip install

numpy-1.26.3
pandas-2.2.0
pantab-3.0.2

指定套件版本

pip install --force-reinstall numpy==1.18.5

 

 

 

 

 

 

 

 

 

 

 

 

 

numpy-1.26.3
pandas-2.2.0
pyarrow-15.0.0
pantab-3.0.2 [*HP User >> 3.0.4]
pip-autoremove-0.10.0
contourpy-1.2.0 cycler-0.12.1 fonttools-4.47.2 kiwisolver-1.4.5 matplotlib-3.8.2 packaging-23.2 pillow-10.2.0 pyparsing-3.1.1
sqlalchemy-2.0.25
tableauserverclient-0.30
psycopg2-2.9.9
pip install sqlalchemy


#pip install --exists-action=i scikit-learn
joblib-1.3.2 scikit-learn-1.4.0 scipy-1.12.0 threadpoolctl-3.2.0

pip install --force-reinstall numpy==1.18.5
pip install --force-reinstall pandas==1.18.5


pip install --force-reinstall pandas==3.0
Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0)