Does not work with a shared libpython3.so on run-time search path
还没有人认领这个 Issue。
评估
调研方向
首先使用安装程序命令重现共享库故障,并检查报告的 run 和 main 位置(第 552 行和第 919 行)附近的安装程序代码。当 Python 使用通过其运行时搜索路径找到的 shared libpython3.so 时,安装程序能够成功完成,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I'm using the CPython configure flags --enable-shared with an rpath interpolation (LDFLAGS). Linux platform (RHEL 8.3).
The interpreter's stdlib venv works just fine, but poetry installer doesn't like something about that config
$ readelf -d /usr/local/bin/python3.11 | grep rpath
0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib]
$ ldd /usr/local/bin/python3.11 | grep libpython
libpython3.11.so.1.0 => /usr/local/bin/../lib/libpython3.11.so.1.0 (0x00007ffff7632000)
$ curl -sSL https://install.python-poetry.org | /usr/local/bin/python3.11 -
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
/home/wglenn/.local/bin
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.2.2): An error occurred. Removing partial environment.
Poetry installation failed.
See /home/wglenn/git/python/poetry-installer-error-t8owbf6b.log for error logs.
The log:
$ cat /home/wglenn/git/python/poetry-installer-error-t8owbf6b.log
/home/wglenn/.local/share/pypoetry/venv/bin/python3.11: error while loading shared libraries: libpython3.11.so.1.0: cannot open shared object file: No such file or directory
Traceback:
File "<stdin>", line 919, in main
File "<stdin>", line 552, in run
- 主要语言
- Python
- 星标
- 255
- 派生
- 65
- 平均合并
- 2 小时 48 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-poetry/install.python-poetry.org 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
python-poetry/install.python-poetry.org#144 · 8 条评论 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
python-poetry/install.python-poetry.org#177 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
查看 python-poetry/install.python-poetry.org 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 70/100
huggingface/Repo2RLEnv#163 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
难度 2/5 1-3 小时 新手友好度 70/100
NousResearch/hermes-agent#121143 ·