AlfredoSequeida / fvid

fvid is a project that aims to encode any file as a video using 1-bit color images to survive compression algorithms for data retrieval.
MIT License
354 stars 43 forks source link

Add Cython Support #17

Closed Theelx closed 4 years ago

AlfredoSequeida commented 4 years ago

So, this is my first time trying a Cython and I figure the package installation would be the same, but when I try to install using pip, this is what I get:

ERROR: More than one .egg-info directory found in /tmp/pip-pip-egg-info-d3jh1vfk

any ideas?

Theelx commented 4 years ago

@AlfredoSequeida I think it means you have some sort of corrupt Cython install from before, or the Cython people messed something up when making the most recent version. Try doing pip install cython==3.0a6, or check out possible solutions here: https://github.com/pypa/pip/issues/8201

I've never had this issue before personally, and I've never heard of anyone having it, so I'm sorta flying in the dark here.

Theelx commented 4 years ago

Added the cythonizer.py script in #21. Once cython is installed, if setup.py doesn't immediately install for you, you can run python3 cythonizer.py build_ext --inplace to install the module.

Theelx commented 4 years ago

Closing in favor of #21