install

vue安装启动全教程

◇◆丶佛笑我妖孽 提交于 2020-01-16 00:13:36
安装 1.安装node.js(查看是否安装node -v,npm -v) 2.全局安装vue-cli脚手架(npm install --global vue-cli) 3.因为npm比较慢,所以使用cnpm替换npm–>npm install -g cnpm --registry=https://registry.npm.taobao.org 3.vue项目初始化 ---->cnpm install -g webpack ---->vue init webpack myVue 4.进入myVue项目目录(---->cd 路径) 6.下载依赖包–>cnpm install 7.启动服务–>npm run dev 8.下载过依赖包的项目再次启动即文件夹目录中有node_modules文件夹则直接启动项目(第七步) 从git上下载项目在本地运行 1.–>git clone XXXX.git 2.进入下载的项目路径–>cd gitproject 3.下载依赖包–>cnpm install 4.启动项目–>npm run dev 配置环境变量 见https://blog.csdn.net/hk_vvv/article/details/81186320文章 来源: CSDN 作者: 幼儿园的小霸王 链接: https://blog.csdn.net/weixin_43367987

maskrcnn-benchmark安装及常见错误

馋奶兔 提交于 2020-01-15 21:06:27
Mask rcnn环境配置  在安装好Anaconda之后可以配置Mask RCNN了。这里我用的是maskrcnn-benchmark,环境搭建相对简单。 1. 创建虚拟环境: source activate conda create -n MaskRCNN python=3 conda activate MaskRCNN 完成后,可看到如下界面: 2. 安装各种依赖包: conda install ipython pip install ninja yacs cython matplotlib tqdm opencv-python 3. 安装PyTorch    PyTorch官网 ,根据自己的电脑配置选择,会出现对应命令。 conda install pytorch torchvision cudatoolkit=10.0 -c pytorch   这里可以测试一下torchvision是否安装成功。如果没有安装成功,则需要下载源码编译安装(别着急,后面有写)。 :~$ python >>>>import torch >>>>import torchvision    4. 安装目录 export INSTALL_DIR=/data_1/software/pytorch/MaskRCNN  //设置自己的安装目录 cd $INSTALL_DIR    5.

caffe搭建--caffe- win10 vs2015 编译(支持GPU)--注意在cmake的时候需要根据情况仔细修改配置

痞子三分冷 提交于 2020-01-15 19:23:03
--http://blog.csdn.net/longji/article/details/60964998 注意: 在cmake的时候需要根据情况仔细修改配置,比如,如果gpu的能力不足3.0的话,在windows上就不能开启cudnn,应当设置为OFF,否则后面运行的时候将开启cudnn,但是事实上硬件不能支持,倒时候还得回来重新修改配置重新编译。 01 必备环境 win10企业版,有GPU的硬件。 vs2015 update3、cmake 3.7.2。 Git 、python3.5.3、CUDA8.0、cuDNN5.1。 cuda_8.0.61_win10.exe 下载地址: http://developer.download.nvidia.com/compute/cuda/8.0/secure/Prod2/local_installers/cuda_8.0.61_win10.exe?autho=1487739113_9ad462b1e508ab177490b79065da6a6a&file=cuda_8.0.61_win10.exe 安装后有如下环境变量: CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0 CUDA_PATH_V8_0=C:\Program Files\NVIDIA GPU

python3使用pip install mysqlclient失败的解决过程

限于喜欢 提交于 2020-01-15 13:45:19
首先,我的基础解析器是已经是成功通过pip install mysqlclient安装了。 但是今天创建了一个新的Django项目,同时也创建了一个新的虚拟环境,在pip install mysqlclient的时候居然失败了,简单的办法是我也可以选择在创建虚拟环境的时候,直接继承基础解析器,不过这样就把基础解析器已安装的包全部继承了过来,这就不太合适了。 失败的截图如下: 提示: MySQLdb / _mysql . c ( 29 ) : fatal error C1083 : Cannot open include file : 'mysql.h' : No such file or directory error : command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2 我是远程连接MYSQL,本机肯定是不会安装MYSQL的,Microsoft Visual Studio 14.0也已经安装了。上面的路径也正确,这报错我是没搞懂。 通过下载whl安装。 那么就选择下载whl包直接安装吧,下载网站我也贴一下: myselclient的whl包下载地址 但是,悲剧的是还是失败了。报错如下

InstallShield installer error 2006 with GUI installer

[亡魂溺海] 提交于 2020-01-15 12:27:30
问题 I am trying to run an installer built using InstallShield, and when using the installer in Windows 2008, it works as intended; the same installer running in Windows 2012R2, fails with the message Installer User Interface mode Not Supported The installer cannot run in this UI mode. To specify the interface mode, use the I-command-line option, followed by the UI mode identifier. The valid UI modes identifiers are GUI, Console, and Silent. I am running as Administrator, and I tried using the

