-
Notifications
You must be signed in to change notification settings - Fork 34
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
docker compose up error #5
Comments
If Dockerfile is python3.10
gives the same error |
What version of pathway is actually to be used? |
So building seemed to work for me (there might be some redundancy): I started off with a clean ubuntu 22.04 server system on a i9 with nvidia graphics card (not needed: within proxmox) Install python 3.11: sudo apt install --reinstall pkg-config cmake-data sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev modified Dockerfile to
then follow the readme for installing via the docker version However I still get:
|
Digging further So I looked at curl --data '{"user": "user", "query": "How to connect to Kafka in Pathway?"}' http://localhost:8080/ If I find time I will try to compare code with dropbox-ai-chat and maybe find the issue. |
See bottom (after SOLUTION)of this comment for the solution that worked for me. So I decided to use poetry (as done in https://github.com/pathwaycom/llm-app) (again i might have redundancy here) and build without docker: python3 -m venv pw-env && source pw-env/bin/activate python3 -m venv pw-env && source pw-env/bin/activate python main.py Alas: same error #5 (comment) however I tried first with i removed that line for pyptoject.toml which a.o. told me I had to set python to point to python3.11 so added alias python=python3 python -m venv pw-env && source pw-env/bin/activate python --version however poetry add unstructured still complained So I did Seemed that I had to recompile python (hahah), because it gave no modile _lzma then again poetry run python main.py now I changed in pyproject.toml got an error that SOLUTION
then |
server: |
Ubuntu 20.04.6 LTS
Docker version 25.0.3, build 4debf41
The text was updated successfully, but these errors were encountered: