'Conda environment to python wheel

I am looking for a way to download a wheel from a conda environment. Here is what i mean and what i would like to do. I have this conda environment that i download using this command :

 conda install -c bioconda mageck

I would like to have a wheel like mageck.whl in order to reinstall the conda environment offline in a next installation using pip install mageck.whl or any other extension that can let me install all the packages for future installation. The aim is to have a dockerfile that can be 100% reproducible at least from the library version and dependencies , installing the environment only using the package downloaded

thanks



Solution 1:[1]

Here are some potential solutions if I understand your problem correctly.

  • Have you tried to create an isolated software environment?
conda create -c bioconda -n mageckenv mageck

after that, you can activate the environment:

source activate mageckenv

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1