This message was deleted.
# ask-anything
s
This message was deleted.
e
sure, happy to help!
ml-online conda environment is not getting created by default
can you point me to the command where you'd expect the conda env to be created? are you trying to run that example or are you using it as a guide for your project!
n
Copy code
# configure development environment
ploomber install

# activate environment
conda activate ml-online
I get an error that the environment ml-online does not exist. I am running the example as it is.
e
Ok, run
conda
commands instead of
ploomber install
, and see if you can activate the environment:
conda env create -f environment.yml
n
The environment gets created. However, the dependencies are not exported to the lockfile due to conda versions
conda env export --no-build --file environment.lock.yml
InvalidVersionSpec: Invalid version '!=~5.0': invalid operator
I saved the dependencies in a requirememts.lock.txt via pip freeze.
This is where the next problem comes with soopervisor export. I get
No module named 'ml_online'
. This occurs when trying out both templates ml-online and ml-intermediate.
e
yeah, try using requirements instead of environment.yml. ml-intermediate should not require ml_online, try starting from scratch. there might be something going on with your environment. also, I'd recommend you trying these instructions: https://ploomber.io/blog/ds-platform-part-iii/ - this tutorial is more recent
the 3rd part has the commands you need to submit the jobs to AWS Batch, but you can look at the other parts, they cover setting up the infra