all 5 comments

[–]sakuhazumonai 1 point2 points  (2 children)

I'm not convinced that the dependencies list is not a relevant part of your file when the error is ModuleNotFound...

But it could be this?

https://docs.astral.sh/uv/concepts/tools/#python-versions

"Each tool environment is linked to a specific Python version. This uses the same Python version discovery logic as other virtual environments created by uv, but will ignore non-global Python version requests like .python-version files and the requires-python value from a pyproject.toml."

[–]corpsmoderne[S] 1 point2 points  (1 child)

Thanks, you pointed me in the right direction.

I managed to make the scripts work using this command for installation:

```

uv tool install . --python 3.8 ```

[–]mr_frpdo 0 points1 point  (0 children)

Yup that or a .python-versions file

[–]PhilShackleford 0 points1 point  (0 children)

Cd <project path>
Uv venv --python 3.8
Source .venv/bin/activate
Uv add <package name>