我刚刚创建了一个 rel.it Python 项目,我的pyproject.toml
如下:
[tool.poetry]
name = "python-template"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^3.9"
numpy = "^1.22.2"
replit = "^3.2.4"
Flask = "^2.2.0"
discord = "^2.0"
python-dotenv = "^0.19.0"
dnspython = "^1.16.0"
PyNaCl = "^1.3.0"
async-timeout = "^3.0.1"
requests = "^2.28.0"
discord-webhook = "^0.16.3"
psutil = "^5.9.1"
pytz = "^2022.1"
futures = "<3.0.0"
PyDictionary = "2.0.1"
-dl = "2021.2.10"
speedtest-cli = "^2.1.3"
roblox = "^2.0.0"
aiohttp = "^3.7.4"
[tool.poetry.dev-dependencies]
debugpy = "^1.6.2"
python-lsp-server = {extras = ["yapf", "rope", "pyflakes"], version = "^1.5.0"}
toml = "^0.10.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
我在 Python 3.9.6 上运行。
每当我尝试使用pip install <package>
,我总是得到以下错误:
An error occurred during configuration: option use-feature: invalid choice: 'content-addressable-pool' (choose from '2020-resolver', 'fast-deps', 'in-tree-build')
当我在自己的计算机上运行该项目时,我没有收到任何错误。我也无法在线找到此错误的任何实例。
我不知道出了什么问题-这似乎是一个正常的 Python 安装给我。
本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处
评论列表(80条)