libreoffice 安装(MAC)
https://www.libreoffice.org/download/download/
下载
添加环境变量
1 | vim ~/.zshrc |
add this
1 | PATH=$PATH:/Applications/LibreOffice.app/Contents/MacOS |
1 | source ~/.zshrc |
使用
1 | soffice --convert-to docx --outdir . *.doc |
libreoffice 安装(MAC)
https://www.libreoffice.org/download/download/
下载
添加环境变量
1 | vim ~/.zshrc |
add this
1 | PATH=$PATH:/Applications/LibreOffice.app/Contents/MacOS |
1 | source ~/.zshrc |
使用
1 | soffice --convert-to docx --outdir . *.doc |
uswgi安装的辛酸路
1 | pip install uswgi |
死活报错
安装了python3.7-dev
也没有用。
用conda
更惨,conda install uswgi
直接说找不到
那源码安装吧,还是报错。
还好源码安装的报错简单了,找到了这个https://github.com/unbit/uwsgi/issues/1770
If you use conda you should probably install uwsgi from conda itself. Or use the same compiler that your conda python has been built with.
牛逼,然后发现conda
安装没这么简单
https://anaconda.org/conda-forge/uwsgi
1 | conda install -c conda-forge uwsgi |
注意在 root 权限下
Github 命令行 clone 加速
分别获得 ip 地址:
追加到 host 文件中
fork 到 gitee 再 clone