linux(三)——tmux中使用jupyter实现便捷看图及编辑
1)tmux a -t yourtmuxname 起一个终端复用的session2)安装jupyter:pip install jupyter3)命令行运行jupyter notebook4)浏览器登录给的地址常用快捷键:tmux lstmux a -t XXXctrl+b %左右切 “上下切 d退出 x关闭https://blog.csdn.net/ch...
1)tmux a -t yourtmuxname 起一个终端复用的session
2)安装jupyter:pip install jupyter
3)命令行运行jupyter notebook
4)浏览器登录给的地址
常用快捷键:
tmux ls
tmux a -t XXX
ctrl+b %左右切 “上下切 d退出 x关闭
https://blog.csdn.net/chenqiuge1984/article/details/80132042
报错处理:
Tmux报错:can't create socket: Permission denied
1)输入【strace -e trace=file tmux】
输出:
access("/bin/bash", X_OK) = 0
mkdir("/tmp//tmux-1177000684", 0700) = -1 EACCES (Permission denied)
can't create socket: Permission denied
+++ exited with 1 +++
2)删除这个/tmp/tmux-1177000684文件,其中“1177000684”是UID信息,可以输入shell语句“id”进行确认
3)输入【strace -e trace=file tmux】
若无法解决,提权限【sudo strace -e trace=file tmux】之后使用tmux也要提权限 sudo tmux a –t xxx
总结一下:
1.strace -e trace=file tmux #看看是哪个文件夹的锅
2.有这个文件夹:rm –rf /tmp/tmux-UID号
strace -e trace=file tmux
3.没有这个文件夹: sudo strace -e trace=file tmux
注:如果连/tmp文件夹也没有了的话,要 sudo mkdir /tmp
参考网址:
tmux:
https://blog.csdn.net/chenqiuge1984/article/details/80132042
https://www.cnblogs.com/jianzhe/p/7455087.html
https://blog.csdn.net/gxlzyt123456/article/details/65436467
jupyter:
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐


所有评论(0)