问题:TherewasaproblemimportingoneofthePythonmodulesrequiredtorunyum.Theerrorleadingtothisproblemwas:NomodulenamedyumPleaseinstallapackagewhichprovidesthismodule,orverifythatthemoduleisinstalledcorrectly.It‘spossiblethattheabovemoduledoesn‘tmatchthecurrentv..
分类:
编程语言 时间:
2014-07-16 16:36:29
阅读次数:
172
python安装模块时:pythonsetup.pyinstall错误:ImportError:Nomodulenamedsetuptools没有setuptools的模块,安装这个模块即可解决此问题:下载setuptools包wgetthttp://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gztarzxvfsetuptools-0.6c11.tar.g..
分类:
编程语言 时间:
2014-07-16 16:26:03
阅读次数:
231
兼容ie8及其以下浏览器,代码如下function addfavorite(){ if (document.all) { window.external.addFavorite("url", "title"); } elseif (window.sidebar) { ...
分类:
Web程序 时间:
2014-07-16 15:06:58
阅读次数:
240
升级python版本后,运行yum
# yum -y install openssl
提示如下:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Pl...
分类:
编程语言 时间:
2014-07-16 14:04:47
阅读次数:
193
1. 设置iis pool: cls Import-Module WebAdministration Get-ChildItem IIS:\apppools | ForEach-Object{ $name = $_.name Write-Host $_.name $pool = Get-Item I...
分类:
其他好文 时间:
2014-07-16 12:26:18
阅读次数:
1084
无书面授权,请勿转载
第五章 自定义模块
Using a module
Now that we have written our very first module for Ansible, we should give it a
go in a playbook. Ansible looks at several places for its modules: first it looks ...
分类:
其他好文 时间:
2014-07-16 09:14:31
阅读次数:
376
数据库表设计
1.1.1. 模块管理(jk_module)
项
类型
说明
id
long
就是数据库记录idx号
name
string
模块名称
orderid
int
排序id 由小到大显示
deleted
...
分类:
编程语言 时间:
2014-07-16 08:48:52
阅读次数:
261
help(__import__)__import__(...) __import__(name, globals={}, locals={}, fromlist=[], level=-1) -> module 导入一个模块。 globals:决定上下文,不修改。 locals:当前未使用。 ...
分类:
编程语言 时间:
2014-07-16 00:48:27
阅读次数:
302