Following the procedure suggested in https://bugs.launchpad.net/charm-sysconfig/+bug/1867929/comments/3 it appears that I can resolve the situation as follows (this example a different machine than the report above);
root@ostmpv03:~# CHARM_DIR=/var/lib/juju/agents/unit-ntp-0/charm root@ostmpv03:~# rm -rf $CHARM_DIR/wheelhouse/.bootstrapped $CHARM_DIR/../.venv root@ostmpv03:~# JUJU_CHARM_DIR=$CHARM_DIR PYTHONPATH=$CHARM_DIR/lib python3 -c 'import charms.layer.basic; charms.layer.basic.bootstrap_charm_deps()'
Hope that helps!
Following the procedure suggested in https:/ /bugs.launchpad .net/charm- sysconfig/ +bug/1867929/ comments/ 3 it appears that I can resolve the situation as follows (this example a different machine than the report above);
root@ostmpv03:~# CHARM_DIR= /var/lib/ juju/agents/ unit-ntp- 0/charm DIR/wheelhouse/ .bootstrapped $CHARM_DIR/../.venv DIR=$CHARM_ DIR PYTHONPATH= $CHARM_ DIR/lib python3 -c 'import charms.layer.basic; charms. layer.basic. bootstrap_ charm_deps( )'
root@ostmpv03:~# rm -rf $CHARM_
root@ostmpv03:~# JUJU_CHARM_
Hope that helps!