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

Windows install docs update #2746

Closed
1 task done
wrh-dev opened this issue Mar 30, 2024 · 0 comments · Fixed by j178/pdm#1
Closed
1 task done

Windows install docs update #2746

wrh-dev opened this issue Mar 30, 2024 · 0 comments · Fixed by j178/pdm#1
Labels
🐛 bug Something isn't working

Comments

@wrh-dev
Copy link

wrh-dev commented Mar 30, 2024

Make sure you run commands with -v flag before pasting the output.

Steps to reproduce

Attempted to install in Windows based on the suggested command:

(Invoke-WebRequest -Uri https://pdm-project.org/install-pdm.py -UseBasicParsing).Content | python -

Actual behavior

An array of bytes is printed. pdm is not installed.

Expected behavior

pdm should have been installed.

Workaround

Explicitly encoding the content as a string allowed pdm to be installed.

[System.Text.Encoding]::UTF8.GetString((Invoke-WebRequest -Uri https://pdm-project.org/install-pdm.py).Content) | python -
@wrh-dev wrh-dev added the 🐛 bug Something isn't working label Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant