Hello,
I am getting below while running my python script.
ImportError: No module named pythonbuildservice.jenkinsutil
python --version
Python 2.7.14
Hello,
I am getting below while running my python script.
ImportError: No module named pythonbuildservice.jenkinsutil
Python 2.7.14
Hello and welcome here.
I might be me (I am not really a Python scripter), but telling nothing about your script might make it more difficult for others to give any useful comment. Also, please explain why this is a Network/Internet problem.
You need a file named init.py (two underscores on each side) in every folder in the hierarchy. This is what python looks for to know that it should access a particular folder. The files are meant to contain initialization instructions but even if you create them empty this will solve it. To get rid of this error “ImportError: No module named”, you just need to create init.py in the appropriate directory and everything will work fine.