'Python-2.7 - ImportError: No module named cStringIO
I am using OpenSuse OS and python2.7 currently one of script is failing with below error. I could not able to trace the problem.
Traceback (most recent call last):
File "/prj/jenkins/jenkins-scripts/job_buildsubmit.py", line 14, in <module>
import gbp.rpm
File "/usr/lib/python2.7/site-packages/gbp/rpm/__init__.py", line 30, in <module>
import gbp.command_wrappers as gbpc
File "/usr/lib/python2.7/site-packages/gbp/command_wrappers.py", line 26, in <module>
import gbp.log as log
File "/usr/lib/python2.7/site-packages/gbp/log.py", line 22, in <module>
import logging
File "/usr/lib64/python2.7/logging/__init__.py", line 26, in <module>
import sys, os, time, cStringIO, traceback, warnings, weakref
ImportError: No module named cStringIO
Please let me the module to install & solve this problem.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|