赞
踩
pip download pandas
cmd
for %i in (*.whl) do pip install --no-deps "%i"
powershell
Get-ChildItem -Path . -Filter *.whl | ForEach-Object { pip install $_.FullName --no-deps}
pip install virtualenv
virtualenv -p D:\temp\python-3.12.3-embed-amd64\python.exe venv
.\venv\Scripts\activate
(windows下还需要以管理员身份运行powershell,来给与本地脚本运行的权限set-executionpolicy RemoteSigned
).\venv\Scripts\deactivate
.bat
文件pip freeze > requirements.txt
python --version > python_version.txt
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。