iStats icon indicating copy to clipboard operation
iStats copied to clipboard

Unable to install Istats on my 10.15.7 Cataline

Open ootkarl opened this issue 4 years ago • 10 comments

It's weird that I have looked at many of the previous issues posted, but still unable to install Istats on my 10.15.7 Cataline. My ruby version is uby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19] and when I use sudo gem install iStats, it shows this. 截屏2020-10-05 下午12 01 00

ootkarl avatar Oct 05 '20 19:10 ootkarl

I have also encountered an error similar to this after updating from High Sierra to Catalina. I haven't found a solution yet, but will post it if I figure anything out.

jperry18 avatar Oct 06 '20 20:10 jperry18

same here on mojave

OptimusGREEN avatar Oct 27 '20 15:10 OptimusGREEN

take a look at https://github.com/Chris911/iStats/issues/85#issuecomment-543183478, may help

Liampor avatar Nov 08 '20 23:11 Liampor

take a look at #85 (comment), may help

I tried the steps mentioned in the comment of Liampor but nothing works. Could someone, please, help me to solve the problem? I have the same errors like on the screenshot above

zedaff avatar Dec 08 '20 22:12 zedaff

take a look at #85 (comment), may help

I tried the steps mentioned in the comment of Liampor but nothing works. Could someone, please, help me to solve the problem? I have the same errors like on the screenshot above

Catalina 15.7 here

You can do these to make it work:

First, don't use the gem that Mac provides you, if you use this one, You need 'sudo', and get error.

brew install ruby

Run it to install a gem.

Then add this ruby path and this gem path to your .zshrc files, in my Mac is like this

export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="/usr/local/lib/ruby/gems/3.0.0/bin:$PATH"

It may be different in your Mac ! And The istats will install in /usr/local/lib/ruby/gems/(your gem version)/gems/

Finally, run

source ~/.zshrc
gem install iStats
istats

You can find it works well. image image

AO2233 avatar Jan 07 '21 14:01 AO2233

I am also having similar issue getting iStats to install on a 2019 16" MBP running macOS 10.15.7. using gem.

ghost avatar Feb 09 '21 17:02 ghost

take a look at #85 (comment), may help

I tried the steps mentioned in the comment of Liampor but nothing works. Could someone, please, help me to solve the problem? I have the same errors like on the screenshot above

Catalina 15.7 here

You can do these to make it work:

First, don't use the gem that Mac provides you, if you use this one, You need 'sudo', and get error.

brew install ruby

Run it to install a gem.

Then add this ruby path and this gem path to your .zshrc files, in my Mac is like this

export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="/usr/local/lib/ruby/gems/3.0.0/bin:$PATH"

It may be different in your Mac ! And The istats will install in /usr/local/lib/ruby/gems/(your gem version)/gems/

Finally, run

source ~/.zshrc
gem install iStats
istats

You can find it works well. image image

tried this but it wont work can u pls help with this?

haassttee avatar Oct 05 '21 08:10 haassttee

Screen Shot 2021-10-05 at 4 36 17 PM

I tried! Pls help:(

haassttee avatar Oct 05 '21 08:10 haassttee

Screen Shot 2021-10-05 at 4 36 17 PM

I tried! Pls help:(

It seems that you have solved the problem. (* ̄3 ̄)╭ ( ̄▽ ̄)[][]~( ̄▽ ̄)/ https://github.com/Chris911/iStats/issues/108

国语交流版: 看样子你已经解决了这个问题(* ̄3 ̄)╭ 其实就是gem安装路径有没有权限的锅,换一个自己的gem就行(添加PTAH就是这个目的) (错误的原因应该是,你添加的PATH有问题或者你的那个路径需要root权限访问,但是这个在其他电脑上是不需要的) 不要用系统自带的,路径权限卡的死,且容易出问题 不推荐sudo,因为很容易出现权限问题

AO2233 avatar Oct 07 '21 06:10 AO2233

Screen Shot 2021-10-05 at 4 36 17 PM I tried! Pls help:(

It seems that you have solved the problem. (* ̄3 ̄)╭ ( ̄▽ ̄)[][]~( ̄▽ ̄)/ #108

国语交流版: 看样子你已经解决了这个问题(* ̄3 ̄)╭ 其实就是gem安装路径有没有权限的锅,换一个自己的gem就行(添加PTAH就是这个目的) (错误的原因应该是,你添加的PATH有问题或者你的那个路径需要root权限访问,但是这个在其他电脑上是不需要的) 不要用系统自带的,路径权限卡的死,且容易出问题 不推荐sudo,因为很容易出现权限问题 Screen Shot 2021-10-11 at 9 10 19 PM

I reset my mac and now the widgets aren't showing up XD NVM SORRY ITS OK NOW I DIDNT SEE THE WIDGETS..(color gray!) Thank you tho i combined the link and what you said:D.

haassttee avatar Oct 11 '21 13:10 haassttee