hrsgn removed a comment on issue #3600:
URL: 
https://github.com/apache/incubator-heron/issues/3600#issuecomment-671827147


   [zw@centos01 incubator-heron]$ more test1.py 
   ```
   #!/usr/bin/env python3
   # see if the python interpreters resolve, and see what they resolve to
   for label in python3 python3.6; do
       path="$(command -v $label)"
       echo "for $label:"
       echo "    path: $path"
       echo "    path breakdown:"
       namei "$path"
       echo "    version: $($label -V)"
   done
   # this is the file that is generated and executed, lets see the shebang line
   head -n1 ./bazel-bin/third_party/python/cpplint/cpplint.pex
   # try running the binary, just to check it's not the bazel environment that 
is different
   ./bazel-bin/third_party/python/cpplint/cpplint.pex --help | head -n5
   ```
   [zw@centos01 incubator-heron]$ ./test1.py 
    ```
   File "./test1.py", line 3
       for label in python3 python3.6; do
                                  ^
   SyntaxError: invalid syntax
   ```
   
   @Code0x58 


----------------------------------------------------------------
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]


Reply via email to