ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: 'INSTALLER'

I attempted to install some new packages on Anvil Editor such as: chardet, Cerberus. but it showed the error like below:

ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: 'INSTALLER'
Check the permissions.
Error: Build failed

I attempted to reproduce it on a mini app using similar libraries, but the weird thing is there were no errors at all like the ones above.

Has anyone here encountered a similar issue before, and could you provide me with advice on how to address this issue? Thank you in advance.

image

I was able to build the package by using a different base package.
(I used minimal but you might try just something other than what you are currently trying)

I also updated certifi to get rid of the security warning the package manager gives.

If you are unable to replicate my setting above, you should probably write an email to support@anvil.works , because there might just be something about your account that needs to be cleared.

Every time you try to build packages it cashes them, I wouldn’t doubt that the disk space allotted for the cash could in some circumstances become full and bugged, failing to clear itself when it is full.
(Also the package manager and python 3.10 are still in beta, so bugs should be expected to exist from time to time)

1 Like

Hi, thanks for your advice
I’ve changed base package from Standard to Minimal but it still did not work.
I have also contacted them for support, but it seems to require some more time for the issue to be investigated and resolved on their end.
But anyway, thank you once again for providing the suggestions

1 Like