Pythonコマンド †更新日2023-09-04 (月) 20:45:49
作成日:2023年8月29日
Pyhtonバージョン情報 †>python --version Python 3.10.6 Pythonランチャー(py) †
Windowsでは拡張子.pyをダブルクリックするとそのプログラムが実行さる、.pyに関連付けられているは、python.exeではなく、py.exe(Pythonランチャー)。Pythonランチャーが、適切なpython.exeを選んで実行する。
「*」はpyで起動するPython >py --list-paths -V:3.11 * C:\Usr\Python\Python311\python.exe -V:3.10 C:\Usr\Python\Python310\python.exe
>py -3.10 -m pip freeze albumentations==1.3.1 certifi==2023.7.22 charset-normalizer==3.2.0 colorama==0.4.6 coloredlogs==15.0.1 contourpy==1.1.0 cycler==0.11.0 Cython==3.0.2 easydict==1.10 flatbuffers==23.5.26 fonttools==4.42.1 pip †
>pip list Package Version ---------------------- --------- albumentations 1.3.1 certifi 2023.7.22 charset-normalizer 3.2.0 colorama 0.4.6 coloredlogs 15.0.1 contourpy 1.1.0
>pip show transparent-background Name: transparent-background Version: 1.2.4 Summary: Make images with transparent background Home-page: https://github.com/plemeri/transparent-background Author: Taehun Kim Author-email: taehoon1018@postech.ac.kr License: Location: c:\usr\python\python310\lib\site-packages ←ここ Requires: gdown, kornia, opencv-python, pyvirtualcam, timm, torch, torchvision, tqdm Required-by: CUDAのバージョンを確認 †>nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Tue_Jul_11_03:10:21_Pacific_Daylight_Time_2023 Cuda compilation tools, release 12.2, V12.2.128 Build cuda_12.2.r12.2/compiler.33053471_0 |