【ubuntu pipenv error】教程文章相关的互联网学习教程文章

ubuntu14.04 安装PIL库出现OError: decoder jpeg not available 的解决方案【代码】

出现OError: decoder jpeg not available的原因是,没有装JPEG的库,同时要支持png图片的话还要装 ZLIB、FREETYPE2、LITTLECMS的库文件。先说第一种解决方案:完整安装这些库!!!!安装方法:http://cn-popeye.iteye.com/blog/1236691 在这篇博客里作者很详细的说了下载地址和安装方法,我这里只是抄过来。1. install zlib (ubuntu 官方源没有zlib,别想apt-get了) 下载zlib,(zlib.net已墙,可以去SF.net),url:http://so...

ubuntu中编写shell脚本开机自动启动【代码】

编写脚本是为了不用手动去开启各种服务(也是为了偷懒哈哈)1.进入终端输入创建一个后缀为.sh的脚本文件 touch test.sh 编辑脚本 vim test.shtest.sh编写脚本内容?2.编写test.sh脚本 1 #!/bin/bash2 3 ### BEGIN INIT INFO4 # Provides: test5 # Required-Start: $remote_fs $syslog6 # Required-Stop: $remote_fs $syslog7 # Default-Start: 2 3 4 58 # Default-Stop: 0 1 69 # Short-Description: star...

Ubuntu软件更新更换源【代码】【图】

安装ssh服务发现不能,原因是源出问题了第一步点击软件更新第二步点击Orther第三步点击Chain第四步到这一步就好了查看源是否更新成功 vi /etc/apt/sources.listsudo gedit /etc/apt/sources.list 安装ssh 安装ssh-client命令:sudo apt-get install openssh-client安装ssh-server命令:sudo apt-get install openssh-server 测试 ps -e|grep ssh 原文:https://www.cnblogs.com/rzkwz/p/12920538.html

hyper-v安装ubuntu/linuxmint分辨率问题

参考页面:https://blogs.msdn.microsoft.com/virtual_pc_guy/2014/09/19/changing-ubuntu-screen-resolution-in-a-hyper-v-vm/ Open TerminalType: sudo vi /etc/default/grubFind the line starting with GRUB_CMDLINE_LINUX_DEFAULT, and add video=hyperv_fb:[the resolution you want]. The resolution I want is 1280x720. So my line ends up looking like this:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_f...

Ubuntu 12.04 Desktop使用XAMPP【图】

Ubuntu 12.04 Desktop安装XAMPPUbuntu 12.04 Desktop配置XAMPP Ubuntu 12.04 Desktop使用XAMPP1/打开GUI界面的管理工具终端命令:/opt/lampp/manager-linux.run2/查看本机IP地址终端命令:ifconfig3/修改htdocs文件夹的权限php代码都放在/opt/lampp/htdocs文件夹内,而/opt为系统文件夹,如果对htdocs文件夹的文件做修改并且保存,将会因为权限不足而失败。修改权限的终端命令:sudo chmod -R 777 /opt/lampp/htdocs关于chmod命令,...

(转载)Ubuntu 安装GNU Scientific library(GSL)【代码】

由于论文数据处理的需要,需要使用libeemd这个包,需要安装gsl科学库,windows下没有办法,只能转战ubuntu进行科学计算。GSL(GNU Scientific Library)作为三大科学计算库之一,除了涵盖基本的线性代数,微分方程,积分,随机数,组合数,方程求根,多项式求根,排序等,还有模拟退火,快速傅里叶变换,小波,插值,基本样条,最小二乘拟合,特殊函数等当然最希望通过命令来安装GSL科学库。方法一:GSL源码包提供了以下二进制包:gs...

How to install Iperf in Linux-Ubuntu

sudo apt-get install iperfsudo apt-get install build-essentialwget http://downloads.es.net/pub/iperf-3.0.6.tar.gztar zxvf iperf-3.0.6.tar.gz./configuremakemake install clean原文:http://jueatbayarea.blog.51cto.com/6904261/1625883

ubuntu物理机上搭建Kubernetes集群 -- 准备【图】

