https://issuetracker.google.com/issues/159361839
On Friday, June 19, 2020 at 12:45:58 AM UTC+10, Glenn Kasten wrote: > > Please file a bug here: > > https://source.android.com/setup/contribute/report-bugs > > On Thursday, June 18, 2020 at 7:32:05 AM UTC-7, Ismael Vidal wrote: >> >> I have the same problem on Ubuntu 20.04. :( >> >> On Tuesday, June 2, 2020 at 12:35:10 PM UTC-4, Dean Wheatley wrote: >>> >>> Irrespective of running python version (2.7.18rc1 or 3.8.2) on Ubuntu >>> 20.04, acloud fails as below: >>> >>> $ acloud setup --host >>> >>> Welcome to >>> >>> ___ _______ ____ __ _____ >>> / _ |/ ___/ / / __ \/ / / / _ \ >>> / __ / /__/ /__/ /_/ / /_/ / // / >>> /_/ |_\___/____/\____/\____/____/ >>> >>> >>> Traceback (most recent call last): >>> File "/tmp/Soong.python_ym5s7lig/acloud/public/acloud_main.py", line >>> 440, in <module> >>> EXIT_CODE, EXCEPTION_STACKTRACE = main(sys.argv[1:]) >>> File "/tmp/Soong.python_ym5s7lig/acloud/public/acloud_main.py", line >>> 419, in main >>> setup.Run(args) >>> File "/tmp/Soong.python_ym5s7lig/acloud/setup/setup.py", line 73, in >>> Run >>> subtask.Run(force_setup=args.force) >>> File "/tmp/Soong.python_ym5s7lig/acloud/setup/base_task_runner.py", >>> line 97, in Run >>> if self.ShouldRun() or force_setup: >>> File "/tmp/Soong.python_ym5s7lig/acloud/setup/host_setup_runner.py", >>> line 67, in ShouldRun >>> if not utils.IsSupportedPlatform(): >>> File "/tmp/Soong.python_ym5s7lig/acloud/internal/lib/utils.py", line >>> 1218, in IsSupportedPlatform >>> dist = platform.linux_distribution()[0] >>> >>> >>> >>> Why does acloud seemingly always use the latest python version on the >>> system (3.8.2 in my case) rather than the one set to local python? >>> (platform.linux_distribution API has been removed in Python 3.8) >>> >>> Building and running acloud-dev worked around this issue, but I needed >>> to ensure that python2 was the active version on my system. >>> >>> >>> >>> >>> -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/aa0be586-07f4-4294-b636-af761608c3cao%40googlegroups.com.
