mkdir python310,这里使用 python3.10 作为示例,然后 cd 到这个目录。 ❯ pdm init Creating a pyproject.toml for PDM... Please enter the Python interpreter to use 0. cpython@3.13 (/usr/bin/python3) 1. cpython@3.13 (/usr/bin/pytho
narrow down the`requires-python`range to includethisversion.For example,">=3.9"should work.returnself.repository.find_candidates(INFO:Use`-q/--quiet`to suppress these warnings,or ignore them per-packagewith`ignore_package_warnings`config
[project] name = "" version = "" description = "" authors = [ {name = "allen_jol", email = "471733951@qq.com"}, ] dependencies = [] requires-python = ">=3.10" license = {text = "MIT"} [tool.pdm] [build-system] requires = ["pdm-pep517>=0.12.0"] build-backend = "pdm...
6. /Library/Frameworks/Python.framework/Versions/Current/bin/python3.10 (3.10) 7. /Library/Developer/CommandLineTools/usr/bin/python3 (3.8) 8. /Users/allenjol/.local/pipx/venvs/pdm/bin/python (3.10) Please select: [0]: 8 Using Python interpreter: /Users/allenjol/.local/pipx/venvs/pdm...
Update to the latest version 2.17.2 and have a pyproject.toml with no requires-python in it. Then run the PDM update. Actual behavior PDM update crashes as a result of this Expected behavior PDM update should not crash, and there should be no limitation on the Python version. It should ...
邮箱信息 在初始化项目时会把机器上的所有 Python 版本都扫描出来了,会让选择项目的 Python 版本。 ❯ mkdir pdm-demo ❯ cd pdm-demo # 重新执行pdm成功 ❯ pdm init Creating a pyproject.toml for PDM... Please enter the Python interpreter to use ...
PDM,即Python Development Master,是一款引领时代的Python包管理工具。它遵循PEP 582标准,通过隔离环境来高效管理项目依赖,从而彻底摆脱了对虚拟环境的依赖。此外,PDM还提供了可重现构建、依赖解析以及锁定文件等众多功能,这些特性使得包管理的效率和可靠性得到了显著提升。【 PDM概述 】PDM是Python包管理工具,遵循...
[y/N]: NLicense(SPDX name) [MIT]:Author name [allen_jol]:Author email [471733951@qq.com]:Python requires('*' to allow any) [>=3.10]:Changes are written to pyproject.toml.# 完成之后,PDM 会将你的选择以 toml 格式写入 pyproject.toml 配置文件中。❯ lltotal 8-rw-r--r-- 1 allen...
58 pyproject.toml❯ cat pyproject.toml[project]name = ""version = ""description = ""authors = [{name = "allen_jol", email = "471733951@qq.com"},]dependencies = []requires-python = ">=3.10"license = {text = "MIT"}[tool.pdm][build-system]requires = ["pdm-pep517>=0.12.0"]...
[y/N]:NLicense(SPDXname)[MIT]:Author name[allen_jol]:Author email[471733951@qq.com]:Pythonrequires('*'to allow any)[>=3.10]:Changes are written to pyproject.toml.# 完成之后,PDM会将你的选择以 toml 格式写入 pyproject.toml 配置文件中。