Closed asmacdo closed 11 months ago
I think that is ok/expected behavior of establishing entry point scripts within venv -- they would point explicitly to the venv's python to ensure that they could be used without any source .../bin/activate
, so I do not think there is anything to fix really. Please reopen if disagree
Summary
I ran
babs-init
on my local machine, which created my /bin scripts with the shebang#!/home/austin/.conda/envs/babs/bin/python
I have modified it by hand to:
Given that users are expected to activate the conda env prior to execution, I think we are safe to change this to
#!/usr/bin/env python
which appears to be working for me.As it is, the user must do all of the setup work in the same environment it will be executed on, but I am hoping we can enable users to do the initial work outside of the HPC env.