I've been looking at using pyenv in the past few days. I've also had a broken 3.6.8 install on my machine for a while now, but using pyenv I managed to install 3.6.9 with little difficulty: pyenv install 3.6.9 PYENV_VERSION=3.6.9 ./gradlew :sdks:python:test-suites:tox:py36:setupVirtualenv
(You can also use "pyenv global 3.6.9" instead setting an environment variable.) On Fri, Nov 22, 2019 at 9:05 AM Tomo Suzuki <[email protected]> wrote: > I resolved my Python3.6 problem by installing Python3.6 from source: > https://issues.apache.org/jira/browse/BEAM-8787#comment-16979785 > > On Mon, Nov 18, 2019 at 1:49 PM Elliotte Rusty Harold <[email protected]> > wrote: > >> and probably related to that: >> >> https://github.com/pyinstaller/pyinstaller/issues/4064 >> >> On Mon, Nov 18, 2019 at 1:47 PM Elliotte Rusty Harold >> <[email protected]> wrote: >> > >> > Probably related: >> > >> > >> > > Task :sdks:python:test-suites:tox:py36:setupVirtualenv FAILED >> > Traceback (most recent call last): >> > File "/usr/lib/python3/dist-packages/virtualenv.py", line 25, in >> <module> >> > import distutils.sysconfig >> > ModuleNotFoundError: No module named 'distutils.sysconfig' >> > Running virtualenv with interpreter /usr/bin/python3.6 >> > >> > On Mon, Nov 18, 2019 at 1:45 PM Elliotte Rusty Harold >> > <[email protected]> wrote: >> > > >> > > My Python tests are now failing like so with a simple .gradlew check >> > > and a clean checkout: >> > > >> > > FAILURE: Build failed with an exception. >> > > >> > > * What went wrong: >> > > Execution failed for task >> ':sdks:python:test-suites:tox:py36:setupVirtualenv'. >> > > > Process 'command 'virtualenv'' finished with non-zero exit value 1 >> > > >> > > Any suggestions? >> > > >> > > The setup instructions on github do not appear to be up to date. See >> > > https://issues.apache.org/jira/browse/BEAM-8735 >> > > It wouldn't be a surprise if there are other missing steps to be >> followed. >> > > >> > > Related, is there a way to run all the Java tests and only the Java >> tests? >> > > >> > > -- >> > > Elliotte Rusty Harold >> > > [email protected] >> > >> > >> > >> > -- >> > Elliotte Rusty Harold >> > [email protected] >> >> >> >> -- >> Elliotte Rusty Harold >> [email protected] >> > > > -- > Regards, > Tomo >
smime.p7s
Description: S/MIME Cryptographic Signature
