Skip to content
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

Install problem on Python 3.11 #41

Open
stalker314314 opened this issue Jul 8, 2023 · 1 comment
Open

Install problem on Python 3.11 #41

stalker314314 opened this issue Jul 8, 2023 · 1 comment

Comments

@stalker314314
Copy link

Hi,
When trying to install 0.0.4 on Debian (12, Bookwork) with Python 3.11, I get something like:

install.log

When cloning project and doing python3 setup.py build, I get:

running build
running build_py
running build_ext
building 'gtfspy.routing.label' extension
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c gtfspy/routing/label.c -o build/temp.linux-x86_64-cpython-311/gtfspy/routing/label.o
cc1: fatal error: gtfspy/routing/label.c: No such file or directory
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

To workaround this, I need to remove routing extension and only then I can build it. Any idea how to "fix" routing extension to be able to tell people to just pip install it (I have tool that depends on gtfspy)

@rmkujala
Copy link
Member

Hi @stalker314314,

Great to see that there is interest towards using the gtfspy-package.

Unfortunately, I have not had the time in the past (years) to maintain/support this package, and I don't have a quick answer to provide you with. @rkdarst or @jweckstr: Do you have any top-of-mind idea on this?

In any case, if you (@stalker314314) can up with a fix that solves the issue, we're happy to receive a PR so that others can benefit from your work as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants