Having to run install-pkg every time

I took some code that renders images into graphs on desmos. The repl is written in Python, and sometimes when it starts it gives an error install pypotrace, one of the dependencies. The thing is, if I run $install-pkg python3-dev python3-pip build-essential libagg-dev libpotrace-dev pkg-config wheel in the shell, it installs fine. After a while, it would fail to install and I would have to re-run the install-pkg command. Does anyone know how to fix this?

(p.s. it shows internal server error because the app isn't supposed to be accessed directly from a web browser, and it has nothing to do with the problem. The problem prevents the script from starting.)

You are viewing a single comment. View All
Answered by Highwayman [earned 5 cycles]
View Answer

inside the .apt are 4 folders, etc, lib, var, and usr. Would I move all 4 and would the dir be ~ or ~/not-a-desmos-rickroll?

Also, when I tried moving them into ~ and /not-a-desmos-rickroll, it still threw errors when I ran the app until I re-ran the command. @Highwayman