linux命令
2018-11-01 本文已影响0人
微澜55
在linux系统下开发时,经常会遇到一些问题,所使用的命令并不常见,本文即为记录自己日常遇到的一些特殊问题及解决方案,类似工具形式,供以后查询备用。
文件处理命令
1.ipynb文件转py文件
jupyter nbconvert --to script *.ipynb
软件安装问题
1.pip安装python第三方库
原始命令:pip install chatterbot
错误信息:
Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\\programdata\\anaconda3\\lib\\site-packages\\dateutil\\__init__.py'
Consider using the `--user` option or check the permissions.
解决方案如下:使用命令“pip install --user chatterbot"即可
2.启动jupyter
python3 -m IPython notebook