Comments (1)
Solution that worked for me was to change the default location where the binaries are cached.
CONTEXT: In render the default location is /opt/render/.cache/prisma-python/binaries/. Unfortunatley the .cache directory never gets created during the build. My guess is because in Render special permissions are needed to create folders/files that start with "." such as ".cache".
SOLUTION: create a custom folder to store the binaries and set the path to the env variable PRISMA_BINARY_CACHE_DIR
e.g. PRISMA_BINARY_CACHE_DIR=/opt/render/project/src/.binaries. /opt/render/project/src/ is the root location of your project code. The .binaries folder was manually created.
(see the Binary Cache Directory section at https://prisma-client-py.readthedocs.io/en/stable/reference/config/#config-options)
from prisma-client-py.
Related Issues (20)
- Support OpenTelemetry
- Don't work with prisma>=5.3.0 HOT 1
- Partial models
- Python + Prisma: Working in local dev (macOS), not working in staging (Vercel) HOT 2
- Prisma generating drift without schema changes
- Prisma client not available in poetry environment HOT 1
- Quoted Tables Break Implicit Many to Many in Python but not Node
- BinaryNotFoundError When Running in Docker HOT 3
- The Client hasn't been generated yet HOT 1
- using models as fastAPI response_model freezes fastAPI docs HOT 1
- When a model is named `Set`, generation fails HOT 1
- Allow partials to be accesed through client
- Consistent enum formatting in 3.11+
- Provide a TypedDict for every model
- Drop support for Python 3.7 HOT 1
- Option to generate camelcase python methods/function names. HOT 1
- Query engine seems to stop before disconnecting HOT 5
- Retrying db calls?
- Option --generator not being honoured HOT 2
- Pydantic >2.0 makes `prisma generate` crash HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prisma-client-py.