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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to find executable at python. Will try to run it anyway.

I wrote a inline python script using the script task in bamboo. The job will be run on windows so the script has "#!python" as the first line so windows knows its a python script since there isn't an interpreter option.

The script task executes fine and runs all the inline script but outputs the error "Unable to find executable at python. Will try to run it anyway."


How do I get rid of the error?

1 answer

1 vote
Foong Atlassian Team Jul 23, 2018

Instead of having only "#!python", set the full path to the python.exe file like the following:

#!C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\python.exe

Definitely an option to get rid of the error. I was hoping to get an answer to why Bamboo can't resolve the python via system variables? This case relies on applications having the same install path.

Like Vineesh likes this
Foong Atlassian Team Jul 24, 2018

According to this documentation, this is how shebang works. Bamboo is just running the command in the machine so the error message is thrown by the machine.

As a test, try saving the commands in a file and run the file manually inside the Windows machine through the Command Prompt.

I have same issue in Mac, added the full python path , '/usr/bin/python' still same issue exists

Like schow-lmi3d likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

986 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you