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

Hello,

I am attempting to install a local galaxy (Mac OSX El Capitan 10.11.4), however, when I run the sh run.sh script to boot it up, I always get a similar error (I have tried this on both a MacBook Air and MacPro):

run.sh: line 9: .venv/bin/activate: No such file or directory or ./scripts/common_startup.sh: 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 COMMENT • link • modified 15 months ago by n.goue • 50 • written 2.7 years ago by wippermm • 10
0
gravatar for patrick_hyden
2.5 years ago by
patrick_hyden • 0 wrote:

Hi,

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 run.sh script before, the folder .venv already exists in the galaxy root dir (if you look into ./scripts/common_startup.sh 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 "run.sh" 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 COMMENT • link modified 2.5 years ago • written 2.5 years ago by patrick_hyden • 0
0
gravatar for n.goue
15 months ago by
n.goue • 50
n.goue • 50 wrote:

Hi, what works for me :

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