Re: [sage-devel] Unable to `load` or `import/cimport` Cython files into Sage while developing

2023-12-26 Thread Jing Guo
I downloaded from here https://github.com/3-manifolds/Sage_macOS/releases I was not and am not building Sage on Mac. To clarify, I’m simply “developing” this algorithm locally, though with the intention of submitting it to Sage source code. Jing 2023年12月27日 +0100 02:44 Dima Pasechnik ,写道: > > >

Re: [sage-devel] Unable to `load` or `import/cimport` Cython files into Sage while developing

2023-12-26 Thread Dima Pasechnik
On 27 December 2023 01:25:30 WET, Jing Guo wrote: >Sorry for the confusion. I used Sage downloaded from the website. it's not clear what you mean. We don't distribute Sage binaries, you need to build them. Please provide more details. > >Gcc was installed with MacPorts. gcc (gcc.gnu.org, not

Re: [sage-devel] Unable to `load` or `import/cimport` Cython files into Sage while developing

2023-12-26 Thread Jing Guo
Sorry for the confusion. I used Sage downloaded from the website. Gcc was installed with MacPorts. Jing 2023年12月27日 +0100 01:54 Dima Pasechnik ,写道: > it seems you have gcc in /opt/local - what is it? > Not very usual. Normally speaking gcc on macOS is Apple's clang. How have you > built (?) Sage

Re: [sage-devel] Unable to `load` or `import/cimport` Cython files into Sage while developing

2023-12-26 Thread Dima Pasechnik
it seems you have gcc in /opt/local - what is it? Not very usual. Normally speaking gcc on macOS is Apple's clang. How have you built (?) Sage? On 26 December 2023 14:52:23 WET, Jing Guo wrote: >Dear all, > >I have implemented an algorithm related to graph homomorphism counting, and >recently

[sage-devel] Unable to `load` or `import/cimport` Cython files into Sage while developing

2023-12-26 Thread Jing Guo
Dear all, I have implemented an algorithm related to graph homomorphism counting, and recently I am thinking about improving its performance, so I think of writing some of the modules/codes in Cython. For instance, I wrote helper functions in `helper_functions.pyx`, which can be imported suces