Question: install dependencies over conda
gravatar for marija.djurdjevic
9 days ago by
marija.djurdjevic30 wrote:

Hi, I have issue installing tool dependencies over conda (over Manage Tool Dependencies in Admin panel):

Traceback (most recent call last):
File "/home/data/galaxy_tool_dep/_conda/bin/conda", line 6, in <module>
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/cli/", line 162, in main
  return conda_exception_handler(_main, *args)
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/", line 630, in conda_exception_handler
  return handle_exception(e)
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/", line 620, in handle_exception
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/", line 578, in print_unexpected_error_message
  info_stdout, info_stderr = get_info()
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/", line 548, in get_info
  args.func(args, p)
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/cli/", line 148, in execute
  from conda.api import get_index
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/", line 1, in <module>
  from .core.index import get_index
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/core/", line 8, in <module>
  from .package_cache import PackageCache
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/core/", line 10, in <module>
  from .path_actions import CacheUrlAction, ExtractPackageAction
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/core/", line 31, in <module>
  from import download
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/conda/gateways/", line 11, in <module>
  from requests.exceptions import ConnectionError, HTTPError, SSLError
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/requests/", line 58, in <module>
  from . import utils
File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/requests/", line 25, in <module>
  from . import certs
ImportError: cannot import name certs

If I run stand alone command:

/home/data/galaxy_tool_dep/_conda/bin/conda --debug create -y --name __hisat2@_uv_ hisat2

it works fine. What can be the issue?



ADD COMMENTlink modified 5 days ago • written 9 days ago by marija.djurdjevic30
gravatar for Jennifer Hillman Jackson
5 days ago by
United States
Jennifer Hillman Jackson22k wrote:


Make sure that Galaxy version 17_05 is used. Changes were made to help with Conda dependency resolution.

The most recently updated tools (including HISAT) should install all dependencies with Conda by default (even if Conda is available on the computer/server). Meaning, installing dependencies independently should not be needed.

I see your post at Github Conda: It will probably have replies stating that it is another version of the problem reported this prior post (and a few others): The help in that thread may be helpful in troubleshooting the problems with how conda is installed on your system.

Thanks, Jen, Galaxy team

ADD COMMENTlink written 5 days ago by Jennifer Hillman Jackson22k
gravatar for marija.djurdjevic
5 days ago by
marija.djurdjevic30 wrote:

Dear Jen,

Thanks for your response. I have the latest version of Galaxy and HISAT was just an example. I have the same issue installing other tool dependencies and even running tools which have conda dependencies.

I also went through a lot of posts everywhere, but unfortunately I couldn't solve my problem :(

Thanks once again, Marija

ADD COMMENTlink written 5 days ago by marija.djurdjevic30

Can you give us a outline what you have done? Essentially, you need to check that Conda is enabled in galaxy.ini, that during install you check a checkbox to install conda dependencies or enable conda_auto_install.

ADD REPLYlink written 5 days ago by Bjoern Gruening4.6k

Those are settings from galaxy.ini:

conda_prefix = /home/data/galaxy_tool_dep/_conda/
conda_exec = /home/data/galaxy_tool_dep/_conda/bin/conda
conda_debug = True
conda_ensure_channels = iuc,bioconda,r,defaults,conda-forge
conda_auto_install = True
conda_auto_init = True
conda_copy_dependencies = True

I install dependencies from Manage Tool Dependencies in Admin panel. I also tried to install tool dependencies from command line and it worked, but than I got the same error when I run the tool. I add some more info here:

ADD REPLYlink written 4 days ago by marija.djurdjevic30
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 65 users visited in the last hour