Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WMAP likelihood install with Python 3 #290

Open
westinhuang opened this issue Aug 31, 2022 · 0 comments
Open

WMAP likelihood install with Python 3 #290

westinhuang opened this issue Aug 31, 2022 · 0 comments
Labels
python3_bug Something isn't working with the migration to python3

Comments

@westinhuang
Copy link

In wrapper_wmap_v4p1/wscript and some files in waf_tools

except Exception,e:                    
         
SyntaxError: invalid syntax

Above is accepted by Python 2. In Python 3, we should use

except Exception as e:

Also, we should add bracket after print under Python 3 environment.

@brinckmann brinckmann added the python3_bug Something isn't working with the migration to python3 label Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python3_bug Something isn't working with the migration to python3
Projects
None yet
Development

No branches or pull requests

2 participants