-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Description
Installed with uv through
uv tool install asitopThen ran through successfully through
uv tool run asitopBut after the first run, I am unable to run it again and get the following error:
me@machine ~ % uv tool run asitop
ASITOP - Performance monitoring CLI tool for Apple Silicon
You can update ASITOP by running `pip install asitop --upgrade`
Get help at `https://github.com/tlkh/asitop`
P.S. You are recommended to run ASITOP with `sudo asitop`
[1/3] Loading ASITOP
[2/3] Starting powermetrics process
Traceback (most recent call last):
File "/Users/r/.local/share/uv/tools/asitop/bin/asitop", line 10, in <module>
sys.exit(main())
~~~~^^
File "/Users/r/.local/share/uv/tools/asitop/lib/python3.13/site-packages/asitop/asitop.py", line 147, in main
powermetrics_process = run_powermetrics_process(timecode,
interval=args.interval * 1000)
File "/Users/r/.local/share/uv/tools/asitop/lib/python3.13/site-packages/asitop/utils.py", line 51, in run_powermetrics_process
os.remove(tmpf)
~~~~~~~~~^^^^^^
PermissionError: [Errno 13] Permission denied: '/tmp/asitop_powermetrics1764540330'
This is likely due to not being able to run as owner (sudo)?
Any solution to this? (I don't want to pip install as I prefer isolation through uv.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels