当前位置: 首页 > news >正文

redhat9 安装pywinrm

看了很多文档,都是有很多限制,还是老老实实用pip 安装:

Step1: 安装pip:

[root@ip-abc ~]# python get-pip.py

Collecting pip

  Downloading pip-25.1.1-py3-none-any.whl.metadata (3.6 kB)

Collecting wheel

  Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)

Downloading pip-25.1.1-py3-none-any.whl (1.8 MB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 359.6 kB/s eta 0:00:00

Downloading wheel-0.45.1-py3-none-any.whl (72 kB)

Installing collected packages: wheel, pip

  WARNING: The script wheel is installed in '/usr/local/bin' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

   ━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━ 1/2 [pip]  WARNING: The scripts pip, pip3 and pip3.9 are installed in '/usr/local/bin' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Successfully installed pip-25.1.1 wheel-0.45.1

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

[root@ip-abc ~]#

Step2: 安装pywinrm:

[root@ip-10-193-74-5 ~]# /usr/local/bin/pip install pywinrm

Successfully installed pyspnego-0.11.2 pywinrm-0.5.0 requests-ntlm-1.3.0 xmltodict-0.14.2

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

参考文献:

Linux - pip 安装使用说明 - 萧韶九成 - 博客园 

 

相关文章:

  • 解锁健康养生新境界
  • 范式之殇-关系代数与参照完整性在 Web 后台的落寞
  • vLLM部署Qwen2-7B模型推理
  • 基于SSM + JSP 的个人通讯录管理系统
  • 深度学习-161-Dify工具之对比使用工作流和聊天流生成图表可视化的html文件
  • RT-Thread 深入系列 Part 2:RT-Thread 内核核心机制深度剖析
  • eNSP中路由器RIP协议配置完整实验实验和命令解释
  • AI赋能智能客服革新:R²AIN SUITE 如何破解医疗行业服务难题?
  • 【250GB空间不够用】
  • isp流程介绍(yuv格式阶段)
  • Linux系统Shell脚本之sed
  • C语言| 数组名作为函数参数
  • 用 Java 实现 哲学家就餐问题
  • LeetCode百题刷002摩尔投票法
  • 卡洛诗的“破”与“立”
  • 【el-admin】el-admin快速上手,新增图书管理模块
  • ZYNQ笔记(十九):VDMA VGA 输出分辨率可调
  • linux中的日志分割
  • 安达发|人力、机器、物料——APS排程软件如何实现资源最优配置?
  • 期货跟单软件如何对实盘进行风控?
  • 春秋航空:如果供应链持续改善、油价回落到合理水平,公司补充运力的需求将会增长
  • 湖南省职业病防治院通报3岁女童确诊“铊中毒”:去年病例,编辑误写为“近日”
  • 850亿元!2025年中央金融机构注资特别国债(一期)拟第一次续发行
  • 习近平出席俄罗斯纪念苏联伟大卫国战争胜利80周年庆典
  • 泽连斯基称与特朗普通话讨论停火事宜
  • 比尔·盖茨:未来20年通过盖茨基金会捐出几乎全部财富,2045年底基金会停止运营