install

pip install dryscrape fails with “error: [Errno 2] No such file or directory: 'src/webkit_server'”?

时光怂恿深爱的人放手 提交于 2020-04-08 01:41:38
问题 I need to install dryscrape for python but I got error, what's the problem? C:\Users\parvij\Anaconda3\Scripts>pip install dryscrape I got this: Collecting dryscrape Collecting webkit-server>=1.0 (from dryscrape) Using cached webkit-server-1.0.tar.gz Collecting xvfbwrapper (from dryscrape) Requirement already satisfied (use --upgrade to upgrade): lxml in c:\users\parvij\anaconda3\lib\site-packages (from dryscrape) Building wheels for collected packages: webkit-server Running setup.py bdist

pip install dryscrape fails with “error: [Errno 2] No such file or directory: 'src/webkit_server'”?

谁说我不能喝 提交于 2020-04-08 01:37:29
问题 I need to install dryscrape for python but I got error, what's the problem? C:\Users\parvij\Anaconda3\Scripts>pip install dryscrape I got this: Collecting dryscrape Collecting webkit-server>=1.0 (from dryscrape) Using cached webkit-server-1.0.tar.gz Collecting xvfbwrapper (from dryscrape) Requirement already satisfied (use --upgrade to upgrade): lxml in c:\users\parvij\anaconda3\lib\site-packages (from dryscrape) Building wheels for collected packages: webkit-server Running setup.py bdist

Ubuntu 14.04 LTS 安装 VNC Viewer

帅比萌擦擦* 提交于 2020-04-07 19:42:04
1.修改镜像源: /etc/apt/sources.list 将"http://archive.ubuntu.com/ubuntu/"替换为: http://cn.archive.ubuntu.com/ubuntu/ http://mirrors.aliyun.com/ubuntu/ http://mirrors.163.com/ubuntu/ http://mirrors.sohu.com/ubuntu/ 2.更新系统 : sudo apt-get update sudo apt-get upgrade -y 3.安装VNC Viewer : sudo apt-get install vnc4server -y 4.启动VNC Viewer服务器端 ,第一次启动需要输入用户密码: vncserver :1 5.使用VNC Viewer连接 。 6.安装Ubuntu的桌面 : sudo apt-get install ubuntu-desktop -y 7.安装gnome : sudo apt-get install gnome-panel -y sudo apt-get install gnome-settings-daemon -y sudo apt-get install metacity -y sudo apt-get install nautilus -y sudo

一个基于 SSH 用于连接远程 Unix/Linux 系统的工具 mosh

无人久伴 提交于 2020-04-07 19:29:27
mosh 1、 什么是mosh Remote terminal application that allows roaming , supports intermittent connectivity , and provides intelligent local echo and line editing of user keystrokes. Mosh is a replacement for SSH. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links. Mosh is free software, available for GNU/Linux, BSD, macOS, Solaris, Android, and Chrome. An iOS version is in testing. Mosh 全名 Mobile Shell ,是 MIT 推出的一个可以替代 SSH 的远程终端程序,适用于 GNU/Linux、FreeBSD、Solaris、Mac OS X 和 Android。它支持间断性连接,允许漫游,提供了本地回显和用户输入的行编辑。高延迟的网络下,Mosh 比 SSH 流畅多了,而且3G网络下,丢失网络变更IP后,终端连接不会中断。

UOS软件安装(一)

为君一笑 提交于 2020-04-07 17:00:22
1.chrome安装 wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo apt-get update sudo apt-get install google-chrome-stable /usr/bin/google-chrome-stable 2.go 安装 (1.)下载go安装包 go安装包 解压到/usr/local/go tar -zxvf xxx.tar.gz -C /usr/local/ (2.)配置环境变量 vim /etc/profile export GOROOT=/usr/local/go #设置为go安装的路径,有些安装包会自动设置默认的goroot export GOPATH=$HOME/gocode #默认安装包的路径 export PATH=$PATH:$GOROOT/bin:$GOPATH/bin source /etc/profile 3.git 安装 (1.)安装 apt-get update -y apt-get upgrade -y apt install git git --version (2.)配置 git config --global user.name "linuxidc" git config -

Ubuntu14.10安装jdk8

