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.)
have you tried installing the package into the main repl dir that's always saved and linking there instead so that you're not having to reinstall every time?
I'm a little bit confused, but when the repl starts it automatically tries to install the packages using python3 -m poetry install, and requires packages from ~.apt/ which are removed by repl whenever it restarts. I might be wrong, but I don't think the actual python scripts need the packages. @Highwayman