elegant-beach-10818
06/06/2023, 10:07 PMfrom metaflow import FlowSpec, step, conda_base
libraries = {
"numpy": "1.24.3",
}
@conda_base(libraries=libraries, python="3.10.9")
class HelloConda(FlowSpec):
@step
def start(self):
import numpy
print(numpy.__version__)
self.next(self.end)
@step
def end(self):
print("HelloConda is all done.")
if __name__ == "__main__":
HelloConda()
• Run with python helloconda.py --environment=conda run
successfully
• Run conda env list
and delete the recently created conda environment with conda env remove -n <env_name>
• The error Step: start, Error: CondaValueError: cannot mix specifications with conda package filenames
will now be thrown
This is while using S3 as a datastore. Any thoughts?