How to get most recent changes in a conda installation? #250
-
|
I haven't been able to get all of the dependencies for Herbie working with Is there a simple way to get the recent changes in a Conda installation? It doesn't seem like there is a Conda equivalent to I have very limited experience with git, but have also used Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
(I've been meaning to release a new version of Herbie to PyPi; But I'm waiting for the next release of MetPy)
What version of Python are you using? I've pretty much moved on to python 3.11 and haven't tested anything earlier. I usually create conda envrionments from a file like https://github.com/blaylockbk/Herbie/blob/main/environment.yml Instead of installing herbie-data from conda forge, you can install Herbie from GitHub (note the deletion and insertion below...) name: herbie
channels:
- conda-forge
dependencies:
- python>=3.11
- pip
- rclone # Not used by Herbie, useful if you are downloading data (https://rclone.org/)
- - herbie-data
#==============
# Dependencies
#==============
- curl
- cartopy>=0.22
- cfgrib>=0.9.10.4
- dask
- eccodes
- geos
- matplotlib>=3.5.3
- metpy
- netcdf4
- numpy>=1.25
- pandas>=2.0
- pygrib>=2.1.4
- pylint
- pyproj>=3.6
- requests>=2.31
- s3fs
- toml
#- wgrib2 # ONLY AVAILABLE ON LINUX. Uncomment if you want this optional dependency.
- jupyter
- jupyterlab
- xarray>=2023.7
- zarr
- pip:
# Borrow some tools from my garage
- git+https://github.com/blaylockbk/Carpenter_Workshop.git
+ - git+https://github.com/blaylockbk/Herbie.gitThen create the environment with |
Beta Was this translation helpful? Give feedback.
(I've been meaning to release a new version of Herbie to PyPi; But I'm waiting for the next release of MetPy)
What version of Python are you using? I've pretty much moved on to python 3.11 and haven't tested anything earlier.
I usually create conda envrionments from a file like https://github.com/blaylockbk/Herbie/blob/main/environment.yml
Instead of installing herbie-data from conda forge, you can install Herbie from GitHub (note the deletion and insertion below...)
name: herbie channels: - conda-forge dependencies: - python>=3.11 - pip - rclone # Not used by Herbie, useful if you are downloading data (https://rclone.org/) - …