We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用的是py 3.12.4 ,依赖安装成功,但在运行python main.py时出现报错,无法运行后端程序
The text was updated successfully, but these errors were encountered:
我解决了兄弟,就是你
bash 复制 pip install openai 然后假如 后面遇到PS E:\novel2video-main\novel2video-main\novel2video-main> npm install next --registry=https://registry.npmmirror.com npm : 无法加载文件 C:\Program Files\nodejs\npm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsof t.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。 所在位置 行:1 字符: 1
+ CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess现在这种报错,
你就 输入以下命令查看当前策略:
powershell 复制 Get-ExecutionPolicy 默认通常是 Restricted(禁止所有脚本)。
powershell 复制 Set-ExecutionPolicy RemoteSigned -Scope CurrentUser 选项解释:
RemoteSigned:允许本地脚本运行,远程脚本需签名(平衡安全与便利)。
Bypass:完全绕过执行策略(不推荐,存在安全风险)。
Unrestricted:允许所有脚本(慎用)。 4. 验证策略是否生效 再次检查策略:
powershell 复制 Get-ExecutionPolicy 应显示为 RemoteSigned。 然后输入npm install next --registry=https://registry.npmmirror.com npm install toastify-js --registry=https://registry.npmmirror.com 策失: 02-03 00:21:09 然后cd front 再npm run dev
Sorry, something went wrong.
我还有其他2个一起玩这个的创了个群1033162690,我不是大佬,群里有两个懂一些的,大家可以来看看?
No branches or pull requests
使用的是py 3.12.4 ,依赖安装成功,但在运行python main.py时出现报错,无法运行后端程序
The text was updated successfully, but these errors were encountered: