【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

如果还没有成功,请留言

相关推荐
Up九五小庞27 分钟前
jenkins从入门到精通-P1—九五小庞
运维·jenkins
ALLSectorSorft36 分钟前
相亲小程序用户注册与登录系统模块搭建
java·大数据·服务器·数据库·python
乐维_lwops41 分钟前
运维端口管理闭环:从暴露面测绘到自动化封禁!
运维·自动化·php
Cyber4K1 小时前
MySQL--组从复制的详解及功能演练
运维·数据库·mysql·云原生
程序员JerrySUN2 小时前
OpenCV 全解读:核心、源码结构与图像/视频渲染能力深度对比
linux·人工智能·驱动开发·opencv·计算机视觉·缓存·音视频
hzsnone2 小时前
公网服务器上Nginx或者Openresty如何屏蔽IP直接扫描
服务器·nginx·openresty
wyjcxyyy2 小时前
打靶日记-RCE-labs(续)
linux·运维·服务器
Ray Song3 小时前
Linux iptables防火墙操作
linux·网络·iptables·防火墙
光军oi3 小时前
Javaweb————Apache Tomcat服务器介绍及Windows,Linux,MAC三种系统搭建Apache Tomcat
服务器·tomcat·apache
is08153 小时前
linux 启动流程?
linux