Hello, I am trying to use a private package with ...
# ask-metaflow
t
Hello, I am trying to use a private package with my flow. It seems that conda is not using the right channel. Am I missing something ? I use the following command:
Copy code
CONDA_CHANNELS=conda-forge python3 <filename>.py --environment=conda run --max-workers 80 --max-num-splits=1000
The package is added with:
Copy code
@conda(libraries={"<file://tmp/><local-channel>/linux-64::<package_name>": "0.1"})
I get the following error:
Copy code
Bootstrapping conda environment...(this could take a few minutes)
    Conda ran into an error while setting up environment.:
    Step: start, Error: RuntimeError('Multi-download failed. Reason: Transfer finalized, status: 404 [<https://conda.anaconda.org/><local-channel>/noarch/repodata.json] 3095 bytes')
s
let me try to repro this issue and get back to you
t
Thanks for your help !
r
Worth trying
conda config --add channels <file://tmp>
? (that's what I've done with a private channel on s3 at least, and no
/linux-64
)
s
how are you creating the local channel?
t
I use the following procedure to create the package: https://stackoverflow.com/a/35605508 I add the channel to the conda configuration with the following command:
Copy code
conda config --add channels <file://tmp/><channel-name>/linux-64
I tried different configurations. (different paths to the channels). I also tried to add the channel to CONDA_CHANNEL.
Hi @square-wire-39606, Could you check this ? I am still stuck with this. Thanks for your help!
👀 1