python 装pysnmp 使用getcmd问题 | python | python 技术论坛-江南app体育官方入口
想用pysnmp 读取本机电脑硬件信息。pysnmp已安装package version
altgraph 0.17.4
attrs 23.2.0
certifi 2024.8.30
cffi 1.16.0
charset-normalizer 3.3.2
clr-loader 0.2.6
colorama 0.4.6
comtypes 1.4.5
contourpy 1.3.0
cycler 0.12.1
et-xmlfile 1.1.0
fonttools 4.54.1
h11 0.14.0
idna 3.10
jinja2 3.1.4
kiwisolver 1.4.7
lxml 5.2.2
markupsafe 2.1.5
matplotlib 3.9.2
mysql-connector-python 9.0.0
numpy 2.0.1
openpyxl 3.1.5
outcome 1.3.0.post0
packaging 24.1
pandas 2.2.2
pefile 2023.2.7
pillow 10.4.0
pip 24.2
pip-autoremove 0.10.0
ply 3.11
psutil 6.0.0
pyasn1 0.6.1
pyaudio 0.2.14
pycparser 2.22
pycryptodomex 3.20.0
pyinstaller 6.9.0
pyinstaller-hooks-contrib 2024.7
pymysql 1.1.1
pyparsing 3.1.4
pypiwin32 223
pyside6 6.7.2
pyside6_addons 6.7.2
pyside6_essentials 6.7.2
pysmi 1.5.0
pysnmp 7.1.4
pysocks 1.7.1
python-dateutil 2.9.0.post0
python-docx 1.1.2
python-dotenv 1.0.1
pythonnet 3.0.3
pyttsx3 2.90
pytz 2024.1
pywin32 306
pywin32-ctypes 0.2.2
requests 2.32.3
selenium 4.22.0
setuptools 70.3.0
shiboken6 6.7.2
six 1.16.0
sniffio 1.3.1
sortedcontainers 2.4.0
speechrecognition 3.10.4
trio 0.26.0
trio-websocket 0.11.1
typing_extensions 4.12.2
tzdata 2024.1
urllib3 2.2.3
webdriver-manager 4.0.1
websocket-client 1.8.0
wsproto 1.2.0
python3.12.4
在导入from pysnmp hiapi import * 后。用getcmd 方法时。提示末定义
我把pysnmp 重装4.4.14 就没这个提示,说明getcmd 方法能用,但它不支持python3.12.4 我换了台电脑,同样是这情况。不知何原因。谢谢!