-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: 'str' object cannot be interpreted as an integer #56
Comments
same problem |
Do you really use an M1 or M2 Macbook? For me at least the second logical CPU didn't come up as well as the number of GPU Cores:
|
same problem for asitop on python3.8 |
I believe this is the real reason, running asitop.py on intel chip mac will lead to e_core_count variable be '?', and this cause the problem of |
I ran this on an old Intel Mac and got the same error, so perhaps this could be caught or checked for and reported to the user as a warning... |
[1/3] Loading ASITOP
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/bin/asitop", line 8, in
sys.exit(main())
^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/asitop/asitop.py", line 38, in main
e_core_gauges = [VGauge(val=0, color=args.color, border_color=args.color) for _ in range(e_core_count)]
^^^^^^^^^^^^^^^^^^^
TypeError: 'str' object cannot be interpreted as an integer
The text was updated successfully, but these errors were encountered: