安装数据库第三方包,报错: Could not find a version that satisfies the requirement MySQLdb (from versions: )No matching distribution found for MySQLdb 将MySQLdb改成pyMySQL就OK啦:sudo pip install pyMySQL
脚本内容如下: #!/bin/bash function delete_file { days=$[$-] for i in `find $dir -type f -ctime +$days` do rm -rf $i done } while read line do dir=`echo $line |awk '{print $1}'` days=`echo $line |awk '{print $2}'` delete_file $dir $days done < file.txt 其中,函
Exception: Traceback (most recent call last): File , in main status = self.run(options, args) File , in run root=options.root_path, File , in install requirement.uninstall(auto_confirm=True) File , in uninstall paths_to_remove.remove(auto_confirm) Fi
Mac显示sudo: pip: command not found mac在安装完pip模块后,使用pip命令会提示sudo: pip: command not found moyanzhudeMacBook-Pro:~ oosmart$ sudo pip install pymysql sudo: pip: command not found command not found,表示系统没有找到该模块,可能是系统没有安装该模块,也可能没有设置环境变量. 安装模块 如果安装该模块,可以跳过该步骤
http://askubuntu.com/questions/130532/sudo-apt-get-install-ubuntu-desktop-error-unable-to-locate-package This may help you!!! Enter the following in terminal sudo su apt-get clean cd /var/lib/apt mv lists lists.old mkdir -p lists/partial apt-get clea
sudo pip install mysql-connector-python 报错信息:Collecting mysql-connector-python Could not find a version that satisfies the requirement mysql-connector-python (from versions: )No matching distribution found for mysql-connector-python 解决方案:wget https:/