Skip to content

Commit

Permalink
Update dependencies with explict versions in env.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
sunt05 committed Dec 13, 2023
1 parent 65fa1c7 commit 09fdab6
Showing 1 changed file with 29 additions and 27 deletions.
56 changes: 29 additions & 27 deletions env.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
name: py_building
name: shafts-dev
channels:
- conda-forge
- pytorch
- anaconda
- defaults
dependencies:
# - gdal>=3.0.0
- pytorch
- torchvision
- numpy
- matplotlib
- scipy
- pandas
- albumentations
- scikit-learn
- scikit-image
- xgboost
- py-xgboost
- h5py
- shapely
- geopandas
- rasterio
- python-lmdb
- kneed
- pyarrow
- opencv
- earthengine-api
- pytest
- pip
- albumentations=1.3.1
- black=23.11.0
- earthengine-api=0.1.383
- geopandas=0.14.1
- geopandas-base=0.14.1
- h5py=3.10.0
- kneed=0.8.5
- matplotlib=3.8.2
- matplotlib-base=3.8.2
- numpy=1.26.2
- opencv=4.8.1
- pandas=2.1.4
- pip=23.3.1
- py-xgboost=1.7.6
- pytest=7.4.3
- python=3.11.6
- python-dateutil=2.8.2
- python-lmdb=1.4.1
- python-tzdata=2023.3
- python_abi=3.11
- rasterio=1.3.9
- scikit-image=0.22.0
- scikit-learn=1.3.2
- scipy=1.11.4
- shapely=2.0.2
- torchvision=0.16.1
- xgboost=1.7.6
- pip:
- gcloud
- tensorflow>=2.13.0
- tensorflow-probability
- gcloud

3 comments on commit 09fdab6

@BehnamZargham
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
when I want to install " mamba env create -f env.yml " I receive this error : formatter = getattr(module, splitted[-1])
AttributeError: module 'env' has no attribute 'yml'
How I can solve this ?

@sunt05
Copy link
Collaborator Author

@sunt05 sunt05 commented on 09fdab6 Mar 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, mamba is a command line tool and should be run outside of Python. See here for its installation: https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html

@BehnamZargham
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
I have 2 Image from sentinel 1 And sentinel 2 from a city , how I can use this Image in SHAFTS?

Please sign in to comment.