当前位置: 首页 > 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 安装使用说明 - 萧韶九成 - 博客园 

 

http://www.dtcms.com/a/181634.html

相关文章:

  • 解锁健康养生新境界
  • 范式之殇-关系代数与参照完整性在 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排程软件如何实现资源最优配置?
  • 期货跟单软件如何对实盘进行风控?
  • awesome-digital-human本地部署及配置:打造高情绪价值互动指南
  • Shell 脚本编程详细指南:第五章 - 函数与参数传递
  • 边缘大型语言模型综述:设计、执行和应用
  • 麒麟系统使用-个性化设置
  • Arthas工具使用
  • 7:点云处理—眼在手外标定
  • 机器视觉的平板电脑屏幕组件覆膜应用
  • FPGA 41 ,ICMP 协议详细解析之构建网络诊断系统( ICMP 协议与 IP 协议理论详细解析 )
  • Python爬虫抓取Bilibili弹幕并生成词云
  • 全息美AISEO与AIGEO优选榜