[python-HTMLTestRunner]生成HTMLTestRunner报告报错:ERROR 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128) 需要在HTMLTestRunner开头转化utf-8的代码import sysreload(sys)sys.setdefaultencoding('utf8') 问题解决
Linux下Tomcat项目启动报错 org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.bw.yun.service.impl.UserServiceImpl] for bean with name 'userServiceImpl' defined in file [/home/bigdata/apache-tomcat-7.0.53/webapps/yun/WEB-
Mac 下使用brew install 报错: localhost:infer-osx-v0.6.0 admin$ sudo brew install opam Error: Cowardly refusing to `sudo brew install' You can use brew with sudo, but only if the brew executable is owned by root. However, this is both not recommended and c
1.mac下python环境pip报错: issuserdeMacBook-Pro:~ issuser$ pip install pyinstallerCollecting pyinstaller Could not fetch URL https://pypi.python.org/simple/pyinstaller/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSIO
pyinstaller将py打包为exe文件,用pysintaller居然报错 File "c:\anaconda3\lib\site-packages\PyInstaller\depend\utils.py", line 226, in __scan_code_instruction_for_ctypes name = co.co_names[oparg] IndexError: tuple index out of range 1 2 3 搜索了一番,用群众神奇的方式 找到D:\p
window7 64位下安装第三方包,,比如安装yaml的exe执行文件,会 报错及解决:python version 2.7(3.4) required,which was not found in the registry 方法:新建一个register.py 文件,把一下代码贴进去,保存 # # script to register Python 2.0 or later for use with win32all # and other extensions that require P