forked from coecms/cms-conda-singularity
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The med-utils package which provides the ilamb-tree-generator command line tool is currently installed using pip in our access-med environment:
- pip:
- railroad-diagrams ### Unlisted dependency of pip and pyparsing
- git+https://github.com/ACCESS-NRI/MED-utilsThe problem is that during install/deploy a shebang is created:
#!/jobfs/109596945.gadi-pbs/squashfs-root/opt/conda/access-med-0.7/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from access_med_utils.ilamb import tree_generator
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(tree_generator())This leads to the following error:
bash: /opt/conda/access-med-0.7/bin/ilamb-tree-generator: /jobfs/109596945.gadi-pbs/squashfs-root/opt/conda/access-med-0.7/bin/python: bad interpreter: No such file or directory
@rhaegar325 I think that's the cause of the issue but I could be wrong.
@dsroberts do you have a suggestion on how to fix this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels