Question: venv/bin/activate: No such file or directory
gravatar for wippermm
2.7 years ago by
wippermm10 wrote:


I am attempting to install a local galaxy (Mac OSX El Capitan 10.11.4), however, when I run the sh script to boot it up, I always get a similar error (I have tried this on both a MacBook Air and MacPro): line 9: .venv/bin/activate: No such file or directory or ./scripts/ line 118: .venv/bin/activate: No such file or directory

I have tried installing virtualenv and pretty much every other imaginable dependency, but it still won't go. Any advice would be helpful. Thanks so much!

ADD COMMENTlink modified 15 months ago by n.goue50 • written 2.7 years ago by wippermm10
gravatar for patrick_hyden
2.5 years ago by
patrick_hyden0 wrote:


I got the same error today. I could not find any fix on the internet so far, so I will post what I did to make it work. I also installed virtualenv independently, but since I ran the script before, the folder .venv already exists in the galaxy root dir (if you look into ./scripts/ you can see that on startup galaxy tries to start virtualenv from .venv/bin/activate if this folder is found). So I simply deleted the .venv folder (which was pretty much empty except for the python binaries "python", "python-2.7" and another version) and tried to run "" again. Instead of deleting the folder you can as well download galaxy again or unpack it in a new folder.

I don't have any idea why this error occurs or why I the things I've done worked for me, but I hope this will help you as well.

ADD COMMENTlink modified 2.5 years ago • written 2.5 years ago by patrick_hyden0
gravatar for n.goue
15 months ago by
n.goue50 wrote:

Hi, what works for me :

pip uninstall virtualenv
conda install virtualenv
ADD COMMENTlink written 15 months ago by n.goue50
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: 182 users visited in the last hour