Add `environment` parameter to conda decorator
See original GitHub issueImagine you want to run a step with an environmnet that has a lot of dependencies. It is very verbose to include all of the libraries in the libraries
parameter.
It would be very useful to have a parameter or something that allows metaflow to use a conda environment path directly.
I don´t know if you have already done this but I can´t found it 😦
Thank you!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:9
Top Results From Across the Web
How to set specific environment variables when activating ...
I created the folder $PREFIX/etc/conda/activate.d, put env_vars.sh inside it and specified a some env variables in env_vars.sh. The specified env vars loaded on ......
Read more >Conda create environment and everything you need to know ...
1. Create conda environment · 2. Activate the environment · 3. Install more packages · 4. See the list of packages and environments...
Read more >Create Custom conda Environment - RIS Knowledge Base
Open a New File in nano named environment. The pip dependency is required to install the citipy package using the pip package manager....
Read more >How to setup Anaconda path to environment variable
Package versions are managed by the package management system called conda. What is the environment variable? Environment variables basically ...
Read more >Specify Conda Channels - Outerbounds
You can change default conda channels by specifying the channel in the Metaflow @conda or @conda_base decorator, or by using the CONDA_CHANNELS environment...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sergiocalde94 One option would be to use
conda index
to create a local conda channel using the packages that already exist in your local file-system and then exportingCONDA_CHANNELS=<local_channel_name>,conda-forge
andCONDA_OFFLINE=True
in your environment before executing metaflow as usual. You would need to have these packages present in your local conda channel for things to work properly. Let me know if you run into any issues with this approach.Let me know what your proposal is for a new plugin or changes to the existing one.
@savingoyal great news 😃