Hey, I am deploying a flow with *`python src/"$FLO...
# dev-metaflow
c
Hey, I am deploying a flow with
python src/"$FLOW_NAME".py --production --with retry --environment=conda step-functions create --authorize "$prodToken"
and I am running into an error: (๐Ÿงต )
โœ… 1
Copy code
Bootstrapping conda environment...(this could take a few minutes)
    Conda ran into an error while setting up environment.:
    Step: start, Error: command '['/root/miniconda3/bin/conda', 'create', '--yes', '--no-default-packages', '--name', 'metaflow_XXX_linux-64_959c842d5a57ad796841674927753e9d9ee7f561', '--quiet', b'python==3.8.12', b'click==7.1.2', b'requests==2.24.0', b'boto3==1.17.62', b'coverage==4.5.4', b'numpy==1.21.1', b'pandas==1.3.1', b'paramiko==2.7.2', b'sqlalchemy==1.4.18', b'pyyaml==5.4.1', b'sshtunnel==0.4.0', b'pymysql==1.0.2', b'gspread==4.0.1', b'awswrangler==2.11.0', b'scikit-learn==1.0.1', b'xgboost==1.2.0', b'pyarrow==5.0.0', b'metaflow==2.4.7', b's3fs==0.4.2']' returned error (-9): b'', stderr=b''
any ideas?
s
interesting. can you remove the .metaflow folder to force recreation of the conda environment? you may also want to delete the environment
metaflow_XXX_linux-64_959c842d5a57ad796841674927753e9d9ee7f56
c
I deleted metaflow from the dependancies and it fixed it ๐Ÿคท
๐Ÿ™Œ 1
s
You don't need to specify metaflow as a dependency. It will be visible inside the conda environment.
โœ… 1