Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo error - ImportError: no module named pandas

Bharath_Venkat_Rajan July 22, 2019

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 -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.

1 answer

0 votes
stevejonn April 11, 2021

In most cases this error in Python generally raised:

  • You haven't installed Pandas explicitly with pip install pandas.
  • You may have different Python versions on your computer and Pandas is not installed for the particular version you're using.

You can run the following command in your Linux/MacOS/Windows terminal.

pip install pandas

To be sure you are not having multiple Python versions that are confusing, you should run following commands:

python3 -m pip install pandas
python3 -c 'import pandas'

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events