You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Python project that I run directly from source. Dependencies are stored within a uv-managed .venv in the project directory.
When I attempt to launch it as I normally would with PYTHONPATH=$(pwd) python3 builder/ via my system installation, I get an error:
$ PYTHONPATH=$(pwd) uv run ./builder
error: Failed to spawn: `./builder`
Caused by: Access is denied. (os error 5)
However, if I just add the __main__.py in my command:
$ PYTHONPATH=$(pwd) uv run ./builder/__main__.py
usage: __main__.py [-h] [--clean] {kernel,assets,bundle} ...
A custom builder for the zero kernel.
positional arguments:
{kernel,assets,bundle}
kernel build the kernel
assets collect assets
bundle build the kernel + collect assets
options:
-h, --help show this help message and exit
--clean clean the root directory
..it runs successfully.
Would this be an intended behaviour or is this a bug?
The text was updated successfully, but these errors were encountered:
I have a Python project that I run directly from source. Dependencies are stored within a uv-managed .venv in the project directory.
When I attempt to launch it as I normally would with
PYTHONPATH=$(pwd) python3 builder/
via my system installation, I get an error:However, if I just add the
__main__.py
in my command:..it runs successfully.
Would this be an intended behaviour or is this a bug?
The text was updated successfully, but these errors were encountered: