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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,148
Community Members
 
Community Events
176
Community Groups

Bamboo error - ImportError: no module named pandas

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.

1 answer

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
TAGS

Atlassian Community Events