Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work any more
rbowman
bowman at montana.com
Sun Dec 24 21:29:57 EST 2023
On Sun, 24 Dec 2023 22:55:34 +0000, Barry wrote:
>> On 24 Dec 2023, at 00:54, rbowman via Python-list
>> <python-list at python.org> wrote:
>>
>> Does that work with virtualenv or conda? I'm slowly getting up to speed
>> with those.
>
> Conda is its own thing, not need for py.exe.
>
> Once you have created the venv you do not need py.exe as you will have
> pythob.exe in the venv bin folder.
Thanks. That's what I have been doing and have never used py.exe. For
context Esri distributes ArcPy as a scripting language using 3.9. By
default the base install can't be modified so if you want additional
libraries or a tool like Spyder it has to be in a virtual.
More information about the Python-list
mailing list