自学内容网 自学内容网

研1日记17

ai station

1.  shell窗口下:tmux apt-get install tmux

tmux new -s abc ,创建一个名为abc的窗口,进入窗口。

按下ctrl+b 再按下d 转为后台运行。
tmux使用指南:比screen好用n倍! - 知乎 (zhihu.com)
 

注意:如果类别标签是中文的,需要设置安装字体才能正常显示,一般情况下Windows无需安装,Ubuntu需要安装。如果Windows确实是确实字体,只需要字体文件这里下载.ttf格式的文件,复制到C:\Windows\Fonts即可。Ubuntu系统操作如下。

安装字体
git clone https://github.com/tracyone/program_font && cd program_font && ./install.sh
1
执行下面Python代码
import matplotlib
import shutil
import os

path = matplotlib.matplotlib_fname()
path = path.replace('matplotlibrc', 'fonts/ttf/')
print(path)
shutil.copy('/usr/share/fonts/MyFonts/simhei.ttf', path)
user_dir = os.path.expanduser('~')
shutil.rmtree(f'{user_dir}/.cache/matplotlib', ignore_errors=True)
                        
原文链接:https://blog.csdn.net/qq_33200967/article/details/119830756

.进入已有session
tmux attach -t name

tmux new -s abc


原文地址:https://blog.csdn.net/qq_55033799/article/details/142514903

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!