avatar
童琦杰
Sep 5, 2023Technology

Python虚拟环境

bash
python3 -m venv .venv # create virtual environment
source .venv/bin/activate # load virtual environment

windows激活虚拟环境报错activate : File \.venv\Scripts\Activate.ps1 cannot be loaded because running scripts is disabled on this system.

Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
© 2015-2022 tongqijie.com 版权所有沪ICP备17000682号