Bootstrap

【configparser.NoSectionError: No section: ‘versioneer‘】

configparser.NoSectionError: No section: 'versioneer'

D:\迅雷下载\Theano-1.0.5>python setup.py install Traceback (most recent call last): File "D:\迅雷下载\Theano-1.0.5\setup.py", line 76, in <module> version_data = versioneer.get_versions() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\迅雷下载\Theano-1.0.5\versioneer.py", line 1412, in get_versions cfg = get_config_from_root(root) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\迅雷下载\Theano-1.0.5\versioneer.py", line 346, in get_config_from_root VCS = parser.get("versioneer", "VCS") # mandatory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ProgramData\anaconda3\Lib\configparser.py", line 759, in get d = self._unify_values(section, vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ProgramData\anaconda3\Lib\configparser.py", line 1132, in _unify_values raise NoSectionError(section) from None configparser.NoSectionError: No section: 'versioneer'

 

D:\迅雷下载\Theano-1.0.5>python setup.py install Traceback (most recent call last): File "D:\迅雷下载\Theano-1.0.5\setup.py", line 19, in <module> import versioneer File "D:\迅雷下载\Theano-1.0.5\versioneer.py", line 378 return cfg ^^^^^^^^^^ SyntaxError: 'return' outside function

D:\迅雷下载\Theano-1.0.5>python setup.py install VCS value: svn Traceback (most recent call last): File "D:\迅雷下载\Theano-1.0.5\setup.py", line 76, in <module> version_data = versioneer.get_versions() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\迅雷下载\Theano-1.0.5\versioneer.py", line 1437, in get_versions assert handlers, "unrecognized VCS '%s'" % cfg.VCS ^^^^^^^^ AssertionError: unrecognized VCS 'svn'

自行修改两个文件:我已经上传,自行下载

cd 到文件位置

下载后本地安装:python setup.py install
最终结果:安装成功
Using c:\programdata\anaconda3\lib\site-packages
Finished processing dependencies for Theano==1.0.5
如果还没有成功,请留言

;