Jenkins fails to install Django 2.0+

I am new to Docker & Jenkins. I want to build a CI/CD using docker & Jenkins.

The issue that I have is, I cannot get Jenkins to install Django == 2.0.8.

The cause of this issue is, Jenkins uses python2.7. I install python 3.5 on Jenkins, and set the PYTHONPATH = “/usr/bin/python3/lib”, PYTHON=”/usr/bin/python3/bin”. But this doesn’t work.

I also tried online solutions, such as install ShiningPanda and it failed too.

Anyone could shed me some lights? I have been struggle with it for 3 hours. It shouldn’t be this difficult right.

Source: StackOverflow