uv and ruff tool path problem
I have install uv and ruff in macos. The paths are: /opt/homebrew/bin/ruff /Users/bai/.local/bin/uv
But wingware can't find two tools, how to mapping such paths?
I have install uv and ruff in macos. The paths are: /opt/homebrew/bin/ruff /Users/bai/.local/bin/uv
But wingware can't find two tools, how to mapping such paths?
I think you need to add to your PATH environment. You can do this either outside of Wing (so everything has access to those tools) or in Wing. If in Wing, open Project Properties from the Project menu and under the Environment tab for Environment select "Add to inherited environment" and enter the following:
PATH=$(PATH):/opt/homebrew/bin:/Users/bai/.local/bin
BTW, for both of these I think there are some scripts you can run to add them outside of Wing but at the moment I'm not sure of the details. It's just something I remember from installing these myself in the somewhat distant past. I think this was mentioned in the installation instructions for each of the tools.
I have add the uv installed path to the PATH. I am use macos 15.2, use the install processing in the website. curl -LsSf https://astral.sh/uv/install.sh | less
uv path is ~/.local/bin/uv, in my shell and other editor I can use uv. Could you double check the uv problem in macos?
I think that Wing somehow isn't inheriting the env correctly when started from the icon on macOS. It seems to work if you start Wing from the command line with /Applications/Wing Pro.app/Contents/Resources/wing (or similar depending on installation location). You can add & at the end of the command line to get Wing to run in the background.
We have code to work around that behavior in macOS but I'm also seeing issues with this here and we'll try to fix it.
To enter a block of code:
Comments