fermi-lat / Fermitools-conda

Conda recipe files for the Fermi Sciencetools software analysis package: Fermitools
https://fermi.gsfc.nasa.gov/ssc/data/analysis/
BSD 3-Clause "New" or "Revised" License
34 stars 17 forks source link

Fermipy installation #165

Open fcasabur opened 4 months ago

fcasabur commented 4 months ago

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