Closed kayhayen closed 2 years ago
I had a similar error building on python 3.10.1 on Macos Big Sur and finding this stackoverflow post led me to try
pip install cython
which fixed this issue with building orderedset
on my mac.
my error was:
lib/orderedset/_orderedset.c:17433:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
I still have this issue after installing cython?
This is not maintained anymore, and not going to work, installing cython cannot fix the source code, which uses private API no more available.
For Nuitka I use this:
https://github.com/Nuitka/Nuitka/blob/develop/requirements-devel.txt
# Only for re-export, pylint: disable=unused-import
try:
from orderedset import OrderedSet
except ImportError:
try:
from ordered_set import OrderedSet
except ImportError:
from .OrderedSetFallback import OrderedSet
The last catch is a pure Python implementation, the package names are different, but this abstracts it. If you only care for Python3.7 or higher, from ordered_set import OrderedSet
will be good enough. See the requirements file of Nuitka for the package names there.
Hello,
I am using orderedset for Nuitka (https://nuitka.net/), however building it from Source for Windows fails in this way:
Pardon the German in here, it basically says "unresolved symbol":
This seems no more exported. Do you have any plans to support 3.10?
Thanks in advance, Kay Hayen