Having to run install-pkg every time
BruceLi2

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

It's the second one, but you not only have to move it there but also change how you access it in your code, like you'd have to access it like a normal separate file.

@BruceLi2