我与影子孤独终老i 提交于 2020-04-07 15:28:52
ubuntu 14.10 安装 JDK http://www.cnblogs.com/0616--ataozhijia/p/4122121.html http://jingyan.baidu.com/article/eb9f7b6d8f82a6869364e8a7.html http://persevere.iteye.com/blog/1479524 1、解压文件 sudo mkdir -p /usr/lib/jvm/ sudo tar zxvf jdk-8u31-linux-x64.tar.gz -C /usr/lib/jvm cd /usr/lib/jvm 2、添加环境变量 sudo gedit ~/.bashrc 加入如下内容 export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_31 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH 3、配置默认JDK版本 sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_31/bin/java 300 sudo update

在 Ubuntu 下安装 Discuz! 7.0

霸气de小男生 提交于 2020-04-07 13:58:58
1,安装数据库和Web服务器 $sudo apt-get install apache2 mysql-server php5 php5-mysql php5-gd phpmyadmin 2,安装Zend框架 $sudo apt-get install zend-framework 3,下载Discuz安装包 $cd ~ $mkdir discus $wget http://download2.comsenz.com/Discuz/7.0.0/Discuz_7.0.0_FULL_SC_GBK.zip 4,解压 $sudo apt-get install unzip $unzip Discuz_7.0.0_FULL_SC_GBK.zip 5,在/var/www下新建bbs目录,将前面解压出的upload目录下所有文件复制到 bbs目录中 cp –a upload/* /var/www/bbs/ 6, 给var中的www文件夹777属性, sudo chmod -R 777 /var/www 7,打开浏览器,输入: http://服务器ip地址/bbs/install/index.php 来源: oschina 链接: https://my.oschina.net/u/5189/blog/2570

Scrapy 框架 安装

懵懂的女人 提交于 2020-04-07 13:46:00
Scrapy 框架 Scrapy是用纯Python实现一个为了爬取网站数据、提取结构性数据而编写的应用框架,用途非常广泛。 框架的力量,用户只需要定制开发几个模块就可以轻松的实现一个爬虫,用来抓取网页内容以及各种图片,非常之方便。 Scrapy架构图(绿线是数据流向): Scrapy Engine(引擎): 负责Spider、ItemPipeline、Downloader、Scheduler中间的通讯,信号、数据传递等。 Scheduler(调度器): 它负责接受引擎发送过来的Request请求,并按照一定的方式进行整理排列,入队,当引擎需要时,交还给引擎。 Downloader(下载器):负责下载Scrapy Engine(引擎)发送的所有Requests请求,并将其获取到的Responses交还给Scrapy Engine(引擎),由引擎交给Spider来处理 Spider(爬虫):它负责处理所有Responses,从中分析提取数据,获取Item字段需要的数据,并将需要跟进的URL提交给引擎,再次进入Scheduler(调度器) Item Pipeline(管道):它负责处理Spider中获取到的Item,并进行进行后期处理(详细分析、过滤、存储等)的地方. Downloader Middlewares(下载中间件):你可以当作是一个可以自定义扩展下载功能的组件。 Spider

[linux]centos7下解决yum install mysql-server没有可用包

风格不统一 提交于 2020-04-07 12:30:21
[linux]centos7下解决yum install mysql-server没有可用包 第一步:安装从网上下载文件的wget命令 [root@master ~]# yum -y install wget 第二步:下载mysql的repo源 [root@master ~]# wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm 第三步:安装mysql-community-release-el7-5.noarch.rpm包 [root@master ~]# rpm -ivh mysql-community-release-el7-5.noarch.rpm 第四步:查看下 [root@master ~]# ls -1 /etc/yum.repos.d/mysql-community* /etc/yum.repos.d/mysql-community.repo /etc/yum.repos.d/mysql-community-source.repo 会获得两个mysql的yum repo源:/etc/yum.repos.d/mysql-community.repo,/etc/yum.repos.d/mysql-community-source.repo。 第五步:安装mysql [root@master

安装-homebrew

拜拜、爱过 提交于 2020-04-07 11:55:05
1.安装,进到官网(https://brew.sh/),复制粘贴到终端进行安装 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 2.验证是否安装成功: (base) localhost:~ ligaijiang$ brew Example usage: brew search [TEXT|/REGEX/] brew info [FORMULA...] brew install FORMULA... brew update brew upgrade [FORMULA...] brew uninstall FORMULA... brew list [FORMULA...] Troubleshooting: brew config brew doctor brew install --verbose --debug FORMULA Contributing: brew create [URL [--no-fetch]] brew edit [FORMULA...] Further help: brew commands brew help [COMMAND] man brew https://docs.brew.sh (base)