Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

python setup.py egg_info" failed with error code 1

Arun Soman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 29, 2017

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
Samuel Dorsaz January 30, 2018
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.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2017

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events