python
文章平均质量分 51
fuzhaohui202
这个作者很懒,什么都没留下…
展开
-
python easy_install “Unable to find vcvarsall.bat
用python安装mmseg分词包时发生了 Unable to find vcvarsall.bat 错误 Searching for mmseg Reading http://pypi.python.org/simple/mmseg/ Best match: mmseg 1.3.0 Downloading http://pypi.python.org/packages/source/...原创 2013-11-26 14:16:57 · 103 阅读 · 0 评论 -
python下运行报"SyntaxError: Non-ASCII character '/xe6' "错误解决方法
#无返回值函数hello(相当于过程) def hello(): print 'hello world!' #有返回值函数foo #有返回值函数far,并输出print.其中bar函数中返回元组(元组语法不一定需要带圆括号) def foo(): return ['xyz',10000,-98.6] def bar(): print 'hello world...原创 2013-11-26 16:47:12 · 193 阅读 · 0 评论 -
python mmseg WindowsError: [Error 126]
#!/usr/bin/python # -*- coding: utf-8 -*- """ Function: 【记录】折腾Python中的mmseg中文分词模块 http://www.crifan.com/try_python_mmseg_chinese_segment_on_mmseg_algorithm Author: Crifan Li Version: ...原创 2013-11-26 16:54:50 · 370 阅读 · 0 评论 -
Unable to find vcvarsall.bat
项目在Windows下构建,某个密码哈希加密模块使用了py-bcrypt,可惜的是官方只提供了C语言源代码,没有现成的Windows二进制包,我还翻阅了《Unofficial Windows Binaries for Python Extension Packages》也没找到现成的包,当然这个对于Linux系统不成问题,按部就班的安装就OK啦,可是Windows下遇到了些麻烦,比如error: ...原创 2013-11-26 18:15:05 · 132 阅读 · 0 评论 -
Mac OS X 10.11.5 pip install getting Operation Not Permitted error
The new versions of Mac Os come with high restrictions on what you can do and is called: System Integrity Protection. There is unfortunately not much we can do about that, and anyway the reason for ...原创 2016-09-30 15:06:47 · 131 阅读 · 0 评论