对不起,这里很难具体说明,但是我很难用asdf在Linux中找到各种错误消息的来源。
我已经在RHEL8.5GNU/Linux系统上运行了Fish 3.4.0,并且与它一起安装和使用asdf已经几个月了,没有任何问题。我也使用asdf安装和使用direnv的Python虚拟环境。
但是,从昨天开始,当我打开Gnome终端应用程序来启动Fish时,我会得到以下错误:
environment:987: use_asdf: command not found
我仍然可以使用shell,但是我注意到我通过asdf-managed Python安装的asdf工具已经找不到了。
另外,如果我启动了一个Bash,就会出现以下错误:
bash: register-python-argcomplete: command not found... Install package 'python3-argcomplete' to provide command 'register-python-argcomplete'? [N/y]
如果我选择N (“否”),我仍然可以到达bash。
问题是,我不知道这些错误是从哪里来的,也不知道如何找到问题的根源。如何开始排除这些错误?
谢谢。
更新:
asdf及其插件都是完全更新的。
这是asdf info的输出
OS:
Linux [hostname] 4.18.0-348.20.1.el8_5.x86_64 #1 SMP Tue Mar 8 12:56:54 EST 2022 x86_64 x86_64 x86_64 GNU/Linux
SHELL:
fish, version 3.4.1
ASDF VERSION:
v0.10.0-77fd510
ASDF ENVIRONMENT VARIABLES:
ASDF_DIR=/home/[username]/.asdf
ASDF INSTALLED PLUGINS:
direnv https://github.com/asdf-community/asdf-direnv.git master 7dcd571
nodejs https://github.com/asdf-vm/asdf-nodejs.git master f9957f3
python https://github.com/danhper/asdf-python.git master 57a4d72
R https://github.com/asdf-community/asdf-r.git master 3eab1a6发布于 2022-04-25 15:21:28
我不认识environment:987: use_asdf: command not found错误或register-python-argcomplete: command not found错误。
我建议升级到最新版本的asdf和您使用的所有asdf插件的最新版本。如果您还有问题,请用asdf info的输出更新您的问题,这样我们就可以更好地了解您的环境。
https://stackoverflow.com/questions/71751312
复制相似问题