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

@Highwayman I ran the install-pkg command in the main dir every time, so I don't know why it's not working. I guess I can use something thats gonna keep it up so it doesn't reset.