
macOS
Cingingit
这个作者很懒,什么都没留下…
展开
-
Mac /usr/bin目录出现 operation not permmitted/Read-only file system问题
问题发现:想将python下的scrapy链接到/usr/bin下面,出现operation not permmitted的问题重新启动长按 command+R 进入恢复模式在恢复模式下打开终端,输入:csrutil disable从而关闭Rootless机制,然后继续重新启动ln -s /Library/Frameworks/Python.framework/Versions/3.6/bin/scrapy /usr/binln: /usr/bin/scrapy: Read-only fi原创 2021-04-21 15:01:53 · 4769 阅读 · 3 评论 -
从 zsh: command not found: conda 开始的故事
有一天,我的conda突然无用了,它突然说:zsh: command not found: conda我想了想,可能是前段时间用iterm2装了zsh的原因先编辑 .zshrcveronica@localhost ~ % vim ~/.zshrc在.zshrc加上export PATH="/Users/[user_name]/anaconda3/bin:$PATH"接下来,source一下,测试一下没问题了veronica@localhost ~ % source ~/.zshrcve原创 2021-03-17 23:23:01 · 239 阅读 · 0 评论 -
最新homebrew安装方法(四小时踩坑成果)
最新homebrew安装方法(四小时踩坑成果)在查找过程中发现,好多博客里的安装命令都是/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"结果点开https://raw.githubusercontent.com/Homebrew/install/master/install 发现内容为:Warning: The Ruby Homebrew inst原创 2020-05-16 00:52:58 · 5650 阅读 · 3 评论