Closed SaumyaRR8 closed 2 months ago
Hey @SaumyaRR8,
It seems that your pathway
version is incorrect.
Did you follow the instruction to install all packages using pip install --upgrade -r requirements.txt
?
What you found is actually a bug (so thank you!) and it will be fixed in the next release.
For now please use version 0.8.2
that is specified in the project. Then everything should work.
Yes, all the instructions were followed. First the project was run through docker which itself ran pip install --upgrade -r requirements.txt
.
This version came while installing using a venv and the checking the version number using pip freeze
I tried installing the specified version and this is the error I am getting.
ERROR: Could not find a version that satisfies the requirement pathway==0.8.2 (from versions: 0.dev0, 0, 0.post1, 0.2.0, 0.2.1)
ERROR: No matching distribution found for pathway==0.8.2
Python version = 3.8, system is wsl2 ubuntu 20.04
Few days ago things were working as expected in an another environment which I created using the same steps.
Python version = 3.8, system is wsl2 ubuntu 20.04
We do not support Python 3.8, you need to use at least Python 3.10.
(But this should not be a problem with the docker install, as it uses Python 3.11)
It is the same issue when using conda environment with python 3.12 as the base installation.
@SaumyaRR8, are you using the current version of the https://github.com/pathway-labs/dropbox-ai-chat repo? I believe there were fixes made in it recently to make sure correct versions of the dependencies are used.
It was cloned about 20 hours ago from the above repository.
You may have old images cached. Please remove them (they should be named dropbox-ai-chat-ui
and dropbox-ai-chat-api
if you didn't change the project name) and after the removal run docker compose up
again.
Hey @SaumyaRR8 , you can build with docker-compose build --no-cache
and then run with docker compose up
.
With these dependencies, it should work inside the Docker.
The executor issue with the Parser will be fixed soon with new release.
Hey @berkecanrizai if/when the issue is fixed, let's be sure to mention this in the changelog and ask @SaumyaRR8 to verify.
@SaumyaRR8,
did removing the old docker images help with resolving the issue?
The new Pathway (0.8.5
) was released recently that doesn't contain this bug, so you can try running it locally with the newest pathway version.
The new version of pathway is working fine. Thanks for resolving the issue.
Steps to reproduce
Error in loading documents AttributeError: 'ParseUnstructured' object has no attribute 'executor'
Steps to reproduce:
docker compose up
to reproduce the error.python main.py
.Relevant log output
What did you expect to happen?
The main pipline was expected to start.
Version
0.2.1
Docker Versions (if used)
4.28.0
OS
Linux
On which CPU architecture did you run Pathway?
x86-64