tmuxp加载错误的interp

2024-06-25 22:38:14 发布

您现在位置:Python中文网/ 问答频道 /正文

需要有关错误消息的帮助

操作系统:

↳ cat /etc/os-release
NAME="Linux Mint"
VERSION="19.1 (Tessa)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.1"
VERSION_ID="19.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tessa
UBUNTU_CODENAME=bionic

终端: zsh/tmuxp/vim

安装了pyenv,可以正常使用。 最近在访问以下内容时开始看到错误消息:

↳ tmuxp load Public/js/vue/vue-docs/vue.yaml

信息1: 无法重新灰化。 我没有复印件,但我想它是参考的 .pyenv/versions/3.7.2/......... 但是,仍然可以启动tmuxp会话

信息2: 消息1停止后,以下内容开始显示,无法再启动tmuxp会话

↳ tmuxp load Public/js/vue/vue-docs/vue.yaml
zsh: /home/ab2qik/.local/bin/tmuxp: 
bad interpreter: home/ab2qik/.pyenv/versions/3.7.2/envs/venv3.7.2/bin/python3.7: 
no such file or directory

Pyenv版本显示:

↳ pyenv versions
system
3.7.2
3.7.2/envs/v-372
3.8-dev
3.8-dev/envs/v-38-dev
v-372 (set by /home/ab2qik/.python-version)
v-38-dev

Python版本显示

↳ python -V
Python 3.7.2

pyenv是与git一起安装的

zshenv目录:

↳ cat /etc/zsh/zshenv

/etc/zsh/zshenv: system-wide .zshenv file for zsh(1).


Global Order: zshenv, zprofile, zshrc, zlogin

if [[ -z "$PATH" || "$PATH" == "/bin:/usr/bin" ]]
then
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
fi

env variable = PYENV_ROOT
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"

tmuxp completion
eval "$(_TMUXP_COMPLETE=source tmuxp)"
Auto activation/deactivation of virtualenvs. Works with shell specific python version selection
eval "$(pyenv virtualenv-init -)" 

# eval "$(pyenv init -)"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi

谢谢


Tags: pathdevpyenv消息urlbinversionusr