Mac zsh not found jupyter notebook
zsh是一个很好的终端模拟器,在自动补全上面很好用。但是在初次使用的过程中,发现以前在bash里面的配置文件不能移植过来,解决的办法如下:
打开vim ~/.zshrc
加入 source ~/.bash_profile
:wq 保存
source ~/.zshrc
就可以完美的使用zsh了
zsh安装
mac自带zsh
切换zsh很简单 chsh zsh就可以切换过来
zsh配置
oh-my-zsh 帮我们整理了一些常用的 Zsh 扩展功能和主题:https://github.com/robbyrussell/oh-my-zsh
我们无需自己去捣搞 Zsh,直接用 oh-my-zsh 就足够了,如果你想继续深造的话那再去弄。
先安装 git:brew install git
安装 oh-my-zsh(这个过程可能会有点慢,或者需要重试几次):
sh -c “$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)”
后发现不显示主机名和用户名,vim .zshrc
PROMPT=’%{fg[green]fg[green]%}%m@%{fg[green]fg[magenta]%}%(?..%?%1v)%n:%{resetcolorreset_color%}%{resetcolorfg[cyan]%}%~#’
有时候提醒有些文件夹不安全
Insecure completion-dependent directories detected:
lrwxr-xr-x 1 andrew admin 39 10 28 19:16 /usr/local/share/zsh/site-functions/_brew -> ../../../Homebrew/completions/zsh/_brew
lrwxr-xr-x 1 andrew admin 44 10 28 19:16 /usr/local/share/zsh/site-functions/_brew_cask -> ../../../Homebrew/completions/zsh/_brew_cask
lrwxr-xr-x 1 andrew admin 58 10 29 11:27 /usr/local/share/zsh/site-functions/_git -> ../../../Cellar/git/2.23.0_1/share/zsh/site-functions/_git[oh-my-zsh] For safety, we will not load completions from these directories until
[oh-my-zsh] you fix their permissions and ownership and restart zsh.
[oh-my-zsh] See the above list for directories with group or other writability.[oh-my-zsh] To fix your permissions you can do so by disabling
[oh-my-zsh] the write permission of "group" and "others" and making sure that the
[oh-my-zsh] owner of these directories is either root or your current user.
[oh-my-zsh] The following command may help:
[oh-my-zsh] compaudit | xargs chmod g-w,o-w[oh-my-zsh] If the above didn't help or you want to skip the verification of
[oh-my-zsh] insecure directories you can set the variable ZSH_DISABLE_COMPFIX to
[oh-my-zsh] "true" before oh-my-zsh is sourced in your zshrc file.
简单粗暴的方法是在 .zshrc的最前面加入
ZSH_DISABLE_COMPFIX=true
最后激活一下:
source .zshrc
Mac zsh not found jupyter notebook相关推荐
- mac修改jupyter notebook启动时的打开目录
Windows修改jupyter notebook打开后的路径请参考:https://blog.csdn.net/weixin_35757704/article/details/90051869 ma ...
- Mac M1 使用conda安装jupyter notebook
我之前配置时使用的miniconda (1)打开终端 在终端依次输入: (2)conda install jupyter (3)pip install jupyter_contrib_nbextens ...
- Mac 终端打开jupyter notebook,用这句话就对了
windows/mac打开jupyter notebook 命令行直接输入: jupyter notebook mac打开Ipython notebook 命令行直接输入:python3 -m IPy ...
- Mac中安装Miniconda, Pytorch, Jupyter notebook
Step 1 - Miniconda 下载 Miniconda sh 文件,链接如下 https://repo.anaconda.com/miniconda/Miniconda3-latest-Mac ...
- 在Mac上使用pip3安装Jupyter Notebook并简单使用
简介 Jupyter Notebook是基于网页的用于交互计算的应用程序.其可被应用于全过程计算:开发.文档编写.运行代码和展示结果. 简而言之,Jupyter Notebook是以网页的形式打开,可 ...
- MAC jupyter notebook
pip3 install jupyter python3 -m IPython notebook 位置在:/Users/usr/untitled 完成.但是在以后的使用中,不要随便升级依赖库,可能会造 ...
- MAC电脑安装Python3下的Jupyter Notebook
安装好Brew后 安装Python3 在brew下查找python3 $ brew search python3 ==> Formulae boost-python3 python3 ✔ pyt ...
- mac远程linux的ide,Jupyter notebook在mac:linux上的配置和远程访问
IPython 和 Jupyter IPython 通常指的是一个 Python REPL(交互式解释器) shell.提供了远比 Python shell 强大的 shell 环境.IPython ...
- Mac 配置jupyter notebook 扩展 Nbextensions
配置方法 进入jupyter notebook,新建一个python文件 打开Python文件后,在输入框中输入: !pip install -i pip install -i https://pyp ...
最新文章
- linux下发布的执行文件崩溃的问题定位 心得一则
- BZOJ3573:[HNOI2014]米特运输(树形DP)
- 将浮点数限制为两位小数
- AIX下删除LV后的现场保护和数据恢复方案
- angularJS 路由加载js controller 未定义 解决方案
- 微信小程序设置域名、不校验域名
- java蛮力法背包问题_[算法课]五种蛮力法解决01背包问题
- 空调吸气和排气_吸气剂和二传手被认为有害
- vs2005的webbrowser控件如何接收鼠标事件
- c语言bfs程序讲解,面试算法--二叉树DFS/BFS实现(C语言)
- java设计把两个字符串的值交换 而不使用中间变量
- BZOJ 1619: [Usaco2008 Nov]Guarding the Farm 保卫牧场
- java 文件转换成二进制_java实现文件转换成二进制存储与取出
- 【数理统计】数理统计的简单认识
- 十、Robotium测试入门
- 面对台风“烟花”,旅行延误会如何赔付?
- 学习LSL:Locate-Globally-Segment-locally
- java flv转mp3_java调用FFmpeg及mencoder转换视频为FLV并截图
- 文法二义性与语言二义性
- 十个Python图像处理工具,不可不知!