Creating virtual environment using conda, (os: ubuntu 20.04 LTS)

Viewed 94

I tried to create a conda environment from a text file using the command:

conda create --name --file <txt_file>

PackagesNotFoundError: The following packages are not available from current channels:

  • legacy-api-wrap==1.2=pypi_0
  • pygsp==0.5.1=pypi_0
  • bagit==1.8.1=pypi_0
  • itclust==0.0.5=pypi_0
  • networkx==2.5.1=pypi_0
  • pynndescent==0.5.2=pypi_0
  • future==0.18.2=pypi_0
  • pillow==8.2.0=pypi_0
  • statsmodels==0.12.2=pypi_0
  • bagit-profile==1.3.1=pypi_0
  • h5py==2.10.0=pypi_0
  • cffi==1.14.5=pypi_0
  • tensorflow-gpu==1.15.0=pypi_0
  • kiwisolver==1.3.0=pypi_0
  • llvmlite==0.35.0=pypi_0
  • deprecated==1.2.12=pypi_0
  • matplotlib==3.3.4=pypi_0
  • cycler==0.10.0=pypi_0
  • opt-einsum==3.3.0=pypi_0
  • htseq==0.13.5=pypi_0
  • get-version==2.1=pypi_0
  • pyyaml==5.4.1=pypi_0
  • python-graphviz==0.14.2=pypi_0
  • tzlocal==2.1=pypi_0
  • libdap4==3.20.6=hd7c4107_1
  • anndata==0.7.4=pypi_0
  • packaging==20.9=pypi_0
  • scanpy==1.5.0=pypi_0
  • setuptools-scm==5.0.2=pypi_0
  • tasklogger==1.1.0=pypi_0
  • seaborn==0.11.1=pypi_0
  • idna==2.10=pypi_0
  • numba==0.52.0=pypi_0
  • urllib3==1.26.5=pypi_0
  • tqdm==4.60.0=pypi_0
  • numexpr==2.7.3=pypi_0
  • multicoretsne==0.1=pypi_0
  • patsy==0.5.1=pypi_0
  • tables==3.6.1=pypi_0
  • requests==2.25.1=pypi_0
  • scprep==1.1.0=pypi_0
  • threadpoolctl==2.1.0=pypi_0
  • pycparser==2.20=pypi_0
  • bdbag==1.6.1=pypi_0
  • pysam==0.16.0.1=pypi_0
  • scikit-learn==0.24.2=pypi_0
  • chardet==4.0.0=pypi_0
  • keras==2.1.0=pypi_0
  • magic-impute==3.0.0=pypi_0
  • joblib==1.0.1=pypi_0
  • sklearn==0.0=pypi_0
  • umap-learn==0.4.6=pypi_0
  • graphtools==1.5.2=pypi_0

Current channels:

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

some lines of the text files which will be used to create the environment are like this:

# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: linux-64
_libgcc_mutex=0.1=conda_forge
_openmp_mutex=4.5=1_gnu
_r-mutex=1.0.1=anacondar_1
_tflow_select=2.3.0=mkl
absl-py=0.10.0=py36_0

I am using a virtual box (VirtualBox-6.1.34a) inside windows 10 and the os is ubuntu 20.04 LTS I searched some but they are suggesting the following command for each package, but I have a lot of packages and manually doing it will be impossible.

conda config --add channels conda-forge
0 Answers
Related