11 2023 档案
摘要:问题分析: 这个错误提示说明在电脑系统上禁止运行 PowerShell 脚本,因此导致无法加载 Yarn 的安装脚本。这是由于系统的执行策略(Execution Policies)设置所导致的。 解决方法: 1. 以管理员身份运行 PowerShell。 2. 在窗口中执行 set-Executio
阅读全文
摘要:下面的代码,保存到文件z.py里面。 import time from tqdm import tqdm for vin in tqdm(range(10)): print(vin) time.sleep(1) 后台执行:nohup python3 z.py > z.log 2>&1 &, 执行ta
阅读全文