Unable to deploy django app on app platform due to scipy installation failure

I am trying to deploy a django app on app platform which has some data science functions that require scipy package. Build keeps failing with the error error: [Errno 38] Function not implemented Tried to fix the problem by following the solution given on SO by setting

sudo mount /dev/shm```

as BUILD COMMAND, but apparently this will only be executed after a successful build, which is pointless here. There is one issue on [github]( that references a similar kind of error, but the solutions given there need shell access before build is triggered. At this point my only recourse seems to be to use a droplet but any help on this would be greatly appreciated.
Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This comment has been deleted