#STALL

ImportError: No module named _curses;Color support is disabled, python-curses is not installed.解决办法

 linux系统默认安装了python2.6,但是发现python2.7importcurses时提示找不到_curses错误。 用pip(python2.7)安装了curses-2048 (sudopipinstall curses-2048) 仍然继续提示 ...

【PHP】Composer使用简介,composer install 和 update 区别

1、composer是php的依赖包管理工具2、符合PSR-0/1/2/3/4规范3、composer安装推荐使用国内镜像4、composerrequire/install/update区别:然而,对于如何『安装他们』,新手可能并不清楚。网上的答案有的说composerinstall,有的说composerupdate...

【laravel54】composer install与composer update的区别

1、基础概念:我们需要明白laravel项目里面有2个配置文件,composer.json和composer.lock文件,前者是下载的依赖包配置文件,后者是锁定的包版本信息。使用之前,需要cd进入项目根目录:执行》》》2、composerinstall:会优先调用下载composer.lock文件里面的类库版本,与线...

HDU 4756 Install Air Conditioning(次小生成树)

题目大意:给你n个点然后让你求出去掉一条边之后所形成的最小生成树。比較基础的次小生成树吧。。。先prime一遍求出最小生成树。在dfs求出次小生成树。ProblemDescription  NJUSTcarriesonthetraditionofHaJunGong.NJUST,whokeepsupt...

Cannot use ImageField because Pillow is not installed

在django的models.py在有例如以下代码。 运行python manage.py runserver后报错:class Article(models.Model):    title = models.Char...

mvn install 时候报GBK编码错误解决办法

在pom.xml里面<properties><!--文件拷贝时的编码--><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding><project.reporting.outputEncod...

再次Pyinstaller犯错之旅

总觉得Pyinstaller这个包挺好用,这不,今天又用上了之前写过一些脚本来优化办公和一些杂事,比如一些刷课之类得小程序,今天是要打包一个GUI程序。程序中用到了pandas、jieba、numpy、tkinter(不要问我为什么用tkinter,因为PtQt5得坑我还没有踩完!)最大得坑:由于要用到excel文件,...

ubuntu18.04 install rar

sudoapt-getupdate#如果好久没有更新资源建议update一次sudoapt-getinstallrar#安装rarsudoapt-getinstallunrar#安装unrarsudoapt-getinstallp7zip-rar#安装p7zip-rarsudoapt-getinstallp7zip*#...
代码星球 代码星球·2020-04-05

make install 时指定安装路径

The makeinstalltargetdirisrepresentationedbyvar: DESTDIR,ifwesetthisvartothelocationwhichwewanttoinstalledto,thenwecanhavethebuildresultinstalledaccro...

poj 3190 Stall Reservations 贪心 + 优先队列

题意:给定N头奶牛,每头牛有固定的时间[a,b]让农夫去挤牛奶,农夫也只能在对应区间对指定奶牛进行挤奶,    求最少要多少个奶牛棚,使得在每个棚内的奶牛的挤奶时间不冲突。 思路:1、第一个想法就是贪心,对每头牛的挤奶时间[a,b]按a和b都从小排序,接着从左边开始找地一头牛,    然后再往右边找能够不冲突...

poj 1328 Radar Installation 贪心

题意:给出岛屿个数n和地雷的范围c,然后再给出n个岛屿的xy坐标,在x轴上放置地雷,求出能覆盖所有岛屿的地雷最小数    否则输出-1 思路:1、一开始,我第一个想法就是对岛屿进行排序,x从小到大,接着在x轴上放置地雷,尽可能靠右边并且能够覆盖左边的岛屿    ,接着筛选右边同时也处于该地雷之内的岛屿,再不断...

Installation of Scylla on CentOS 7

UsethesestepstoinstallScyllausingYumrepositoriesonCentOS.PrerequisitesCentOS7.2orlater,forthe64-bitx86_64architecture.Yumpackagemanagementapplicationinstalled.A...

windows hbase installation

Inthepreviouspost, Ihaveintroducedhowtoinstallhadooponwindowsbasedsystem.Now,Iwillintroducehowtoinstallhbaseonwindows.1.Preparation:beforetheinstallation,l...
代码星球 代码星球·2020-04-05

Install hadoop on windows(non-virtual machine, such cygwin)

DownloadBeforestartingmakesureyouhavethistwosoftwaresHadoop2.7.1Java–Jdk1.7+ExtractdownloadedtarfileConfigurationStep1– Windowspathconfiguratio...

npm全局安装和本地安装和本地开发安装(npm install --g/--save/--save-dev)

详细说明参考:http://www.cnblogs.com/PeunZhang/p/5629329.html我个人理解:1、全局安装(npminstall-g)是为了用命令行,比如在windows下,如果用全局安装gulp时,系统变量上已经能识别gulp命令。之后就是用gulp命令。但这种说法只是片面的,如果本地安装,...
首页上一页...1516171819下一页尾页