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

Fermipy installation #165

Open
fcasabur opened this issue Jun 4, 2024 · 0 comments
Open

Fermipy installation #165

fcasabur opened this issue Jun 4, 2024 · 0 comments

Comments

@fcasabur
Copy link

fcasabur commented Jun 4, 2024

Hello, I'm trying to install fermipy on my laptop (windows 11 )
According to https://fermipy.readthedocs.io/en/latest/install.html I installed miniforge then I run the Miniforge prompt but

  1. If I try
    C:\fermipy>mamba create --name fermipy -c conda-forge -c fermi python=3.9 "fermitools>=2.2.0" healpy gammapy

I get the error

_Looking for: ['python=3.9', "fermitools[version='>=2.2.0']", 'healpy', 'gammapy']

error libmamba Could not open lockfile 'C:\ProgramData\miniforge3\pkgs\cache\cache.lock'_

  1. If I try the installation from source

(base) C:\fermipy>git clone https://github.com/fermiPy/fermipy.git
Cloning into 'fermipy'...
remote: Enumerating objects: 13562, done.
remote: Counting objects: 100% (1225/1225), done.
remote: Compressing objects: 100% (510/510), done.
remote: Total 13562 (delta 739), reused 1087 (delta 651), pack-reused 12337
Receiving objects: 100% (13562/13562), 97.22 MiB | 676.00 KiB/s, done.
Resolving deltas: 100% (9378/9378), done.
Updating files: 100% (622/622), done.

when I try to install I get same error

_base) C:\fermipy>mamba create --name fermipy -f environment.yml

Looking for: ['environment.yml']

error libmamba Could not open lockfile 'C:\ProgramData\miniforge3\pkgs\cache\cache.lock'_

I even tried to clean lock files
mamba clean --locks

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

1 participant