诗无法找到连接器x的安装候选

Jus*_*tel 0 postgresql python-poetry python-polars

我正在使用诗歌版本 1.2.2 和 python 3.11\n我想使用像 pl.read_sql() 这样的极坐标来读取 sql 查询\n但它需要connectorx库。\n我可以使用 pip installconnectorx 但诗歌来安装该库添加connectorx给出了这个错误:

\n
 RuntimeError\n\n  Unable to find installation candidates for connectorx (0.3.1)\n\n  at ~\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\poetry\\installation\\chooser.py:103 in choose_for\n       99\xe2\x94\x82\n      100\xe2\x94\x82             links.append(link)\n      101\xe2\x94\x82\n      102\xe2\x94\x82         if not links:\n    \xe2\x86\x92 103\xe2\x94\x82             raise RuntimeError(f"Unable to find installation candidates for {package}")\n      104\xe2\x94\x82\n      105\xe2\x94\x82         # Get the best link\n      106\xe2\x94\x82         chosen = max(links, key=lambda link: self._sort_key(package, link))\n      107\xe2\x94\x82\n\n
Run Code Online (Sandbox Code Playgroud)\n

尝试清除诗歌缓存\n尝试添加到 pyproject.toml 中

\n

fin*_*mer 6

connectorx既不提供Python 3.11的wheel文件,也不提供可以构建wheel的源发行版。请参阅https://pypi.org/project/connectorx/#files

所以在python 3.11上没办法安装