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

trouble installing caiman #1440

Closed
pristscats opened this issue Dec 15, 2024 · 13 comments
Closed

trouble installing caiman #1440

pristscats opened this issue Dec 15, 2024 · 13 comments

Comments

@pristscats
Copy link

Please fill in the following for any issues

Your setup:

  1. Operating System (Linux, MacOS, Windows): Windows
  2. Hardware type (x86, ARM..) and RAM: x64
  3. Python Version (e.g. 3.9): 3.12.8
  4. Caiman version (e.g. 1.9.12): most up-to-date version (12/14/2024)
  5. Which demo exhibits the problem (if applicable): n/a
  6. How you installed Caiman (pure conda, conda + compile, colab, ..): conda
  7. Details:
    On step 1 of installing Caiman, I try to run: conda activate caiman # activate virtual environment
    But I run into the error:
    EnvironmentNameNotFound: Could not find conda environment: caiman
    You can list all discoverable environments with conda info --envs.
@pgunn
Copy link
Member

pgunn commented Dec 15, 2024

Is this after you do the mamba create ... step?

@pristscats
Copy link
Author

Yes, this is after successfully running the first two lines in step 1.

@pgunn
Copy link
Member

pgunn commented Dec 15, 2024

Two questions then:
A) Did you get any errors in the command that created the environment, and
B) What do you see when you do a conda env list

@pristscats
Copy link
Author

A) No
B)
image

@pgunn
Copy link
Member

pgunn commented Dec 15, 2024

It's a bit surprising that it made the environment where it did and without a name.

We can either try to make it more normal (removing the existing conda install and its condarc, perhaps switching to miniforge) or you can, whenever you want to activate the environment, do this instead of conda activate caiman:

conda activate c:\users\kurtisl2\.local\share\mamba\envs\caiman

Either route would work.

@pristscats
Copy link
Author

The second option works, thank you!

@pristscats
Copy link
Author

After trying to run caimanmanager install, the following comes up:
{0A6A365F-F210-4C47-9513-7CBF6653A435}

@pgunn
Copy link
Member

pgunn commented Dec 16, 2024

Can you activate the environment and send me the output of conda list?

@pristscats
Copy link
Author

It's pretty long, so here's just a part of it.

{C7D92F38-8432-4E28-8A4C-FDE7DF0D9F74}

@pgunn
Copy link
Member

pgunn commented Dec 16, 2024

Somehow that environment ended up with a mix of packages from conda and from pypi. Did you use pip in any stage of setting up the environment?

@pristscats
Copy link
Author

No, I only followed the quick start steps.

@pgunn
Copy link
Member

pgunn commented Dec 16, 2024

Hm. We'll need to start over, and before we do so, I suggest you remove the environment (that path we typed in) and then conda itself. Then go grab this and start the install process:

https://github.com/conda-forge/miniforge/releases/download/24.11.0-1/Miniforge3-24.11.0-1-Windows-x86_64.exe

Hopefully this time it will neither install to a path nor end up with pypi packages in the list.

@pgunn
Copy link
Member

pgunn commented Dec 16, 2024

If you run into hiccups, we could try it with a videoconference and screen share, but it'd be good to try it on your own first to see if it might go smoothly.

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