准备工作1.三台ubuntu主机: 操作系统:ubuntu-16.04.1-server-amd64docker:  1.安装 使用命令 sudo apt-get install dockersudo apt-get install docker#运行docker服务端dockerd2.将当前用户加入docker组,否则每次运行docker都要加上sudo超级权限,比较麻烦 sudo groupadd docker sudo gpasswd -a nwlab docker 查看 用户组信息 vi /etc/group 或者groups nwlabdocker version 查看是否生效#未生效,重启 sudo reboot3.kuber...

Ubuntu install mysql database

简要说下ubuntu Linux下安装MySql数据库一。 安装# apt-get install mysql-server# apt-get install mysql-client二。启动# sudo start mysql查看一下是否建立监听# netstat -tap | grep mysqltcp 0 0 localhost:mysql *:* LISTEN 15910/mysqld三。取消本机唯一访问限制/etc/mysql/my.cnf 文件里,注释调这句 bind-address = 127.0.0.1四 mysql相关命令//进入mysql控制台mysql -uroot -p输入密码即可登陆1. 创建数据库mysql>create...

Ubuntu 10怎样在VMware中按装Vmware tool及如何全屏(转)

首先,在 vmware 菜单栏中选择 虚拟机----vmware tools----安装VMware Tools,在弹出的对话框中选择“安装”。这时,在Ubuntu下会自动加载Linux版的VMware Tools的安装光盘镜像。你会看到虚拟机的桌面上出现了一个名为VMware Tools的光盘图标。双击,其中包括两个扩展名为.rpm和.tar.gz的文件。.rpm文件是给Red Hat准备的,我们只需要.tar.gz的那个。 第二,将扩展名为.tar.gz的文件拷贝到桌面,鼠标右键单击,选择 解压(提取...

Ubuntu 14.04下Gedit编辑器设置为多语言编辑及集成开发环境【图】

Gedit是一个通用的编辑程序,其支持插件及自定义语言设置功能。以Ubuntu 14.04下的Gedit编辑器为例,介绍其定制方法:1 安装插件 sudo apt-get install gedit-plugins2 在gedit中设置插件 略3 设置语言配置文件 进入语言配置文件夹 cd /usr/share/gtksourceview-3.0/language-specs 查看语言配置文件(*.lang) ls 4 添加语言并根据配置文件设置对应源程序的扩展名 查看当前目录下相近语言的配置文件,例如:复制和修改javas...

Ubuntu学习历程1【代码】

1、:查看ubuntu系统的版本信息cat /proc/versionuname -asb_release -a2、修改ip地址cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopbackauto enp0s8 iface enp0s8 inet static address 192.168.56.80 netmask 255.255.255.0systemctl restart networking #重启网络ifconfig enp0s8 192.168.56.80 netmask 255.255.255.0 #马上生效3、ubuntu16 关掉图形界面启动...

puppet 详细使用(2)module模块配置ubuntu local repository【代码】

1).get puppet module to install apt-cacher-ngpuppet module install markhellewell-aptcacherngthen,edit nodes.pp and put the ‘aptcacherng’ class into the repo nodeclass {‘aptcacherng‘:}2).apply to all clientscreate a manifest file including these codes as below on puppet master which will share the configuration on all others machines,then these machines will use the local repository as proxy to...

在ubuntu14.04上安装python3.4.3【代码】【图】

其实,百度了好多资料,但都是垃圾,呵呵,我就不说话了。 为什么要手动用源码安装,而不是用sudo apt-get呢?没办法咯,官方的版本最新只有3.4的,我要3.4.3的。 呐怎么办呢? 好吧,其实我自己也没办法,只能借助文档里面的README,其实只需要看它就好了,很轻楚的4行代码,搞定!!!!./configure make make test sudo make install 然后就是要输命令python3,而不是python,完成! /*‘).addClass(‘pre-numbering‘).hide...

64位ubuntu14.04配置adb后提示没有那个文件或目录

1.配置完adb环境变量后在终端输入adb:ameyume@ameyume-HP-450-Notebook-PC:~$ adb/home/ameyume/adt-bundle-linux-x86_64-20140702/sdk/platform-tools/adb: 没有那个文件或目录原因:由于是64位的linux系统,而Android SDK只有32位的,需要安装一些支持包才能使用。安装:ameyume@ameyume-HP-450-Notebook-PC:~$ sudo apt-get install ia32-libs[sudo] password for ameyume: 正在读取软件包列表... 完成正在分析软件包的依赖关...