Its not clear to me exactly what example you are trying to execute.
Can you give the cython code you are trying to compile?

-M. Hampton

On May 11, 10:40 am, eduardo <eocamp...@gmail.com> wrote:
> hi guys,
>
> when i was trying see how does the integrate cython example (in the
> cython tutorial) work, I got the following error :
>
> Traceback (most recent call last):    def integrate(double a, double
> b, int N):
>   File "", line 1, in <module>
>
>   File "/Applications/sage/devel/sagenb/sagenb/misc/support.py", line
> 519, in cython_import_all
>     create_local_c_file=create_local_c_file)
>   File "/Applications/sage/devel/sagenb/sagenb/misc/support.py", line
> 498, in cython_import
>     return __builtin__.__import__(name)>ImportError: 
> dlopen(/Users/eocampo/.sage//temp/ocampo.exp_math.uni_essen.de/11879//spyx//_Users_eocampo__sage_sage_notebook_sagenb_home_admin_1_code_sage2_spyx/_Users_eocampo__sage_sage_notebook_sagenb_home_admin_1_code_sage2_spyx_0.so,
>  2): no suitable image found.  Did find:
>
>         /Users/eocampo/.sage//temp/ocampo.exp_math.uni_essen.de/11879//spyx//
> _Users_eocampo__sage_sage_notebook_sagenb_home_admin_1_code_sage2_spyx/
> _Users_eocampo__sage_sage_notebook_sagenb_home_admin_1_code_sage2_spyx_0.so:
> mach-o, but wrong architecture
>
> __Users_eo..._1_code_sage2_spyx.c   __Users_eo...code_sage2_spyx.html
>
> what should be the problem?
>
> regards
> Eduardo

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to