aio-libs / frozenlist

`FrozenList` is a `list`-like structure that implements `collections.abc.MutableSequence` and can be made immutable.

Home Page:https://frozenlist.aio-libs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling frozenlist error: 'frozenlist/_frozenlist.c': No such file or directory

mniesen opened this issue · comments

I tried to compile the frozenlist python package and it gave me this error.
c1: fatal error C1083: Cannot open source file: 'frozenlist/_frozenlist.c': No such file or directory
I don't see a file named _frozenlist.c in the frozenlist folder.

I got this error when using the command py setup.py build
I am using Windows 10 with Microsoft C++ Build Tools

You are missing the cython build dependency, which generates the frozenlist/_frozenlist.c file from the .pyx file. It's easiest using make:

make cythonize
pip install .