Replies: 2 comments 2 replies
-
I think this is a case where the conda-store linter that checks whether an environment.yaml is valid needs to be extended to allow the 'extra-index-url' syntax. In the meantime, a potential workaround is to specify an environment variable in the variables section on the yaml. From the conda docs, I think you can set PIP_EXTRA_INDEX_URL. |
Beta Was this translation helpful? Give feedback.
-
I could be wrong here, but just wanted to also mention that it looks like this error may be coming from conda-lock (which is the first step in a conda-store environment solve), based on this issue: conda/conda-lock#474 . The only workarounds at this point would be:
|
Beta Was this translation helpful? Give feedback.
-
Hi all,
I hope someone can help me. I am creating an environment on conda-store, but there is a proprietary package I need to install with pip. I have seen the documentation on here, but it does not cover my scenario. I have my proprietary package in Azure Devops Artifacts which is normally installed with:
pip install mypackage==x.y.z --index-url https://mypackage:[email protected]/{organization}/{project}/_packaging/{mypackage}/pypi/simple/
where:
I have tried the following environment .yaml file
and this works locally fine on a PC with conda installed, using
conda env create -f environment.yml
However when I try this on conda-store on nebari I get the following error:
I have tried other workarounds, like download the package and upload to nebari to install pip locally using
-e
flag but this seems not to be supported.Any ideas? I am open to workarounds, as with this constraint we will not be able to roll out nebari.
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions