ck-env
ck-env copied to clipboard
Load env
Is there some command to load the environment (ie., add LD_LIBRARY_PATHs of the dependencies) for a specific package/program? It could be useful when you debug some program.
Thanks J
Hi @fvella - I believe I did it. You can try the new functionality as following:
$ ck virtual env --tags=caffe $ ck virtual env:{SOME UID}
It will start a new shell but will reuse all previous environment ...
I also did similar command to jump to a given entry:
$ ck cd {some CK entry}
however you will need to update CK kernel for that ...
If it's ok, please close this ticket! Thanks!
I believe we now routinely use ck virtual env
with tags and combinations of tags, so this ticket looks like resolved to me.
Actually, there is one more thing which I think could be useful (unless I did it already, but I think it was just in ToDo). When we run a program "ck run program:{something}" it would be great to add some flag (like --virtual) which would preload all dependencies, but then rather than running the command line, will just open this virtual environment ... I had such need several times already... So I would keep this ticket for that ...