Question: Problem in install galaxy
0
gravatar for yukshibata
7 weeks ago by
yukshibata0
yukshibata0 wrote:

Hello,

I am trying to install galaxy. However, after I tried command "sh run.sh", I stacked with error as following.

Activating virtualenv at .venv Collecting pip>=8.1 Could not find a version that satisfies the requirement pip>=8.1 (from versions: ) No matching distribution found for pip>=8.1

I also tried "sh run.sh --no-replace-pip". But another error occurred.

Activating virtualenv at .venv Collecting amqp==2.2.2 (from -r requirements.txt (line 1)) Could not find a version that satisfies the requirement amqp==2.2.2 (from -r requirements.txt (line 1)) (from versions: 1.4.6, 1.4.8) No matching distribution found for amqp==2.2.2 (from -r requirements.txt (line 1))

How can I slove these problems?

Yukimasa Shibata

galaxy • 124 views
ADD COMMENTlink modified 7 weeks ago • written 7 weeks ago by yukshibata0

I tried above by using terminal of Mac OSX El capitan 10.11.6, python 2.7.10, and pip6.1.1.

ADD REPLYlink written 7 weeks ago by yukshibata0
0
gravatar for Wolfgang Maier
7 weeks ago by
Germany
Wolfgang Maier600 wrote:

Ah yes, I had this same issue before. Let me see if I can recapitulate why this happens and how to fix it:

You don't really have to understand all of this, but: one of the first things a fresh instance of Galaxy does when run for the first time is to install a version of pip, a Python tool that can download additional Python code from online repositories. This pip is then used, among other things, to update itself by downloading its most recent version from the Python package repository PyPI.

Now this spring, the Pypi repository ramped up security by updating their secure connection protocol, and your issue may be that an unfortunate combination of the pip version initially used by Galaxy (which is slightly outdated) and your OS/Python (somewhat outdated, too) prevents your Galaxy from speaking the new PyPI protocol. This means it cannot do anything, not even update its own pip.

If this diagnosis is correct, then you can fix things by issuing these commands from a terminal window:

  • cd into your Galaxy folder (just as you would before running sh run.sh)

  • run: . .venv/bin/activate, then

  • curl https://bootstrap.pypa.io/get-pip.py | python (this will update the pip used by Galaxy to its most recent version, which knows how to communicate with Python even on an older OS)

  • next run: deactivate, then

  • sh run.sh again and things should work (fingers crossed)

Good luck and let me know if that works for you,

Wolfgang

ADD COMMENTlink written 7 weeks ago by Wolfgang Maier600
0
gravatar for yukshibata
7 weeks ago by
yukshibata0
yukshibata0 wrote:

Dear, Wolfgang

Thank you very much for your help. It works very well.

Thanks again.

Yukimasa

ADD COMMENTlink written 7 weeks ago by yukshibata0
Please log in to add an answer.

Help
Access

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