nasa / HyperCP

Other
41 stars 23 forks source link

HyperCP installation fail #268

Open samanthalsharp opened 2 weeks ago

samanthalsharp commented 2 weeks ago

I'm having trouble installing HyperCP on my computer. I am stuck initializing the python environment "conda env create -f environment.yml." I have revised the environmentl.yml file to not require a specific version of py6s, which was identified as an issue during the Ocean Optics workshop. But there still appear to be a number of conflicts (see attached output). HyperCP_install_attempt.txt

I have a Dell Precision 3560 laptop with Intel Core i7 processor, Windows 10 Enterprice, Python version 3.9.12 and Anaconda version 2022.05.

Please let me know if you have any suggestions

oceancolorcoder commented 1 week ago

Sorry for the delay. I am just getting back from vacation and will look into your environment issue as soon as possible. -Dirk

samanthalsharp commented 1 week ago

No worries and thanks for your help Dirk! I would like to get started processing my data through HyperCP but have been stuck with this installation issue since the Ocean Optics workshop.

Thanks, Samantha

On Mon, Nov 4, 2024 at 6:40 AM Dirk Aurin @.***> wrote:

Sorry for the delay. I am just getting back from vacation and will look into your environment issue as soon as possible. -Dirk

— Reply to this email directly, view it on GitHub https://github.com/nasa/HyperCP/issues/268#issuecomment-2454890093, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUV625HK2AASG5C7DJSHFTZ652K5AVCNFSM6AAAAABQ4VIPSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUHA4TAMBZGM . You are receiving this because you authored the thread.Message ID: @.***>

oceancolorcoder commented 1 week ago

@samanthalsharp, please try the following.

First, uninstall the hypercp environment: conda remove -n hypercp --all

Next, reinstall (from HyperCP directory): conda env create -f environment.yml

I just tested on my windows 11 PC and it took ~10 minutes to build. If this does not work, please try to install the environment using mamba. Download for Windows 64 bit is available here: https://github.com/conda-forge/miniforge. Once installed, open the Miniforge Prompt app from the Search bar and from the HyperCP directory: mamba env create -f environment.yml

Due to licensing issues, we will be moving to encourage users to use mamba in the future to build the hypercp enviroment.

Hope this helps!

I tested this also on Win11 and it was slightly faster.