wdhwg001 added the comment: But actually after I created a `python3.bat` into venv/Scripts, the shebang `#! /usr/bin/env python3` still does not take the `python3.bat`.
Then I created a hardlink from `python.exe` to `python3.exe`, the shebang still does not work. I didn't check the code of py.exe, but it just behave like it may not search the PATH of current session correctly. More details were updated on github: https://github.com/pypa/virtualenv/issues/979 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28686> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com