使用eclipsepyd让Cython在windows7中工作

2024-09-30 20:18:22 发布

您现在位置:Python中文网/ 问答频道 /正文

我是个新手,想学赛顿。我的操作系统是windows7,我使用eclipsepydev作为Python开发的IDE。在

我已尝试根据this指南安装和测试Cython:

enter image description here

以下是我的环境变量PATH的内容:

C:\texlive\2012\bin\win32;C:\Users\jjepoh\Jonne's_Programs\CodeBlocks\MinGW\bin;C:\Users\jjepoh\Jonne's_Programs\SSH client;C:\Users\jjepoh\Jonne's_Programs\Python\Scripts;

MinGW安装在代码块下:

enter image description here

我已经使用here中的Windows二进制文件安装了Cython 0.20.1:

enter image description here

我安装了Python 2.7.5:

enter image description here

在这里您可以看到Cython安装在Python下:

enter image description here

我的hello.pyx, test_cython.pysetup.py根据指南:

enter image description here

我觉得这是错误的,但结果是:

enter image description here

你们知道吗,我在这里遗漏了什么?为什么不能导入模块?在

谢谢你的帮助。我想尽可能多的细节来帮助它。我会在被问到时提供更多细节=)


Tags: pybin指南thisideusers细节cython