tysonjh commented on pull request #14467:
URL: https://github.com/apache/beam/pull/14467#issuecomment-816822126
When I ran this locally, it failed with the following error:
```
> Task :sdks:python:setupVirtualenv FAILED
created virtual environment CPython3.8.7.final.0-64 in 334ms
creator
CPython3Posix(dest=/usr/local/google/home/tysonjh/Development/beam/build/gradleenv/1922375555,
clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle,
wheel=bundle, via=copy,
app_data_dir=/usr/local/google/home/tysonjh/.local/share/virtualenv)
added seed packages: pip==21.0.1, pkg_resources==0.0.0,
setuptools==54.1.1, wheel==0.36.2
activators
BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
Traceback (most recent call last):
File
"/usr/local/google/home/tysonjh/Development/beam/build/gradleenv/1922375555/bin/pip",
line 5, in <module>
from pip._internal.cli.main import main
File
"/usr/local/google/home/tysonjh/Development/beam/build/gradleenv/1922375555/lib/python3.8/site-packages/pip/_internal/cli/main.py",
line 8, in <module>
from pip._internal.cli.autocompletion import autocomplete
File
"/usr/local/google/home/tysonjh/Development/beam/build/gradleenv/1922375555/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py",
line 9, in <module>
from pip._internal.cli.main_parser import create_main_parser
File
"/usr/local/google/home/tysonjh/Development/beam/build/gradleenv/1922375555/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py",
line 7, in <module>
from pip._internal.cli import cmdoptions
File
"/usr/local/google/home/tysonjh/Development/beam/build/gradleenv/1922375555/lib/python3.8/site-packages/pip/_internal/cli/cmdoptions.py",
line 20, in <module>
from pip._vendor.packaging.utils import canonicalize_name
File
"/usr/local/google/home/tysonjh/Development/beam/build/gradleenv/1922375555/lib/python3.8/site-packages/pip/_vendor/packaging/utils.py",
line 9, in <module>
from .tags import Tag, parse_tag
File
"/usr/local/google/home/tysonjh/Development/beam/build/gradleenv/1922375555/lib/python3.8/site-packages/pip/_vendor/packaging/tags.py",
line 7, in <module>
import distutils.util
ModuleNotFoundError: No module named 'distutils.util'
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sdks:python:setupVirtualenv'.
> Process 'command 'sh'' finished with non-zero exit value 1
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]