Magento's extension installation

微笑、不失礼 提交于 2020-01-15 09:13:42
问题 i want to install magento extension but not from the magento connect how can i do this i have the module(extension) code and i allready install the sample data in magento installtion 回答1: From magento wiki: Alternatively, if you do not like to make all files and folders writable to the web service, it is possible to install and upgrade Magento from shell, using command line PEAR instructions, such as: # all commands are to be ran from the root Magento folder. # help on all available PEAR

Magento's extension installation

一曲冷凌霜 提交于 2020-01-15 09:13:28
问题 i want to install magento extension but not from the magento connect how can i do this i have the module(extension) code and i allready install the sample data in magento installtion 回答1: From magento wiki: Alternatively, if you do not like to make all files and folders writable to the web service, it is possible to install and upgrade Magento from shell, using command line PEAR instructions, such as: # all commands are to be ran from the root Magento folder. # help on all available PEAR

Maven补全之生命周期(Lifecycle)

孤者浪人 提交于 2020-01-15 08:38:47
Maven 补全之生命周期( Lifecycle) Maven 生命周期基础概念 Maven是基于生命周期构建的,一个Maven项目的构建是已经被清晰定义的过程。 对于我们使用Maven构建项目来说,POM.xml文件可以确保我们得到自己想要的项目(项目名,包依赖,版本号等等) Maven 有三种内置的构建生命周期: default , clean 和 site default (默认)生命周期会处理项目的部署, clean (清理)生命周期负责项目的清理, site 生命周期生成项目的文档( java documentation ) 每个生命周期都由不同的阶段构成,每一个构建阶段代表生命周期里的一个阶段 以default生命周期为例,它主要包括如下构建阶段(完整的构建阶段见 Lifecycle构建阶段 ) validate :验证要构建的项目是正确的,并且所有需要的资源是存在的(例如pom.xml文件以及各种import的依赖包已经被正确加载等等) compile:编译项目中的java文件成为虚拟机能识别的.class字节码文件(相当于 mvn compile 命令) test:使用合适的单元测试框架来测试编译的源代码是否可以正确运行 package:将编译后的源代码打包(JAR 或者 WAR) verify:验证测试结果确保达到目标 install:将Maven项目(打包完成

Python-day12 总结

一个人想着一个人 提交于 2020-01-15 07:17:02
pip工具 管理第三方包(下载,查看,卸载,安装,搜索) # 安装 pip install 包名 pip install 包名 == 版本号 pip install 包名 >= 版本号 ( 指定安装的最小版本 ) # 卸载 pip uninstall 包 # 查看 pip list # 搜索 pip search 包名 # 更新 pip install - - upgrade 包名 # 查看版本 pip - V 或者 - - version 修改下载源 常见的pip镜像源地址 :   阿里云 https : // mirrors . aliyun . com / pypi / simple /   中国科技大学 https : // pypi . mirrors . ustc . edu . cn / simple /   豆瓣 ( douban ) https : // pypi . douban . com / simple /   清华大学 https : // pypi . tuna . tsinghua . edu . cn / simple /   中国科学技术大学 https : // pypi . mirrors . ustc . edu . cn / simple / windows : 打开C盘 - - - > 用户 ( Users ) - - - >

./configure,make,make install的作用

一笑奈何 提交于 2020-01-15 06:36:59
这些都是典型的使用GNU的AUTOCONF和AUTOMAKE产生的程序的安装步骤。 ./configure是用来检测你的安装平台的目标特征的。比如它会检测你是不是有CC或GCC,并不是需要CC或GCC,它是个shell脚本。 make是用来编译的,它从Makefile中读取指令,然后编译。 make install是用来安装的,它也从Makefile中读取指令,安装到指定的位置。 AUTOMAKE和AUTOCONF是非常有用的用来发布C程序的东西。 ----- 1、configure,这一步一般用来生成 Makefile,为下一步的编译做准备,你可以通过在 configure 后加上参数来对安装进行控制,比如代码:./configure –prefix=/usr 意思是将该软件安装在 /usr 下面,执行文件就会安装在 /usr/bin (而不是默认的 /usr/local/bin),资源文件就会安装在 /usr/share(而不是默认的/usr/local/share)。同时一些软件的配置文件你可以通过指定 –sys-config= 参数进行设定。有一些软件还可以加上 –with、–enable、–without、–disable 等等参数对编译加以控制,你可以通过允许 ./configure –help 察看详细的说明帮助。 2、make,这一步就是编译