continue: Error running continue server on RHEL8

Describe the bug When running the server on Red-Hat Linux 8, we get an error:

~/.continue/server/exe/run 
[17568] Error loading Python lib '/tmp/_MEIPV0EOi/libpython3.10.so.1.0': dlopen: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/_MEIPV0EOi/libpython3.10.so.1.0)

Is it possible to install and run the server manually on the platform ? I tried pip install continuedev and running the server, but get the following error:

python3 -m continuedev.src.continuedev.server.main
python3: Error while finding module specification for 'continuedev.src.continuedev.server.main' (ModuleNotFoundError: No module named 'continuedev.src')

Would be great if there can be a way to possibly build and install ther server ‘offline’, so that it can be distributed internally, without needing end-users to have it downloaded on the fly

To Reproduce Steps to reproduce the behavior:

Run continue server on a platform that has an older GLIBC (such as RHEL8)

Environment

  • Operating System: RHEL8

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 28 (15 by maintainers)

Most upvoted comments

Did a bit of work to make this easier.

To run the server with Python: pip install continuedev and then python -m continuedev (with optional --host and --port args)

To build the binary: Run sh build.sh from inside the cloned repo

Thanks for all the help! I will cleanup and test out on my side. Will drop by Discord if more questions arise.

Feel free to close this issue. Hopefully the investigation here helps others in the future

So making the extension work in a remote host would be great.

If that is something that can be contributed, would be happy to make a PR for that, if you can provide some guidance on what changes might be necessary

In our setup, we run everything remotely (similar to GitHub Codespaces), with many users choosing to use the browser solution and not having any local VSCode.

So making the extension work in a remote host would be great.

I did try changing the source and applying host as 0.0.0.0, but that didn’t help.

Thanks, will try it out tomorrow and report back