Anyone out there knows how to install a conda package (not pip) from a specific url with a conda env file (yml)?
Example: :
name: special_env
channels:
- defaults
dependencies:
- python=3.8
- pip=21.2.4
- https://special_place.com/special/special_conda_pack.tar-01.2.03-0.bz2 <--- I want something like that.
(https://special_place.com/special/special_conda_pack-01.2.03-0.tar.bz2 is only use as example this is not my real url)
I tried something similar to https://stackoverflow.com/a/54084615/6210975 and many other attempts by playing with channels without success.
NOTE1: I am able to install my package with conda install https://special_place.com/special/special_conda_pack-01.2.03-0.tar.bz2
NOTE2 Also tried this approach:
Since conda install https://special_place.com/special/special_conda_pack.tar.bz2 is working. I I thought I could simply create a test env and then export it with conda env export > env_with_resolved_url.yml
name: env_with_resolved_url
channels:
- https://special_place.com/special/... <--- Resolved url
dependencies:
- ...
- special_conda_pack=01.2.03=0 <--- Resolved versioning format
- ...
prefix: /.../miniconda3/envs/env_with_resolved_url
However when I try to recreate this env from file I get UnavailableInvalidChannel: The channel is not accessible or is invalid. (error code: 404)