使用 zef 安装 Twitter 模块时出错

问题描述

我正在使用 zef 通过 zef install Twitter

安装 Twitter 模块

我收到以下错误:

Enabled fetching backends [git path curl wget] don't understand git://github.com/raku-community-modules/Twitter You may need to configure one of the following backends,or install its underlying software - [pswebrequest]

我在谷歌上搜索了“pswebrequest”,但没有得到任何提示。

我已经尝试安装 HTTP::Tinyish(依赖项之一)以检查我的 zef 安装是否正常工作,并且很好。

关于如何解决这个问题的任何指示?

解决方法

如果 source-url 是 git 存储库,则它应该以 .git 结尾,因为后端使用扩展来确定获取/提取各种类型的打包分发所需的方式/内容。

您可以打开拉取请求将 .git 添加到源网址,或者您可以通过以下方式手动解决它:

zef install https://github.com/raku-community-modules/Twitter.git

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...