当前位置: 首页 > 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.xdnf.cn/news/359263.html

相关文章:

  • 制造企业如何选择项目管理软件系统提高项目执行的效率和质量
  • 面试题:请解释Java中的反射机制,并说明其使用场景
  • 2025年科学教育与文化交流国际会议(IACSECE 2025)
  • 【软件设计师:数据】17.数据安全
  • LeetCode 3342.到达最后一个房间的最少时间 II:dijkstra算法(和I一样)
  • 基于OpenCV的人脸识别:EigenFaces算法
  • 变桨系统升级新引擎:CAN转ModbusTCP协议转换技术破解风电数字化困局
  • 在 Spring Boot 中实现动态线程池的全面指南
  • Github 2025-05-09 Java开源项目日报 Top10
  • Error parsing column 10 (YingShou=-99.5 - Double) dapper sqlite
  • 坐席业绩可视化分析工具
  • AbMole:QS-21的作用机理及免疫应用
  • J-Scope的RTT模式
  • 智慧工会服务平台建设方案Word(23页)
  • 智慧农业运维平台养殖—传感器管理监控设计—仙盟创梦IDE
  • AI日报 · 2025年5月09日|OpenAI Deep Research 上线 GitHub Connector Beta
  • 爬虫学习————开始
  • 健康养生:雕琢生命的细腻艺术
  • springboot3 + mybatis-plus3 创建web项目实现表增删改查
  • isaacsim基础基础教程,以及如何添加fixedjoint,在Isaacsim中什么是prim,什么是xform
  • IoT无线组网模块,万物互联的底层通信基石
  • OpenHarmony 以太网卡热插拔事件接口无效
  • 【高级IO】多路转接之单线程Reactor
  • 实验-有限状态机2(数字逻辑)
  • 【数据结构】算法的复杂度
  • Web前端VSCode如何解决打开html页面中文乱码的问题(方法2)
  • UE5.3 C++ 房屋管理系统(一)
  • 《计算机三级(网络技术)备考攻略》
  • ubuntu 24.04 error: cannot uninstall blinker 1.7.0, record file not found. hint
  • Kaggle图像分类竞赛实战总结详细代码解读