码迷,mamicode.com
首页 >  
搜索关键字:no module named setuptools    ( 13405个结果
Perl语言学习笔记 11 Perl模块
1、模块来源:随Perl发行版本一起打包、从CPAN下载 2、阅读模块文档:perldoc CGI 3、安装模块 makemaker方式: 指定安装目录: Module::build方式: cpan方式: 4、File::basename模块 5、仅选用模块的部分函数 导入引用列表即可 10、不引入任何函数 通过全名的方式使用: 11、...
分类:其他好文   时间:2014-08-17 15:40:33    阅读次数:209
Tornado初探
Auth: JinDate: 20140816http://www.tornadoweb.cn/documentation1、install#yum -y install python-setuptools# easy_install -U setuptools# easy_install inst...
分类:其他好文   时间:2014-08-16 20:59:51    阅读次数:231
在python中扩展c语言模块
有一个以前写的c语言代码,我想把它用在python程序中。我先是看了《python基础教程》一书中的方法,书中说可以用swig加python内置distutils模块的方法来实现。我照着书上的步骤试了试,结果在导入模块的时候总是提示“ImportError: dynamic module does not define init function (initprintf)”。起初我以为是so文...
分类:编程语言   时间:2014-08-16 16:32:30    阅读次数:304
Visual Studio Tip: Get Public Key Token for a Strong Named Assembly
The first 3 parts are easy to get. I should know the name, version, and culture for the assembly since I am writing it. The part that can be a little ...
分类:其他好文   时间:2014-08-16 12:23:00    阅读次数:226
菜鸟学jQuery源码(一)
整个jQuery是一个自调用的匿名函数: 1 (function(global, factory) { 2 if (typeof module === "object" && typeof module.exports === "object") { 3 module.exp...
分类:Web程序   时间:2014-08-15 23:42:49    阅读次数:300
JNI实现JAVA和C++互相调用
SDK.h 1 #ifndef SDK_H 2 #define SDK_H 3 4 #include "AsyncProxy.h" 5 #include "Module.h" 6 #include 7 #include 8 #include 9 using std::map;10 using...
分类:编程语言   时间:2014-08-15 19:15:09    阅读次数:273
[python]一个低级错误/xxx instance has no attribute 'xxx'/'module' object is not callable
今天在写代码的时候出现了以下两个错误:TypeError: 'module' object is not callableAttributeError: excelChange instance has no attribute 'xlBook'上网一查,发现第一个错误是由于python中有两种不同...
分类:编程语言   时间:2014-08-15 17:37:29    阅读次数:344
关于 pip disreubution setuptools
总是报找不到setuptools模块的错误 很是郁闷安装pip的前提条件是要安装setuptools或distribute。 安装distribute的方法:$ curl http://python-distribute.org/distribute_setup.py | python警告:如果是P...
分类:其他好文   时间:2014-08-15 17:24:59    阅读次数:198
一次ansible故障排除
运行ansbile时候报错:[root@localhostpyhook-2014-06-09-17:47:17-2454]#ansibleTraceback(mostrecentcalllast):File"/usr/bin/ansible",line25,in<module>fromansible.runnerimportRunnerFile"/usr/lib/python2.6/site-packages/ansible/runner/__init__.py",line37,in..
分类:其他好文   时间:2014-08-15 14:53:19    阅读次数:203
python中的下划线及双下划线
一、Python用下划线作为变量前缀和后缀指定特殊变量1. 单下划线开头: _xxx:弱“内部使用”标识,如:”from Module import *”,将不导入所有以下划线开头的对象,包括包、模块、成员2. 双下划线开头: __xxx:模块内的私有成员,外部无法直接调用。 即:私有类型的变...
分类:编程语言   时间:2014-08-15 14:14:38    阅读次数:380
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!