Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing conda installation #19

Open
gputzel opened this issue Jun 4, 2018 · 8 comments
Open

Testing conda installation #19

gputzel opened this issue Jun 4, 2018 · 8 comments

Comments

@gputzel
Copy link

gputzel commented Jun 4, 2018

The README instructions for testing the installation say:

change directory into the root folder of the repository

But the installation instructions don't indicate any repository directory. Perhaps add something about where to find this directory for a conda installation?

@bhillmann
Copy link
Collaborator

bhillmann commented Sep 6, 2018

Yeah, those instructions are clearly wrong. For testing the installation with conda I will have to think more about it. The shogun library does exist in your conda environment as a folder, but it isn't easy to find.

@ReneKat
Copy link

ReneKat commented Nov 16, 2020

Hello!
I am eager to use shogun on my shallow shotgun metagenomics dataset. Currently, I am troubleshooting the
python -m unittest discover shogun

I have installed shogun via conda and cloned the git repository. I cd into the repository to run this test and I receive the following error:

FAIL: test_burst_pipeline (tests.test_pipeline.TestAligner)

Traceback (most recent call last):
File "/mnt/c/Users/Student/github/SHOGUN/shogun/tests/test_pipeline.py", line 93, in test_burst_pipeline
self.assertTrue(df_infile.shape[1] == 3)
AssertionError: False is not true

Ran 52 tests in 221.048s

FAILED (failures=1)

When I run conda uninstall shogun, it uninstalls dependencies as well. So that when I install via pip the test fails because it cannot find the dependencies.

Any help would be appreciate.
Many thanks,
Rene

@mortonjt
Copy link

Can't comment on the above error, but I am noticing machine-specific installation issues.
I'm able to install shogun on my local machine without problems. But I run into issues installing it on my cluster via

conda create -n shogun -c knights-lab shogun

I get the following error

conda create -n shogun -c knights-lab shogun
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \ 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                                                                     

UnsatisfiableError: 

Not exactly sure what is going on ...

@GabeAl
Copy link

GabeAl commented May 14, 2021 via email

@bhillmann
Copy link
Collaborator

@mortonjt You are probably experiencing this issue because you aren't including the bioconda channel in your installation command.

conda install -c knights-lab -c bioconda -conda-forge shogun

@mortonjt
Copy link

yes, conda install -c knights-lab -c bioconda -c conda-forge shogun fixed this issue. Thanks!

@GabeAl
Copy link

GabeAl commented May 14, 2021 via email

@mortonjt
Copy link

I already had conda-forge in my .condarc so that may have been the reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants