Closed Chuck-iykyk closed 7 months ago
This is just a Prisma query description:
"public"."Agent"."verbose", "public"."Agent"."memory", "public"."Agent"."image", "public"."Agent"."createdAt", "public"."Agent"."updatedAt" FROM "public"."Agent" WHERE "public"."Agent"."id" IN ($1,$2,$3,$4,$5,$6) OFFSET $7
But this is the error:
No module named 'crewai'
The Solution:
Ensure that you installed crewai
in the venv
and check the PYTHON_SITE_PACKAGES
variable in .env
file if you didn't create the venv
in the project folder directly.
Note:
Anyway the easiest way to install the project is to use setup.bat
or setup.sh
files. read the README
for more details.
@Chuck-iykyk Please let me know if the problem is solved.
it looks right.
The name of the folder must be venv
not '.venv' and it must be the project folder directly.
thanks good catch! I fixed the script. Now I get prism errors trying to pull up missions I created previously. I will reinstall.
Yes, I suggest to reinstall it, it will reapply the migrations and I hope it will work fine. Please let me know when you can run the project.
After reinstall runing the bat. I see this in the vscode terminal
The app starts then I see this when clicking on Mission section: Checking postgres I see the crew_ai_visualizer database but no tables.
try to delete the database then reinstall
new build on windows server. I still get the zero length error and no tables in the crew_ai database.
I just ran the *.sql and now the app comes up.
I think, if you ran this command before migrate, it might solve the issue:
call npx prisma generate
Anyway, I am happy, you could solve the issue.
Clicking run I get the error on the page shown. In the terminal Is this: "public"."Agent"."verbose", "public"."Agent"."memory", "public"."Agent"."image", "public"."Agent"."createdAt", "public"."Agent"."updatedAt" FROM "public"."Agent" WHERE "public"."Agent"."id" IN ($1,$2,$3,$4,$5,$6) OFFSET $7 No module named 'crewai'