错误“没有为命令curl安装预设版本”,但它已安装
我今天尝试使用 asdf,但有些东西坏了。
当我尝试安装某些版本的python时,我得到:
noki-artix:[noki]:~$ asdf install python 3.8.10
python-build 3.8.10 /home/noki/.asdf/installs/python/3.8.10
Downloading Python-3.8.10.tar.gz...
-> https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tgz
error: failed to download Python-3.8.10.tar.gz
BUILD FAILED (Artix rolling using python-build 2.2.4-1-10-g0d949796)
Results logged to /tmp/python-build.20220310175911.6108.log
Last 10 log lines:
/tmp/python-build.20220310175911.6108 ~
No preset version installed for command curl
Please install a version by running one of the following:
asdf install python 3.10.2
or add one of the following versions in your config file at
python anaconda3-5.3.1
curl的哪个是:
noki-artix:[noki]:~$ which curl
/home/noki/.asdf/shims/curl
- 我确实安装了curl-7.82.0-1(并重新安装) ,但它不起作用我收到上面的错误
- asdf reshim was run
- 我现在用Google搜索了几个小时,但我不知道如何定义它是curl问题还是asdf问题,甚至是其他问题......
- 带 LTS 的 Artix Runit内核
谢谢大家;
I tried to use asdf today and something broke.
When I try to install some version of python I get this:
noki-artix:[noki]:~$ asdf install python 3.8.10
python-build 3.8.10 /home/noki/.asdf/installs/python/3.8.10
Downloading Python-3.8.10.tar.gz...
-> https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tgz
error: failed to download Python-3.8.10.tar.gz
BUILD FAILED (Artix rolling using python-build 2.2.4-1-10-g0d949796)
Results logged to /tmp/python-build.20220310175911.6108.log
Last 10 log lines:
/tmp/python-build.20220310175911.6108 ~
No preset version installed for command curl
Please install a version by running one of the following:
asdf install python 3.10.2
or add one of the following versions in your config file at
python anaconda3-5.3.1
The which for curl is:
noki-artix:[noki]:~$ which curl
/home/noki/.asdf/shims/curl
- I do have curl-7.82.0-1 installed (and re-installed), but it's not working I get the error above
- asdf reshim was run
- I did Google for a couple of hours now, but I don't know how to define if it's a curl problem or an asdf problem, or even something else...
- Artix Runit with LTS kernel
Thank you all;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我卸载了 anaconda,我的问题就消失了。
我之所以得出这个结论,是因为
卸载 anaconda 后的 cat /home/noki/.asdf/shims/curl ,curl 的垫片被删除了
,并且一切正常。
I uninstall anaconda and my problem went away.
I arrived at that because of the
cat /home/noki/.asdf/shims/curl
after uninstalling anaconda the shims for curl was removed
And all works well.