Error: spawn prisma-client-py ENOENT

I've been using prisma in node.js & I'm loving it. Right now I have a Fastapi backend that I want to use Prisma with, yet I'm facing this issue whenever I run "prisma db push" : {prisma db push Environment variables loaded from .env Prisma schema loaded from schema.prisma Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-0-us-west-1.pooler.supabase.com" The database is already in sync with the Prisma schema. Running generate... (Use --skip-generate to skip the generators) Error: spawn prisma-client-py ENOENT} -- Prisma -v: prisma : 5.13.0 @prisma/client : 5.13.0 Computed binaryTarget : windows Operating System : win32 Architecture : x64 Node.js : v20.12.0 Query Engine (Node-API) : libquery-engine b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b (at ........\AppData\Roaming\npm\node_modules\prisma\node_modules@prisma\engines\query_engine-windows.dll.node) Schema Engine : schema-engine-cli b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b (at ........\AppData\Roaming\npm\node_modules\prisma\node_modules@prisma\engines\schema-engine-windows.exe) Schema Wasm : @prisma/prisma-schema-wasm 5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b Default Engines Hash : HIDDEN Studio : 0.500.0 -- Schema.prisma: generator client { provider = "prisma-client-py" } datasource db { provider = "postgresql" url = env("DATABASE_URL") } model User { id String @id @unique name String? email String @unique profileImage String? ntfyChannel String stripeCustomerId String? @unique }
5 Replies
Aide Flood
Aide Flood3mo ago
Windows 11 this is a scam guys, be aware. He sends a dm and then asks me to join a different server. gtfo
jonfanz
jonfanz3mo ago
@Aide Flood thanks for pointing that out. Banned (going to also remove your message with the link, as I don't want folks clicking on that. Hope you understand)
Aide Flood
Aide Flood3mo ago
ofc ~:)
jonfanz
jonfanz3mo ago
To answer your question, and this is gonna sound funny, but we actually don't maintain the python client and they are in a different discord :lolsob: Here is their official information: https://prisma-client-py.readthedocs.io/en/stable/ And their repo: https://github.com/RobertCraigie/prisma-client-py
Prisma Client Python
An auto-generated and fully type-safe database client
GitHub
GitHub - RobertCraigie/prisma-client-py: Prisma Client Python is an...
Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use - RobertCraigie/prisma-client-py
Aide Flood
Aide Flood3mo ago
ahhh ic, I'll post an issue in github then 🫡
Want results from more Discord servers?
Add your server
More Posts
Additional processing after fetching dataI want to fetch posts from my database but additional scrape the opengraph info from the first link why can't all sides of relation become mandatory? why one of the side has to be optional?Here's the example. input TextInput? inside TextGeneration model can't be mandatory, otherwise it many to many api response looks wierdwhen for example prisma needs to fetch data that is many to many related for example user & role andPrisma breaks lambdaHey there, I'm new to prisma but fell in love with the database seeding feature immediately. What a Refactoring schemaI have the following schema: ```schema model Invoice { id Int @id @default(autoincreExtra query into object (GetPayload)I want to extract this query into an object so I can reuse it in different places. But something is Updating several different dataI'm having a doubt. I have a products table, it has a field called order, which is the order in whicWhich is more efficient: Promise.all([findUnique() * 3]) or prisma.$transaction([findUnique() * 3])?With prisma, is it more efficient to do ``` await Promise.all([ prisma.product.findMany() prismfindUniqueOrThrow does not throw a PrismaClientKnownRequestError - and NotFoundError is deprecatedHey, I am writing an exception filter to handle Prisma errors, and was pleased to find the specific Create Project Button is disabled, also page seems to be brokenThe accelerate dashboard seems to broken, we cannot create project. I have to remove disable manuall