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

Install from source needs additional channel #121

Closed
mtisza1 opened this issue Sep 29, 2023 · 3 comments
Closed

Install from source needs additional channel #121

mtisza1 opened this issue Sep 29, 2023 · 3 comments

Comments

@mtisza1
Copy link

mtisza1 commented Sep 29, 2023

I was successfully able to install MIDAS2 using the "From Source" instructions only after modifying the midas2.yml file to include your anaconda channel "zhaoc1"

https://midas2.readthedocs.io/en/latest/installation.html#from-source

Without the zhaoc1 channel, I get the following error beacuse midas2 conda package is only available from zhaoc1

Solving environment: failed

ResolvePackageNotFound: 
  - midas2=1.0.9
 

Additionally, the install provided under "Quickstart" didn't work for me. This was related to an issue with Python version (python 3.7.9 was installed, but python 3.9 was required for something). This may have something to do with v1.0.0 (which is indicated in these instructions) and v1.0.9.

https://midas2.readthedocs.io/en/latest/quickstart.html#install-midas2

Finally, the installation instructions under "Conda" didn't practically work for me as the "solving environment" step hung for several hours before I killed it.

https://midas2.readthedocs.io/en/latest/installation.html#conda

I look forward to using the tool.

Mike

@zhaoc1
Copy link
Contributor

zhaoc1 commented Sep 29, 2023

Thanks for trying out MIDAS2. And you are right about the -c zhaoc1, I missed it in the midas2.yaml file.

I recently updated the MIDAS2 code base to v1.1.0 while the ReadTheDoc update is on my TODO list. The latest MIDAS2 requires Python3.9.

As for the conda install command, the following should work:

conda config --set channel_priority flexible
conda install -c zhaoc1 -c conda-forge -c bioconda-c anaconda -c defaults midas2

This takes a while to "solving environment", but it should not be stuck at this process.

Thanks,
Chunyu

@mtisza1
Copy link
Author

mtisza1 commented Sep 29, 2023

Thanks so much for the quick response, Chunyu!

My conda tends to be a little slow, but I just tried the suggested conda install again, and it's been hanging on the solve step for over 90 minutes.

I'll close this now. Thanks!

@mtisza1 mtisza1 closed this as completed Sep 29, 2023
@zhaoc1
Copy link
Contributor

zhaoc1 commented Sep 29, 2023

Sure thing! I only tested the conda install on linux, and not sure about mac os. To my experience, the fatest way is to install from the source. And you mentioned, add -c zhaoc1 to the YML though.

@zhaoc1 zhaoc1 mentioned this issue Oct 27, 2023
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

2 participants