Deploying an api with ifcopenshell on a linux server (render.com) #3859
Unanswered
Alex-Schlachter27
asked this question in
Q&A
Replies: 1 comment 3 replies
-
What exactly is your web stack's platform? You can specify the --platform tag for pip, but if it's Linux and it isn't possible, it may simply be that you have too old of a glibc for example. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi :)
I'm currently exploring some features with ifcopenshell.
I developed an API that exposes some functions, so I can use it in a web application.
Locally (on windows), the API works well, but when I deploy it (with render.com), i get the error: ImportError: IfcOpenShell not built for 'linux/64bit/python3.10'.
It seams like in the deployment process, ifcopenshell is installed via pip, and it uses the wrong version of ifcopenshell (not linux at least). Is it possible to specify the version in the requirement.txt somehow?
Then I also tried to add the ifcopenshell prebuilt package for linux in the site-packages of my project and add it to the github repository. But then it exceed githubs max file size.
Any suggestions how this can be done? :)
Beta Was this translation helpful? Give feedback.
All reactions