[ 
https://issues.apache.org/jira/browse/BEAM-9994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17107785#comment-17107785
 ] 

Valentyn Tymofieiev commented on BEAM-9994:
-------------------------------------------

Can you try:
python3.8 -m venv env ?
I am not sure what is going on but possibly the version of ubuntu we have on 
Jenkins is missing some packages for Python 3.8 or virtualenv. The best course 
of action would be to clone a Jenkins VM image, create a VM, experiment to see 
what needs to be fixed.

If the fix is not easy, we may need to implement BEAM-8152 to unblock this.

cc: [~wintermelons] [~yifanzou] [~yoshiki.obata]
  

> Cannot create a virtualenv using Python 3.8 on Jenkins machines
> ---------------------------------------------------------------
>
>                 Key: BEAM-9994
>                 URL: https://issues.apache.org/jira/browse/BEAM-9994
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>            Reporter: Kamil Wasilewski
>            Priority: Blocker
>
> Command: *virtualenv --python /usr/bin/python3.8 env*
> Output:
> {noformat}
> Running virtualenv with interpreter /usr/bin/python3.8
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.5/dist-packages/virtualenv.py", line 22, in 
> <module>
>     import distutils.spawn
> ModuleNotFoundError: No module named 'distutils.spawn'
> {noformat}
> Example test affected: 
> https://builds.apache.org/job/beam_PreCommit_PythonFormatter_Commit/1723/console



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to