Open GioPat opened 11 months ago
I'm also getting this, I suspect it has to do with all the path adding that happens in pyenv.bat, but I'm not great with Powershell/cmd.exe, so have been unable to find where this happens
Are %PYENV%
, %PYENV_ROOT%
and %PYENV_HOME%
are the same value?
Is %PYENV_ROOT%/bin
on %PATH%
?
echo %PYENV%
echo %PYENV_ROOT%
echo %PYENV_HOME%
echo %PATH%
Yes, all of this is set up correctly.
echo $env:PATH -split ";" | grep pyenv
echo $env:PYENV $env:PYENV_ROOT $env:PYENV_HOME
It still eventually finds pyenv, eg I can still use it from the CLI, but it searches in 4 paths that don't exist first.
When I use the Run prompt to run python:
This is the output:
I had the same issue and after hours of searching for an answer, I found that the problem was with the Command Prompt program as suggested by the top answer in this StackOverflow question.
It turns out I have an autorun program for CMD that has an outdated path used by an application (clink in my case).
I corrected it by modifying one of the following registry keys via regedit
.
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
I hope you all had the issue as mine and this can help. 🍻
Describe the bug Despite following the README (Manually check the settings) and disabling the built-in Python launcher via Start > "Manage App Execution Aliases" and turning off the "App Installer" aliases for Python I still face the
The system cannot find the path specified.
.To Reproduce Steps to reproduce the behavior:
Expected behavior No error appearing
Desktop (please complete the following information):