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

[C++] get_apache_mirror.py doesn't work with Python 3.5 #22058

Closed
asfimport opened this issue Jun 15, 2019 · 1 comment
Closed

[C++] get_apache_mirror.py doesn't work with Python 3.5 #22058

asfimport opened this issue Jun 15, 2019 · 1 comment
Assignees
Milestone

Comments

@asfimport
Copy link


% python3 --version
Python 3.5.3
% python3 cpp/build-support/get_apache_mirror.py 
Traceback (most recent call last):
  File "cpp/build-support/get_apache_mirror.py", line 31, in <module>
    print(json.loads(suggested_mirror)['preferred'])
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

Debian stretch ships Python 3.5 as python3.

Reporter: Kouhei Sutou / @kou
Assignee: Kouhei Sutou / @kou

PRs and other links:

Note: This issue was originally created as ARROW-5619. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Issue resolved by pull request 4583
#4583

@asfimport asfimport added this to the 0.14.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants