borenstein-lab / fishtaco

FishTaco (Functional Shifts Taxonomic Contributors) is a metagenomic computational framework that aims to identify the driver taxa of microbiome functional shifts
Other
23 stars 4 forks source link

Install issue on MacOS #3

Open susheelbhanu opened 6 years ago

susheelbhanu commented 6 years ago

Good afternoon, I tried installing fishtaco today with the following pip install -U fishtaco command, but for some reason when I try to run the test, I get the following error:

pkg_resources.ResolutionError: No scrip named 'test_fishtaco.py' even though I have the script in my file path.

Any suggestions to fix this would be very helpful.

Thank you, Susheel

engal commented 6 years ago

Hi Susheel,

I'm glad to hear you're interested in using FishTaco. Hopefully I can help you get everything working.

It sounds like there might be an issue locating your installation of FishTaco. If you run the following in a Python shell:

import sys sys.path

then do you see the directory where FishTaco was installed in the list of paths?

Best, Alex

susheelbhanu commented 6 years ago

Hi Alex, Sorry for the delay in responding. The below is my sys.path

['', '/Users/amos-landgraflab/miniconda2/lib/python27.zip', '/Users/amos-landgraflab/miniconda2/lib/python2.7', '/Users/amos-landgraflab/miniconda2/lib/python2.7/plat-darwin', '/Users/amos-landgraflab/miniconda2/lib/python2.7/plat-mac', '/Users/amos-landgraflab/miniconda2/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/amos-landgraflab/miniconda2/lib/python2.7/lib-tk', '/Users/amos-landgraflab/miniconda2/lib/python2.7/lib-old', '/Users/amos-landgraflab/miniconda2/lib/python2.7/lib-dynload', '/Users/amos-landgraflab/miniconda2/lib/python2.7/site-packages', '/Users/amos-landgraflab/miniconda2/lib/python2.7/site-packages/FishTaco-1.1.1-py2.7.egg']

Please let me know how I can fix this. I also tried to install through conda, and it can't seem to find a package that way either.

Thank you!

susheelbhanu commented 6 years ago

FYI.. For others that may run into this issue in the future.

I was able to install and test the FishTaco installation successfully. I'm working on a personal MAC, so doing the following worked for me

sudo conda install -c bioconda fishtaco