Hi guys,
I had python trouble. I want to compare two images using python in Jenkins. When I added "import Image" or "from PIL import Image" in my script, it will show error message "ImportError: No module named Image". But use "import os, time", it was working. Basic environment: 1. use docker official jenkins 2. python 2.7 3. PYTHONPATH is /usr/lib/python2.7/dist-packages/PIL /usr/lib/python2.7/dist-packages/PIL 4. Sys.path is ['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat'] Please help me how to solve it? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/83a816a4-d55d-42ad-8e09-84657d85b4a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
