-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x86_64-linux-gnu-gcc: error: csgraph_mod/shortest_path_mod.c: No such file or directory #1
Comments
can you give me more info? When I tried a fresh install this did not happen. I fixed a couple of other things that prevented an installation, but never had this particular error message. The .c file is generated from the .pyx during setup, hence why we don't ship it. |
turns out that in order to compile cython code you need to have installed cython 🤔 who would have thought... Updated the README in order to reflect this, might look into how to install dependencies automatically in a later release. |
Niko, the idea is to submit the auto generated *.c files to the repository. The setup.py uses cython if it is present - if not it tries to fall back to the *.c files. |
isn't the idea though that the c files are going to reflect the architecture of the OS? Also, cython isn't a monstrous dependency to have. This has been discussed elsewhere. There is no recommended best practice, the best I could find was (as always) this SO comment (where you probably stole the cython setup.py from anyway). I would be grateful for suggestions! |
well the setup.py I |
The following file is missing /csgraph_mod/shortest_path_mod.c
I added it to the folder and I was able to install the package correctly.
The text was updated successfully, but these errors were encountered: