python - 用 Cython 和“下一步”编译
问题描述
每当我在代码中使用“下一步”时,我都会通过 VS 抛出此错误。在哪里或如何使用它似乎并不重要。该代码在 Python 中运行良好。虽然我可以使用“下一个”来写,但我能做些什么来更智能地解决这个问题吗?
error C2065: '__Pyx_PyIter_Next2': undeclared identifier
示例代码(编辑):
rand = None
for i in range(10):
if rand == None:
next
解决方案
从 0.28.5 稳定版更新到最新的 beta (0.29b1) 解决了这个问题。
推荐阅读
- c# - 哪个是 ASP.NET Core 上 CloudTableClient 类的最佳 DI 注册范围
- ios - 如何编辑 UIScrollView 大小?
- mongodb - 将具有访问控制的 GKE mongo 公开到 Internet
- pandas - 熊猫,选择具有列表/系列索引的行
- javascript - 在 javascript 中,从 C# 获取值
- javascript - 粘贴到textarea时,pell js无法删除文本上的原始css样式
- java - 通过 Flux.create / Flux.switchMap 的可变间隔
- google-compute-engine - Google Cloud Composer - 创建环境 - 带有一些计算引擎实例 - 这很昂贵
- java - 当我运行 Mahout 的 k-Means 时,总是显示这个提示
- django - 如何在 Django 中下载 ExcelDownload