narrow down the`requires-python`range to includethisversion.For example,">=3.9"should work.returnself.repository.find_candidates(${SITE_PACKAGES}/pdm/resolver/providers.py:196:PackageWarning:Skipping[emailprotected]because it requires Python
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...
邮箱信息 在初始化项目时会把机器上的所有 Python 版本都扫描出来了,会让选择项目的 Python 版本。 ❯ mkdir pdm-demo ❯ cd pdm-demo # 重新执行pdm成功 ❯ pdm init Creating a pyproject.toml for PDM... Please enter the Python interpreter to use ...
[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...
python3 -m venv <env_name> # 使用这个环境 . <env_name>/bin/activate # 关闭这个环境 deactivate 1. 2. 3. 4. 5. 6. 7. 8. virtualenv virtualenv (virtualenv.pypa.io/en/latest/)尝试改进 venv. 它提供的功能更多,速度更快,功能更强大。最重要的命令与 venv 基本一样: ...
[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 配置文件中。
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 ...
Describe the bug pdm 2.20.1 fails when trying to install or creating lock files when optional dependencies contains underscores. Seems to be related to PR #3250 for issue #3247 To reproduce With pyproject.toml: [project] requires-python ...
Using Python interpreter: /Users/allenjol/.local/pipx/venvs/pdm/bin/python (3.10) Is the project a library that will be uploaded to PyPI? [y/N]: N License(SPDX name) [MIT]: Author name [allen_jol]: Author email [471733951@qq.com]: Python requires('*' to allow any) [>=3.10]:...
venv(http://docs.python.org/3/library/v…) 是用于创建虚拟环境的内置 Python 包。最重要的命令如下: # 创建一个新的环境 python3 -m venv <env_name># 使用这个环境 . <env_name>/bin/activate# 关闭这个环境 deactivate virtualenv virtualenv (http://virtualenv.pypa.io/en/latest/)尝试改进 venv. ...