hrsgn edited a comment on issue #3600: URL: https://github.com/apache/incubator-heron/issues/3600#issuecomment-670378427
> I believe Heron is compatible with Python 3.6.x at this time. Maybe @Code0x58 or @nicknezis could add a few more details. [zw@centos01 incubator-heron]$ **./bazel_configure.py** Platform Linux Using C compiler : /usr/bin/gcc (4.8.5) Using C++ compiler : /usr/bin/g++ (4.8.5) Using C preprocessor : /usr/bin/cpp (4.8.5) Using C++ preprocessor : /usr/bin/cpp (4.8.5) Using linker : /usr/bin/ld.bfd Using JDK : /usr/local/java/jdk1.8.0_151 Using Automake : /usr/bin/automake (1.13.4) Using Autoconf : /usr/bin/autoconf (2.69) Using Make : /usr/bin/make (3.82) Using Python3 : **/usr/local/python3.8/bin/python3.8 (3.8.0)** Using Libtool : /usr/bin/libtool (2.4.2) Using archiver : /usr/bin/ar Using coverage tool : /usr/bin/gcov Using ant : /usr/local/ant/apache-ant-1.10.8/bin/ant Using dwp : /usr/bin/dwp Using nm : /usr/bin/nm Using objcopy : /usr/bin/objcopy Using objdump : /usr/bin/objdump Using strip : /usr/bin/strip [zw@centos01 incubator-heron]$ **bazel build --config=centos heron/...** WARNING: /home/zw/incubator-heron/heron/healthmgr/tests/java/BUILD:52:13: in srcs attribute of java_library rule //heron/healthmgr/tests/java:healthmgr-tests: please do not import '//heron/healthmgr/src/java:org/apache/heron/healthmgr/HealthManager.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'java_library', the error might have been caused by the macro implementation INFO: Analyzed 612 targets (0 packages loaded, 0 targets configured). INFO: Found 612 targets... **ERROR: /home/zw/incubator-heron/third_party/python/cpplint/BUILD:5:11: PexPython third_party/python/cpplint/cpplint.pex failed (Exit 127)** **/usr/bin/env: python3.8: No such file or directory** INFO: Elapsed time: 2.569s, Critical Path: 0.05s INFO: 0 processes. FAILED: Build did NOT complete successfully [zw@centos01 incubator-heron]$ **echo $PATH** /home/zw/bin:/usr/local/ant/apache-ant-1.10.8/bin:/usr/local/java/jdk1.8.0_151/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:**/usr/local/python3.8/bin**:/home/zw/.local/bin:/home/zw/bin usr/local/python3.6/bin:/home/zw/.local/bin:/home/zw/bin [zw@centos01 bin]$ **cd /usr/local/python3.8/bin && ll** 总用量 16692 lrwxrwxrwx. 1 root root 8 8月 7 10:40 2to3 -> 2to3-3.8 -rwxr-xr-x. 1 root root 111 8月 7 10:40 2to3-3.8 -rwxr-xr-x. 1 root root 251 8月 7 10:40 easy_install-3.8 lrwxrwxrwx. 1 root root 7 8月 7 10:40 idle3 -> idle3.8 -rwxr-xr-x. 1 root root 109 8月 7 10:40 idle3.8 -rwxr-xr-x. 1 root root 233 8月 7 10:40 pip3 -rwxr-xr-x. 1 root root 233 8月 7 10:40 pip3.8 lrwxrwxrwx. 1 root root 8 8月 7 10:40 pydoc3 -> pydoc3.8 -rwxr-xr-x. 1 root root 94 8月 7 10:40 pydoc3.8 lrwxrwxrwx. 1 root root 9 8月 7 10:40 python3 -> python3.8 -rwxr-xr-x. 1 root root 17063216 8月 7 10:39 **python3.8** -rwxr-xr-x. 1 root root 3097 8月 7 10:40 python3.8-config lrwxrwxrwx. 1 root root 16 8月 7 10:40 python3-config -> python3.8-config ---------------------------------------------------------------- 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]
