Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Can not find the bin files when using python venv on windows #3664

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

NavyD
Copy link
Contributor

@NavyD NavyD commented Dec 18, 2024

Activating python venv on windows uses the venv/bin directory, but it should actually be the venv/Scripts path on windows.

# mise hook-env -s pwsh
# ...
$Env:VIRTUAL_ENV='C:\Users\xxx\.local\share\chezmoi\.venv'
$Env:Path='C:\Users\xxx\.local\share\chezmoi\.venv\bin;...'

# l .\.venv\Scripts\python.exe
Mode  Size Date Modified    Name
-a--- 257k 2024-12-11 11:39 .\.venv\Scripts\python.exe

@jdx jdx merged commit a4ab84f into jdx:main Dec 18, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants