【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

如果还没有成功,请留言

相关推荐
何中应30 分钟前
vmware的linux虚拟机如何设置以命令行方式启动
linux·运维·服务器
野犬寒鸦33 分钟前
从零起步学习并发编程 || 第一章:初步认识进程与线程
java·服务器·后端·学习
江畔何人初39 分钟前
kubernet与docker的关系
linux·运维·云原生
bubuly1 小时前
软件开发全流程注意事项:从需求到运维的全方位指南
大数据·运维·数据库
百炼成神 LV@菜哥1 小时前
Kylin Linux V10 aarch64 安装启动 TigerVNC-Server
linux·服务器·kylin
m0_737302581 小时前
百度智能云边缘云服务器,端云协同赋能全域智能场景
服务器
Anastasiozzzz1 小时前
LeetCode Hot100 295. 数据流的中位数 MedianFinder
java·服务器·前端
佑白雪乐2 小时前
<Linux基础11集>电流+二极管+晶体管+存储器
linux
嵌入式郑工2 小时前
RK3566 LubanCat 开发板 USB Gadget 配置完整复盘
linux·驱动开发·ubuntu
Exquisite.2 小时前
Nginx
服务器·前端·nginx