Bamboo error - ImportError: no module named pandas
It sounds like you are running this Bamboo plan using the Agent Host and not a Docker Container.  As such you will need to:

Remote/Log into the Bamboo server
Use pip or some other package tool to install requests, itertools, and any other missing imports

Alternatively, you could set-up an isolated Docker image that has all these dependencies and build within that.
I have created a Bamboo task which runs the python code from a BitBucket Repo. 
Bamboo config:
I am running the script as a file. 
I have selected interpreter as Shell and given this in the Script Body to execute the script python create_issue.py -c conf.yml
After I click on 'Run Plan', the build fails with ImportError: No module named pandas. The rest of the libraries are working fine, like, requests, itertools, etc.