Issue:
There are some workflows where you must utilize imported repos to install custom packages. This can be due to specific development and versioning requirements that do not work with installing a package from a git-based project.
Root Cause:
Although we specify how to install custom packages in our documentation, there are no specific steps on how to do this with imported repos.
Resolution:
When editing the definition of an environment, locate the Run Setup Scripts section. Then add these lines to the Pre Run Script:
pip install --user -e /mnt/imported/code/<repo_name>
Notes/Information:
You will have to ensure you run the files in the imported git repo with the same python version and user that installed the dependencies. Using programs like virtualenv or pyenv will able to overcome this.
Comments
0 comments
Please sign in to leave a comment.