在使用npm安装OpenAI实时API时遇到权限被拒绝

我只是想通过npm安装OpenAI实时API,结果却遇到了权限被拒绝的问题。

npm i openai/openai-realtime-api-betanpm error code 128npm error An unknown git error occurrednpm error command git --no-replace-objects ls-remote ssh://[email protected]/openai/openai-realtime-api-beta.gitnpm error [email protected]: Permission denied (publickey).npm error fatal: Could not read from remote repository.npm errornpm error Please make sure you have the correct access rightsnpm error and the repository exists.

回答:

看起来问题出在这里:[email protected]: Permission denied (publickey)

npm 试图克隆 /openai/openai-realtime-api-beta.git 仓库,但由于你的公钥未在GitHub上注册,无法通过SSH连接。

GitHub提供了一个指南,详细说明了如何设置。你只要按照其中的步骤操作,应该就能解决这个问题。

Related Posts

L1-L2正则化的不同系数

我想对网络的权重同时应用L1和L2正则化。然而,我找不…

使用scikit-learn的无监督方法将列表分类成不同组别,有没有办法?

我有一系列实例,每个实例都有一份列表,代表它所遵循的不…

f1_score metric in lightgbm

我想使用自定义指标f1_score来训练一个lgb模型…

通过相关系数矩阵进行特征选择

我在测试不同的算法时,如逻辑回归、高斯朴素贝叶斯、随机…

可以将机器学习库用于流式输入和输出吗?

已关闭。此问题需要更加聚焦。目前不接受回答。 想要改进…

在TensorFlow中,queue.dequeue_up_to()方法的用途是什么?

我对这个方法感到非常困惑,特别是当我发现这个令人费解的…

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注