Welcome To openEuler Community
Hey @mywaaagh_admin , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.
Contact Guide
If you have any questions, please contact the SIG: sig-EasyLife ,
and any of the maintainers: @Apricity_HW, @chenyanpan, @licihua, @liheavy, @shinwell_hu, @solarhu ,
and any of the committers: @shinwell_hu .


经分析 错误根因如下:
当前运行环境上配置了 SOCKS 代理,但是缺少 SOCKS 依赖包 socksio
oed_cli 在创建 httpx.Client() 的时候,httpx 自动读取了系统代理环境变量,httpx 尝试启用 SOCKS 代理,然后检查 socksio 包,找不到就抛这个 ImportError。
经评估:该问题非oed的本身依赖缺失,是运行环境配置了socks代理变量,但是缺少socksio
考虑到CLI不应主动安装socksio,因此我们修复了这个import error,转而提示用户安装socksio。


参考Python 包设计惯例,已将 socksio移动到optional-dependencies中,必要用户可以执行pip install oed-cli[socks]进行可选安装


【缺陷描述】:请补充详细的缺陷问题现象描述
执行
➜ oed services时报错一、缺陷信息
【缺陷所属的os版本】
debian 13
【内核版本】
【缺陷所属软件及版本号】
0.1.6
【环境信息】
【问题复现步骤】
【实际结果】
【期望结果】
【其他相关附件信息】
【缺陷详情及分析指导参考链接】