You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
复制pdm安装页面推荐的windows安装命令安装 (Invoke-WebRequest -Uri https://pdm-project.org/install-pdm.py -UseBasicParsing).Content | python -
直接报错 Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
报错信息
An error occurred when executing ['C:\Users\ilala\AppData\Roaming\pdm\venv\Scripts\python.exe', '-m', 'pip', 'install', '-IU', 'pip']:
Collecting pip
Obtaining dependency information for pip from https://files.pythonhosted.org/packages/47/6a/453160888fab7c6a432a6e25f8afe6256d0d9f2cbd25971021da6491d899/pip-23.3.1-py3-none-any.whl.metadata
Downloading pip-23.3.1-py3-none-any.whl.metadata (3.5 kB)
Downloading pip-23.3.1-py3-none-any.whl (2.1 MB)
------------------------ 1.3/2.1 MB 7.0 kB/s eta 0:01:59
重现方式
(Invoke-WebRequest -Uri https://pdm-project.org/install-pdm.py -UseBasicParsing).Content | python -
直接报错
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
我看过python官方文档里的pip和venv的使用文档, 页面在这里 , 其中windows平台下所有命令都是用py, 从来没有用python的.
建议跟python官方及默认安装保持一致, windows下未经特殊处理, 是没有python这个命令的.
The text was updated successfully, but these errors were encountered: