- 博客(10)
- 资源 (2)
- 收藏
- 关注
翻译 table 'XX' is already defined for this MetaData instance
table 'roles_users' is already defined for this MetaData instance,意思是说表XX已经定义。这个在于你想干嘛。第一,如果你想删除旧类并重新生成新的映射类那么在定义类之前尝试运行以下行:db.metadata.clear()原因是第一次通过定义python类声明SQLAlchemy Mapping时,类的定义将保存到元...
2019-04-03 16:53:33 4170
原创 Linux下软件安装依赖问题
Linux下安装软件往往会遇到依赖问题,有未能满足的依赖关系,可以尝试不指明软件包的名字来运行sudo apt --fix-broken install也可以指定一个解决办法。...
2019-02-18 00:02:52 3285 1
转载 如何从Linux命令行截屏
Linux上有着许多不同口味儿的截屏工具,包括桌面环境专用的截屏程序(如: KDE里面的KSnapshot,GNOME里面的gnome-screenshot,Xfce的Screenshooter),或者是通用的截屏程序(如 Shutter)。而Scort("SCReen shOT"的缩写)是最独一无二的截屏工具之一,它是一个命令行截屏工具。虽然它的界面十分简约,但Scrot在功能上和其它专用的
2017-12-14 16:42:26 6085
原创 linux解压、解压缩文件
.zip 格式解压为 unzip xx.zip .tar.gz 格式解压为 tar -zxvf xx.tar.gz.tar.bz2 格式解压为 tar -jxvf xx.tar.bz2linux压缩.zip 压缩zip -l xx.zip xx
2017-12-07 17:27:01 318
原创 多系统引导
http://blog.csdn.net/dark5669/article/details/52551583https://help.ubuntu.com/community/Burg
2017-12-01 22:11:30 379
转载 修改PHP上传文件大小限制的方法
1. 一般的文件上传,除非文件很小.就像一个5M的文件,很可能要超过一分钟才能上传完.但在php中,默认的该页最久执行时间为 30 秒.就是说超过30秒,该脚本就停止执行.这就导致出现 无法打开网页的情况.这时我们可以修改 max_execution_time在php.ini里查找max_execution_time默认是30秒.改为max_execution_time =
2017-11-19 08:18:13 532
原创 ubuntu install google chrome software
ubuntu install google chrome software
2017-11-11 14:40:34 659
原创 80端口占用问题
我们在安装使用phpstudy的过程中经常会遇到80端口被占用的情况,导致phpstudy的Apache服务无法启动(Apache后边显示红色方框,绿色圆点表示启动)。
2017-10-15 15:08:13 1182
debian软件包sources.list
2017-12-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人