Reputation: 441
I am trying to install a specific version of TopHat (v. 2.0.14) in my conda (v. 4.10.3) environment (built on python 2.7). I cannot download this version because it cannot be found from any channel. The TopHat can be downloaded from TopHat
The operating system of my computer is macOS Mojave Version 10.14.6, so I chose OSX_x86_64 and downloaded it.
Back to my terminal, I tried to install with the following code:
conda install --offline /Users/kenhsu/Desktop/tophat-2.0.14/tophat-
2.0.14.OSX_x86_64.tar
conda install --use-local /Users/kenhsu/Desktop/tophat-2.0.14/tophat-
2.0.14.OSX_x86_64.tar
They both failed and reported as below:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current
channels:
- /users/kenhsu/desktop/tophat-2.0.14/tophat-2.0.14.osx_x86_64.tar
Current channels:
- https://conda.anaconda.org/bioconda/osx-64
- https://conda.anaconda.org/bioconda/noarch
- https://repo.anaconda.com/pkgs/main/osx-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://conda.anaconda.org/conda-forge/osx-64
- https://conda.anaconda.org/conda-forge/noarch
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.
I need this version of TopHat to process the example data from coursera class.
Upvotes: 1
Views: 530
Reputation: 19665
Those *.tar
files are not Conda packages. As such, Conda does not know how to install them. It looks like you can simply extract them and look at the README
file within to see how to use it.
If you want to install with Conda, the package appears to be available from the Bioconda channel. You can run
conda install -c bioconda tophat
to install.
Upvotes: 1