alessandro
alessandro

Reputation: 363

Install conda package locally from other local environment

I have a conda package which is no longer available anywhere online installed in a virtual environment. How can I install this package into a new virtual environment? Ideally I would also like to archive this package somewhere as well.

Upvotes: 1

Views: 1999

Answers (1)

merv
merv

Reputation: 76700

If it's in the package cache (i.e., in conda config --show pkgs_dirs), then you can install it with conda install --offline pkg_name. Also check if the tarball is still downloaded - that would be a natural archive, and one can directly install from a tarball (e.g., conda install path/to/pkg_name.tar.bz2).

Upvotes: 2

Related Questions