python - jenkins python模块导入错误
问题描述
我已经在 VM 中安装了 jenkins 模块,但仍然无法导入模块并使用。
linux2 上的 Python 2.7.5(默认,2014 年 6 月 17 日,18:11:42)[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] 键入“帮助”、“版权”、“信用”或“许可证” “ 了解更多信息。
import jenkins
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/jenkins.py", line 9, in <module>
lookup3 = cdll.LoadLibrary(os.path.join(get_python_lib(), "lookup3.so"))
File "/usr/lib64/python2.7/ctypes/__init__.py", line 438, in LoadLibrary
return self._dlltype(name)
File "/usr/lib64/python2.7/ctypes/__init__.py", line 360, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/python2.7/site-packages/lookup3.so: cannot open shared object file: No such file or directory
解决方案
推荐阅读
- php - Apache2 PHP - 如何延长会话超时
- visual-c++ - 尝试将 cout 分配给 ostream 变量时出现链接错误
- jxls - 在 Jxls 中使用每个单元格时避免插入单元格
- python - 如何更改预训练模型中的输入
- python - 基于多个变量创建统计上正确的排名
- log4j2 - JSONLayout 没有与元素 KeyValuePair 匹配的参数
- java - 当 Cardview 移出屏幕时,Recyclerview 不起作用
- r - 调整 facet_grid() 中各个方面的 x 和 y 比例以适合 geom_text_repel() 标签?
- javascript - 如何在cornerstoneJs上实现ArrowAnnotate工具
- devexpress - 为什么在网格控件 devexpress 中找不到单元格鼠标单击事件?