执行python文件的时候报如下错误: env: python3\r: No such file or directory 查看文件首行: #!/usr/bin/env python3 # -*- coding: utf-8 -*- 在命令行单独执行无任何报错 /usr/bin/env python3 Python 3.10.6 (main, Aug 11 2022, 13:49:25) [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> exit() 遂祭出祖师爷谷歌大神,搜到原文如下: what could cause a script to fail to find python when it […]
1. IP子网计算 2. RHEL自动配置IP地址 3. 并行终端 4. GPFS配置及布署 未完待续
Usage Required RHEL 7.9 Python >= 3.6.8 paramiko-2.11.0 bcrypt-3.2.2 cryptography-36.0.2 PyNaCl-1.5.0 six-1.16.0 cffi-1.15.1 pycparser-2.21 pip-21.3.1 wheel-0.37.1 setuptools_rust-1.1.2 semantic_version-2.10.0 typing_extensions-4.1.1 setuptools-59.6.0 cryptography-36.0.2 Install Required Packages # yum install -y python3 python3-pip# python3 -m pip install upgrade pip# python3 -m pip install cryptography==36.0.2# python3 -m pip install paramiko MultiTerm(hosts: tuple, debug=False): __init__() Create a multiple terminal interface. […]