python setup.py egg_info" failed with error code 1

When I try to push I am getting following error

 

 

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "You probably want to also tag the version now:")?
remote:
remote: ----------------------------------------
remote: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-mr9xkzpq/django-log-request-id/
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to enigmatic-gorge-49618.
remote:
To https://git.heroku.com/enigmatic-gorge-49618.git
! [remote rejected] master -> master (pre-receive hook declined)

2 answers

0 votes

You'll need to explain what this has to do with Atlassian applications for us to help you (I'd guess at Bitbucket?)

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "You probably want to also tag the version now:")?

If you are writing a print like in python 2 (without parenthesis) but something checks from a python 3 environment. This is why your push has been rejected.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Off-topic

Friday Fun: Dry T-Shirt Competition - What's your BEST (Atlassian) T-Shirt!?

[Note: So it was my turn for Friday Fun and sadly I was sick thanks to rubbish sinus infection... so apologies to most of Europe and Asia for the delayed post. However, I finally got out of bed for t...

175 views 12 4
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you