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

gyp_learnuv.py fails for both python2 and python3 on Ubuntu 20.04 #41

Open
Fulguritude opened this issue Jan 26, 2021 · 1 comment
Open

Comments

@Fulguritude
Copy link

$> python2.7 ./gyp_learnuv.py -f make                      
Traceback (most recent call last):
  File "./gyp_learnuv.py", line 93, in <module>
    (major, minor), is_clang = compiler_version()
ValueError: need more than 1 value to unpack
$> python3.8 ./gyp_learnuv.py -f make
  File "./gyp_learnuv.py", line 56
    print 'Error running GYP'
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Error running GYP')?
@Fulguritude
Copy link
Author

It seems the issue stemmed from my clang version returning a version tuple with (10,) so I hardcoded (10,0) for the version.
Additionally, my clang version is actually 11.0.0-2, so why it returned 10, I have no idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant