-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Description
$ pyenv version
system (set by /home/nixi/.pyenv/version)
$ python -V
Python 2.7.18
$ python -c "import sys; print(sys.executable)"
/usr/bin/python
$ pyenv shell 3.10
$ pyenv version
3.10 (set by PYENV_VERSION environment variable)
$ python -V
Python 2.7.18
$ python -c "import sys; print(sys.executable)"
/usr/bin/python
$ pyenv shell 3.10.8
$ pyenv version
3.10.8 (set by PYENV_VERSION environment variable)
$ python -V
Python 3.10.8
$ python -c "import sys; print(sys.executable)"
/home/nixi/.pyenv/versions/3.10.8/bin/python
Probably related, but insufficient information #2512
Prerequisite
- Make sure your problem is not listed in the common build problems.
- Make sure no duplicated issue has already been reported in the pyenv issues. You should look for closed issues, too.
- Make sure you are not asking us to help solving your specific issue.
- GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like Gitter, StackOverflow, etc.
- Make sure your problem is not derived from packaging (e.g. Homebrew).
- Please refer to the package documentation for the installation issues, etc.
- Make sure your problem is not derived from plugins.
- This repository is maintaining
pyenvand the defaultpython-buildplugin only. Please refrain from reporting issues of other plugins here.
- This repository is maintaining
Description
- Platform information: openSUSE Tumbleweed
- OS architecture: amd64
- pyenv version: 2.3.6
- Python version: 2.7.18, 3.10.8
- C Compiler information: gcc 12.2.1 20221020 [revision 0aaef83351473e8f4eb774f8f999bbe87a4866d7] (SUSE Linux)
- Please attach the debug trace of the failing command as a gist:
- Run
env PYENV_DEBUG=1 <faulty command> 2>&1 | tee trace.logand attachtrace.log. E.g. if you have a problem with installing Python, runenv PYENV_DEBUG=1 pyenv install -v <version> 2>&1 | tee trace.log(note the-voption topyenv install).
- Run
env PYENV_DEBUG=1 pyenv shell 3.10 2>&1 | tee trace.log
+(/usr/bin/pyenv:23): enable -f /usr/bin/../libexec/pyenv-realpath.dylib realpath
+(/usr/bin/pyenv:30): '[' -z '' ']'
++(/usr/bin/pyenv:32): type -P greadlink readlink
++(/usr/bin/pyenv:32): head -1
+(/usr/bin/pyenv:32): READLINK=/usr/bin/readlink
+(/usr/bin/pyenv:33): '[' -n /usr/bin/readlink ']'
+(/usr/bin/pyenv:58): '[' -z '' ']'
+(/usr/bin/pyenv:59): PYENV_ROOT=/home/nixi/.pyenv
+(/usr/bin/pyenv:63): export PYENV_ROOT
+(/usr/bin/pyenv:65): '[' -z '' ']'
+(/usr/bin/pyenv:66): PYENV_DIR=/home/nixi
+(/usr/bin/pyenv:69): '[' '!' -d /home/nixi ']'
+(/usr/bin/pyenv:69): '[' '!' -e /home/nixi ']'
++(/usr/bin/pyenv:73): cd /home/nixi
++(/usr/bin/pyenv:73): echo /home/nixi
+(/usr/bin/pyenv:73): PYENV_DIR=/home/nixi
+(/usr/bin/pyenv:74): export PYENV_DIR
+(/usr/bin/pyenv:77): shopt -s nullglob
++(/usr/bin/pyenv:79): abs_dirname /usr/bin/pyenv
++(/usr/bin/pyenv:40): abs_dirname(): local path=/usr/bin/pyenv
++(/usr/bin/pyenv:44): abs_dirname(): '[' -n /usr/bin/pyenv ']'
++(/usr/bin/pyenv:45): abs_dirname(): cd_path=/usr/bin
++(/usr/bin/pyenv:46): abs_dirname(): [[ /usr/bin != \/\u\s\r\/\b\i\n\/\p\y\e\n\v ]]
++(/usr/bin/pyenv:47): abs_dirname(): cd /usr/bin
++(/usr/bin/pyenv:49): abs_dirname(): name=pyenv
+++(/usr/bin/pyenv:50): abs_dirname(): resolve_link pyenv
+++(/usr/bin/pyenv:36): resolve_link(): /usr/bin/readlink pyenv
++(/usr/bin/pyenv:50): abs_dirname(): path=../libexec/pyenv/bin/pyenv
++(/usr/bin/pyenv:44): abs_dirname(): '[' -n ../libexec/pyenv/bin/pyenv ']'
++(/usr/bin/pyenv:45): abs_dirname(): cd_path=../libexec/pyenv/bin
++(/usr/bin/pyenv:46): abs_dirname(): [[ ../libexec/pyenv/bin != \.\.\/\l\i\b\e\x\e\c\/\p\y\e\n\v\/\b\i\n\/\p\y\e\n\v ]]
++(/usr/bin/pyenv:47): abs_dirname(): cd ../libexec/pyenv/bin
++(/usr/bin/pyenv:49): abs_dirname(): name=pyenv
+++(/usr/bin/pyenv:50): abs_dirname(): resolve_link pyenv
+++(/usr/bin/pyenv:36): resolve_link(): /usr/bin/readlink pyenv
++(/usr/bin/pyenv:50): abs_dirname(): path=../libexec/pyenv
++(/usr/bin/pyenv:44): abs_dirname(): '[' -n ../libexec/pyenv ']'
++(/usr/bin/pyenv:45): abs_dirname(): cd_path=../libexec
++(/usr/bin/pyenv:46): abs_dirname(): [[ ../libexec != \.\.\/\l\i\b\e\x\e\c\/\p\y\e\n\v ]]
++(/usr/bin/pyenv:47): abs_dirname(): cd ../libexec
++(/usr/bin/pyenv:49): abs_dirname(): name=pyenv
+++(/usr/bin/pyenv:50): abs_dirname(): resolve_link pyenv
+++(/usr/bin/pyenv:36): resolve_link(): /usr/bin/readlink pyenv
+++(/usr/bin/pyenv:50): abs_dirname(): true
++(/usr/bin/pyenv:50): abs_dirname(): path=
++(/usr/bin/pyenv:44): abs_dirname(): '[' -n '' ']'
++(/usr/bin/pyenv:53): abs_dirname(): echo /usr/libexec/pyenv/libexec
+(/usr/bin/pyenv:79): bin_path=/usr/libexec/pyenv/libexec
+(/usr/bin/pyenv:85): '[' /usr/libexec/pyenv '!=' /home/nixi/.pyenv ']'
+(/usr/bin/pyenv:90): export PATH=/usr/libexec/pyenv/libexec:/home/nixi/.pyenv/shims:/home/nixi/micromamba/bin:/home/nixi/.local/bin:/usr/local/bin:/usr/bin:/bin:/home/nixi/go/bin:/home/nixi/.npm-packages/bin:/home/nixi/.cargo/bin:/home/nixi/.local/bin:/home/nixi/.local/share/JetBrains/Toolbox/scripts:/home/nixi/go/bin:/home/nixi/.npm-packages/bin:/home/nixi/.cargo/bin:/home/nixi/.local/bin:/home/nixi/.local/share/JetBrains/Toolbox/scripts
+(/usr/bin/pyenv:90): PATH=/usr/libexec/pyenv/libexec:/home/nixi/.pyenv/shims:/home/nixi/micromamba/bin:/home/nixi/.local/bin:/usr/local/bin:/usr/bin:/bin:/home/nixi/go/bin:/home/nixi/.npm-packages/bin:/home/nixi/.cargo/bin:/home/nixi/.local/bin:/home/nixi/.local/share/JetBrains/Toolbox/scripts:/home/nixi/go/bin:/home/nixi/.npm-packages/bin:/home/nixi/.cargo/bin:/home/nixi/.local/bin:/home/nixi/.local/share/JetBrains/Toolbox/scripts
+(/usr/bin/pyenv:92): PYENV_HOOK_PATH=:/home/nixi/.pyenv/pyenv.d
+(/usr/bin/pyenv:93): '[' /usr/libexec/pyenv '!=' /home/nixi/.pyenv ']'
+(/usr/bin/pyenv:95): PYENV_HOOK_PATH=:/home/nixi/.pyenv/pyenv.d:/usr/libexec/pyenv/pyenv.d
+(/usr/bin/pyenv:97): PYENV_HOOK_PATH=:/home/nixi/.pyenv/pyenv.d:/usr/libexec/pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks
+(/usr/bin/pyenv:101): PYENV_HOOK_PATH=/home/nixi/.pyenv/pyenv.d:/usr/libexec/pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks
+(/usr/bin/pyenv:102): export PYENV_HOOK_PATH
+(/usr/bin/pyenv:104): shopt -u nullglob
+(/usr/bin/pyenv:107): command=shell
+(/usr/bin/pyenv:108): case "$command" in
++(/usr/bin/pyenv:121): command -v pyenv-shell
++(/usr/bin/pyenv:121): true
+(/usr/bin/pyenv:121): command_path=
+(/usr/bin/pyenv:122): '[' -z '' ']'
+(/usr/bin/pyenv:123): '[' shell == shell ']'
+(/usr/bin/pyenv:124): abort 'shell integration not enabled. Run `pyenv init'\'' for instructions.'
+(/usr/bin/pyenv:16): abort(): '[' 1 -eq 0 ']'
+(/usr/bin/pyenv:17): abort(): echo 'pyenv: shell integration not enabled. Run `pyenv init'\'' for instructions.'
pyenv: shell integration not enabled. Run `pyenv init' for instructions.
+(/usr/bin/pyenv:20): abort(): exit 1
Metadata
Metadata
Assignees
Labels
No labels