Win 10,
python3.10
I'm new to cython, and I'm trying to use Cython to convert . py files into . c files and make . c files compile and run independently.
The contents of the. py file is:
print("hello")
I used
cython hello.py --embed
to get the .c file.
Then,
gcc hello.c -I C:......\Python\Python310\include -L C:......\Python\Python310\libs\python310.lib -fPIC -DMS_WIN64
to complie, but I got:
In fact, I have looked at several similar problems and tried their solutions,#2670,#3405, which are not valid for me. Maybe I missed something and I don't know the direction to solve it. Can someone remind me?
--
---
You received this message because you are subscribed to the Google Groups "cython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cython-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cython-users/2c7d9e36-d250-4e05-adb9-571ea62752f1n%40googlegroups.com.