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

failed conda install on windows10 #561

Closed
SkirOwen opened this issue Jun 7, 2022 · 15 comments
Closed

failed conda install on windows10 #561

SkirOwen opened this issue Jun 7, 2022 · 15 comments
Assignees

Comments

@SkirOwen
Copy link

SkirOwen commented Jun 7, 2022

I was trying to install torchgeo on windows 10 using conda on a new env, I got the following error

>conda create -n torch-geo-test python=3.10
>conda install torchgeo -c conda-forge

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining @/win-64::__win==0=0: 100%|████████████████████████████████████████████████████| 5/5 [00:01<00:00,  2.72it/s]|
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions
Note that strict channel priority may have removed packages required for satisfiability.

However, a week ago, I installed it on another environment for testing a week ago, and it worked perfectly.
I also tried the same thing on WSL2 (ubuntu 22.04), and it worked.

@SkirOwen
Copy link
Author

SkirOwen commented Jun 7, 2022

edit:
I now realise I cannot install it using conda on windows, but need to use pip.

@SkirOwen SkirOwen closed this as completed Jun 7, 2022
@adamjstewart
Copy link
Collaborator

Hmm, Windows installation should still work as far as I know. Let me see if I can get to the bottom of this.

@adamjstewart adamjstewart reopened this Jun 7, 2022
@ashnair1
Copy link
Collaborator

ashnair1 commented Jun 7, 2022

I believe I added that note because PyTorch (from conda-forge) and pycocotools weren't available on windows. Since we've now switched to the PyTorch channel for PyTorch and esri channel for pycocotools, this should now work for windows.

Also it seems esri pycocotools is not available on macOS.

@adamjstewart
Copy link
Collaborator

Are you on the latest commit from the main branch? https://github.com/microsoft/torchgeo/commits/main/environment.yml gives the history of our environment.yml file, you can try undoing some of those changes and figure out what broke things. I wish conda gave literally any error message...

@SkirOwen
Copy link
Author

SkirOwen commented Jun 8, 2022

I fixed the issue by reinstalling anaconda.

I was following the documentation to install torchgeo and run:

$ conda config --add channels conda-forge
$ conda config --set channel_priority strict

I think these lines (especially the second one) messed up my conda settings since a lot of other packages could not be installed.

Maybe removing the line

$ conda config --set channel_priority strict

from the docs would prevent future issues

@adamjstewart
Copy link
Collaborator

That seems like a good suggestion to me. Want to open a PR to remove that line?

@calebrob6
Copy link
Member

calebrob6 commented Jun 8, 2022 via email

@SkirOwen
Copy link
Author

SkirOwen commented Jun 8, 2022

After running pytest

With conda install and not strict channel:

================================================= test session starts =================================================
platform win32 -- Python 3.10.4, pytest-7.1.2, pluggy-1.0.0
rootdir: G:\torchgeo, configfile: pyproject.toml, testpaths: tests, docs/tutorials
plugins: cov-3.0.0
collected 1188 items / 112 deselected / 4 skipped / 1076 selected

tests\datamodules\test_chesapeake.py ..                                                                          [  0%]
tests\datamodules\test_fair1m.py ......                                                                          [  0%]
tests\datamodules\test_inria.py ............                                                                     [  1%]
tests\datamodules\test_loveda.py ...                                                                             [  2%]
tests\datamodules\test_nasa_marine_debris.py ...                                                                 [  2%]
tests\datamodules\test_oscd.py ......                                                                            [  2%]
tests\datamodules\test_potsdam.py ......                                                                         [  3%]
tests\datamodules\test_utils.py .                                                                                [  3%]
tests\datamodules\test_vaihingen.py ......                                                                       [  4%]
tests\datamodules\test_xview2.py ......                                                                          [  4%]
tests\datasets\test_advance.py ......                                                                            [  5%]
tests\datasets\test_agb_live_woody_density.py .......                                                            [  5%]
tests\datasets\test_astergdem.py .......                                                                         [  6%]
tests\datasets\test_benin_cashews.py ssss..ss                                                                    [  7%]
tests\datasets\test_bigearthnet.py ................                                                              [  8%]
tests\datasets\test_cbf.py ........                                                                              [  9%]
tests\datasets\test_cdl.py ..........                                                                            [ 10%]
tests\datasets\test_cms_mangrove_canopy.py ..........                                                            [ 11%]
tests\datasets\test_cowc.py .............................                                                        [ 14%]
tests\datasets\test_cv4a_kenya_crop_type.py sssss.s.ss                                                           [ 15%]
tests\datasets\test_cyclone.py ssssssssss..ss                                                                    [ 16%]
tests\datasets\test_dfc2022.py .............                                                                     [ 17%]
tests\datasets\test_eddmaps.py .......                                                                           [ 18%]
tests\datasets\test_enviroatlas.py .......................                                                       [ 20%]
tests\datasets\test_esri2020.py ..........                                                                       [ 21%]
tests\datasets\test_etci2021.py ..............                                                                   [ 22%]
tests\datasets\test_eudem.py .........                                                                           [ 23%]
tests\datasets\test_eurosat.py ........................                                                          [ 25%]
tests\datasets\test_fair1m.py .......                                                                            [ 26%]
tests\datasets\test_forestdamage.py ........                                                                     [ 27%]
tests\datasets\test_gbif.py .......                                                                              [ 27%]
tests\datasets\test_geo.py .......................................................                               [ 32%]
tests\datasets\test_gid15.py ..............                                                                      [ 34%]
tests\datasets\test_globbiomass.py .........                                                                     [ 34%]
tests\datasets\test_idtrees.py .......................sss                                                        [ 37%]
tests\datasets\test_inaturalist.py .......                                                                       [ 38%]
tests\datasets\test_inria.py ...........                                                                         [ 39%]
tests\datasets\test_landcoverai.py ..................                                                            [ 40%]
tests\datasets\test_landsat.py ......                                                                            [ 41%]
tests\datasets\test_levircd.py ..........                                                                        [ 42%]
tests\datasets\test_loveda.py ...............                                                                    [ 43%]
tests\datasets\test_naip.py ......                                                                               [ 44%]
tests\datasets\test_nasa_marine_debris.py ssss.s                                                                 [ 44%]
tests\datasets\test_openbuildings.py ............                                                                [ 45%]
tests\datasets\test_oscd.py ............                                                                         [ 46%]
tests\datasets\test_patternnet.py ...........                                                                    [ 47%]
tests\datasets\test_potsdam.py ..........                                                                        [ 48%]
tests\datasets\test_resisc45.py ssssssssssssssss                                                                 [ 50%]
tests\datasets\test_seco.py ..............                                                                       [ 51%]
tests\datasets\test_sen12ms.py .................                                                                 [ 53%]
tests\datasets\test_sentinel.py ........                                                                         [ 53%]
tests\datasets\test_spacenet.py ssssss.ssssssssssssss.ssssssssssssss.sssssssssssss.ssssssssssss.ssssssssss.ssss  [ 61%]
tests\datasets\test_ucmerced.py ...................                                                              [ 63%]
tests\datasets\test_usavars.py ........                                                                          [ 63%]
tests\datasets\test_utils.py .ssssss....ss...................................................................... [ 71%]
..............................                                                                                   [ 74%]
tests\datasets\test_vaihingen.py ..........                                                                      [ 75%]
tests\datasets\test_xview2.py ..........                                                                         [ 76%]
tests\losses\test_qr.py ..                                                                                       [ 76%]
tests\models\test_changestar.py ..................................................................               [ 82%]
tests\models\test_farseg.py .......                                                                              [ 83%]
tests\models\test_fcn.py ....                                                                                    [ 83%]
tests\models\test_fcsiam.py ....................                                                                 [ 85%]
tests\models\test_rcf.py .....                                                                                   [ 85%]
tests\models\test_resnet.py .                                                                                    [ 85%]
tests\samplers\test_batch.py ...........................                                                         [ 88%]
tests\samplers\test_single.py .........................................................                          [ 93%]
tests\trainers\test_byol.py ....                                                                                 [ 94%]
tests\trainers\test_classification.py ..ss..............                                                         [ 95%]
tests\trainers\test_regression.py ....                                                                           [ 96%]
tests\trainers\test_segmentation.py ....s.........                                                               [ 97%]
tests\trainers\test_utils.py ..........                                                                          [ 98%]
tests\transforms\test_indices.py ............                                                                    [ 99%]
tests\transforms\test_transforms.py .....                                                                        [100%]

================================================== warnings summary ===================================================
..\anaconda3\envs\geo\lib\site-packages\torchvision\transforms\functional_pil.py:228
  G:\anaconda3\envs\geo\lib\site-packages\torchvision\transforms\functional_pil.py:228: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    interpolation: int = Image.BILINEAR,

..\anaconda3\envs\geo\lib\site-packages\torchvision\transforms\functional_pil.py:295
  G:\anaconda3\envs\geo\lib\site-packages\torchvision\transforms\functional_pil.py:295: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    interpolation: int = Image.NEAREST,

..\anaconda3\envs\geo\lib\site-packages\torchvision\transforms\functional_pil.py:311
  G:\anaconda3\envs\geo\lib\site-packages\torchvision\transforms\functional_pil.py:311: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    interpolation: int = Image.NEAREST,

..\anaconda3\envs\geo\lib\site-packages\torchvision\transforms\functional_pil.py:328
  G:\anaconda3\envs\geo\lib\site-packages\torchvision\transforms\functional_pil.py:328: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    interpolation: int = Image.BICUBIC,

..\anaconda3\envs\geo\lib\site-packages\torch\utils\tensorboard\__init__.py:4
..\anaconda3\envs\geo\lib\site-packages\torch\utils\tensorboard\__init__.py:4
  G:\anaconda3\envs\geo\lib\site-packages\torch\utils\tensorboard\__init__.py:4: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if not hasattr(tensorboard, '__version__') or LooseVersion(tensorboard.__version__) < LooseVersion('1.15'):

..\anaconda3\envs\geo\lib\site-packages\pretrainedmodels\datasets\utils.py:33
  G:\anaconda3\envs\geo\lib\site-packages\pretrainedmodels\datasets\utils.py:33: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    def __init__(self, size, interpolation=Image.BILINEAR):

..\anaconda3\envs\geo\lib\site-packages\timm\data\auto_augment.py:41
  G:\anaconda3\envs\geo\lib\site-packages\timm\data\auto_augment.py:41: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

..\anaconda3\envs\geo\lib\site-packages\timm\data\auto_augment.py:41
  G:\anaconda3\envs\geo\lib\site-packages\timm\data\auto_augment.py:41: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

..\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:34
  G:\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:34: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    Image.NEAREST: 'PIL.Image.NEAREST',

..\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:35
  G:\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:35: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    Image.BILINEAR: 'PIL.Image.BILINEAR',

..\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:36
  G:\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:36: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    Image.BICUBIC: 'PIL.Image.BICUBIC',

..\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:37
  G:\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:37: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
    Image.LANCZOS: 'PIL.Image.LANCZOS',

..\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:38
  G:\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:38: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
    Image.HAMMING: 'PIL.Image.HAMMING',

..\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:39
  G:\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:39: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
    Image.BOX: 'PIL.Image.BOX',

..\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:55
  G:\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:55: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

..\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:55
  G:\anaconda3\envs\geo\lib\site-packages\timm\data\transforms.py:55: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

tests/datasets/test_eddmaps.py: 1 warning
tests/datasets/test_gbif.py: 1 warning
tests/datasets/test_geo.py: 20 warnings
tests/datasets/test_inaturalist.py: 1 warning
tests/trainers/test_byol.py: 2 warnings
tests/trainers/test_segmentation.py: 1 warning
  G:\anaconda3\envs\geo\lib\site-packages\rtree\index.py:290: DeprecationWarning: index.get_size() is deprecated, use len(index) instead
    warnings.warn(

tests/datasets/test_seco.py: 90 warnings
  G:\torchgeo\torchgeo\datasets\seco.py:184: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    pil_image.resize((264, 264), resample=Image.BILINEAR)

tests/trainers/test_byol.py: 2 warnings
tests/trainers/test_classification.py: 8 warnings
tests/trainers/test_regression.py: 4 warnings
tests/trainers/test_segmentation.py: 15 warnings
  G:\anaconda3\envs\geo\lib\site-packages\torchmetrics\utilities\prints.py:36: UserWarning: Torchmetrics v0.9 introduced a new argument class property called `full_state_update` that has
                  not been set for this class (ResultMetric). The property determines if `update` by
                  default needs access to the full metric state. If this is not the case, significant speedups can be
                  achieved and we recommend setting this to `False`.
                  We provide an checking function
                  `from torchmetrics.utilities import check_forward_no_full_state`
                  that can be used to check if the `full_state_update=True` (old and potential slower behaviour,
                  default for now) or if `full_state_update=False` can be used safely.

    warnings.warn(*args, **kwargs)

tests/trainers/test_classification.py::TestClassificationTask::test_trainer[resisc45-RESISC45DataModule]
tests/trainers/test_segmentation.py::TestSemanticSegmentationTask::test_trainer[landcoverai-LandCoverAIDataModule]
tests/trainers/test_segmentation.py::TestSemanticSegmentationTask::test_no_logger
  G:\anaconda3\envs\geo\lib\site-packages\kornia\augmentation\_2d\intensity\color_jitter.py:83: DeprecationWarning: `ColorJitter` is now following Torchvision implementation. Old behavior can be retrieved by instantiating `ColorJiggle`.
    warnings.warn(

tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_no_logger
tests/trainers/test_regression.py::TestRegressionTask::test_no_logger
tests/trainers/test_regression.py::TestRegressionTask::test_no_logger
  G:\torchgeo\torchgeo\datasets\cyclone.py:146: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    img = img.resize(size=(self.size, self.size), resample=Image.BILINEAR)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================== 942 passed, 138 skipped, 112 deselected, 173 warnings in 80.89s (0:01:20) ======================

With pip (pandas was not installed when using pip) to compare, (rasterio and fiona were install through conda):

================================================= test session starts =================================================
platform win32 -- Python 3.10.4, pytest-7.1.2, pluggy-1.0.0
rootdir: G:\torchgeo, configfile: pyproject.toml, testpaths: tests, docs/tutorials
plugins: cov-3.0.0
collected 1162 items / 112 deselected / 5 skipped / 1050 selected

tests\datamodules\test_chesapeake.py ..                                                                          [  0%]
tests\datamodules\test_fair1m.py ......                                                                          [  0%]
tests\datamodules\test_inria.py ............                                                                     [  1%]
tests\datamodules\test_loveda.py ...                                                                             [  2%]
tests\datamodules\test_nasa_marine_debris.py ...                                                                 [  2%]
tests\datamodules\test_oscd.py ......                                                                            [  3%]
tests\datamodules\test_potsdam.py ......                                                                         [  3%]
tests\datamodules\test_utils.py .                                                                                [  3%]
tests\datamodules\test_vaihingen.py ......                                                                       [  4%]
tests\datamodules\test_xview2.py ......                                                                          [  4%]
tests\datasets\test_advance.py ......                                                                            [  5%]
tests\datasets\test_agb_live_woody_density.py .......                                                            [  6%]
tests\datasets\test_astergdem.py .......                                                                         [  6%]
tests\datasets\test_benin_cashews.py ssss..ss                                                                    [  7%]
tests\datasets\test_bigearthnet.py ................                                                              [  9%]
tests\datasets\test_cbf.py ........                                                                              [  9%]
tests\datasets\test_cdl.py ..........                                                                            [ 10%]
tests\datasets\test_cms_mangrove_canopy.py ..........                                                            [ 11%]
tests\datasets\test_cowc.py .............................                                                        [ 14%]
tests\datasets\test_cv4a_kenya_crop_type.py sssss.s.ss                                                           [ 15%]
tests\datasets\test_cyclone.py ssssssssss..ss                                                                    [ 16%]
tests\datasets\test_dfc2022.py .............                                                                     [ 18%]
tests\datasets\test_eddmaps.py .......                                                                           [ 18%]
tests\datasets\test_enviroatlas.py .......................                                                       [ 20%]
tests\datasets\test_esri2020.py ..........                                                                       [ 21%]
tests\datasets\test_etci2021.py ..............                                                                   [ 23%]
tests\datasets\test_eudem.py .........                                                                           [ 24%]
tests\datasets\test_eurosat.py ........................                                                          [ 26%]
tests\datasets\test_fair1m.py .......                                                                            [ 26%]
tests\datasets\test_forestdamage.py ........                                                                     [ 27%]
tests\datasets\test_gbif.py .......                                                                              [ 28%]
tests\datasets\test_geo.py .......................................................                               [ 33%]
tests\datasets\test_gid15.py ..............                                                                      [ 34%]
tests\datasets\test_globbiomass.py .........                                                                     [ 35%]
tests\datasets\test_inaturalist.py .......                                                                       [ 36%]
tests\datasets\test_inria.py ...........                                                                         [ 37%]
tests\datasets\test_landcoverai.py ..................                                                            [ 39%]
tests\datasets\test_landsat.py ......                                                                            [ 39%]
tests\datasets\test_levircd.py ..........                                                                        [ 40%]
tests\datasets\test_loveda.py ...............                                                                    [ 42%]
tests\datasets\test_naip.py ......                                                                               [ 42%]
tests\datasets\test_nasa_marine_debris.py ssss.s                                                                 [ 43%]
tests\datasets\test_openbuildings.py ............                                                                [ 44%]
tests\datasets\test_oscd.py ............                                                                         [ 45%]
tests\datasets\test_patternnet.py ...........                                                                    [ 46%]
tests\datasets\test_potsdam.py ..........                                                                        [ 47%]
tests\datasets\test_resisc45.py ssssssssssssssss                                                                 [ 49%]
tests\datasets\test_seco.py ..............                                                                       [ 50%]
tests\datasets\test_sen12ms.py .................                                                                 [ 52%]
tests\datasets\test_sentinel.py ........                                                                         [ 52%]
tests\datasets\test_spacenet.py ssssss.ssssssssssssss.ssssssssssssss.sssssssssssss.ssssssssssss.ssssssssss.ssss  [ 60%]
tests\datasets\test_ucmerced.py ...................                                                              [ 62%]
tests\datasets\test_usavars.py ........                                                                          [ 62%]
tests\datasets\test_utils.py .ssssss....ss...................................................................... [ 70%]
..............................                                                                                   [ 73%]
tests\datasets\test_vaihingen.py ..........                                                                      [ 74%]
tests\datasets\test_xview2.py ..........                                                                         [ 75%]
tests\losses\test_qr.py ..                                                                                       [ 75%]
tests\models\test_changestar.py ..................................................................               [ 82%]
tests\models\test_farseg.py .......                                                                              [ 82%]
tests\models\test_fcn.py ....                                                                                    [ 83%]
tests\models\test_fcsiam.py ....................                                                                 [ 85%]
tests\models\test_rcf.py .....                                                                                   [ 85%]
tests\models\test_resnet.py .                                                                                    [ 85%]
tests\samplers\test_batch.py ...........................                                                         [ 88%]
tests\samplers\test_single.py .........................................................                          [ 93%]
tests\trainers\test_byol.py ....                                                                                 [ 94%]
tests\trainers\test_classification.py ..ss..............                                                         [ 95%]
tests\trainers\test_regression.py ....                                                                           [ 96%]
tests\trainers\test_segmentation.py ....s.........                                                               [ 97%]
tests\trainers\test_utils.py ..........                                                                          [ 98%]
tests\transforms\test_indices.py ............                                                                    [ 99%]
tests\transforms\test_transforms.py .....                                                                        [100%]

================================================== warnings summary ===================================================
..\anaconda3\envs\pip_torch\lib\site-packages\torchvision\transforms\functional_pil.py:228
  G:\anaconda3\envs\pip_torch\lib\site-packages\torchvision\transforms\functional_pil.py:228: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    interpolation: int = Image.BILINEAR,

..\anaconda3\envs\pip_torch\lib\site-packages\torchvision\transforms\functional_pil.py:295
  G:\anaconda3\envs\pip_torch\lib\site-packages\torchvision\transforms\functional_pil.py:295: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    interpolation: int = Image.NEAREST,

..\anaconda3\envs\pip_torch\lib\site-packages\torchvision\transforms\functional_pil.py:311
  G:\anaconda3\envs\pip_torch\lib\site-packages\torchvision\transforms\functional_pil.py:311: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    interpolation: int = Image.NEAREST,

..\anaconda3\envs\pip_torch\lib\site-packages\torchvision\transforms\functional_pil.py:328
  G:\anaconda3\envs\pip_torch\lib\site-packages\torchvision\transforms\functional_pil.py:328: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    interpolation: int = Image.BICUBIC,

..\anaconda3\envs\pip_torch\lib\site-packages\torch\utils\tensorboard\__init__.py:4
..\anaconda3\envs\pip_torch\lib\site-packages\torch\utils\tensorboard\__init__.py:4
  G:\anaconda3\envs\pip_torch\lib\site-packages\torch\utils\tensorboard\__init__.py:4: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if not hasattr(tensorboard, '__version__') or LooseVersion(tensorboard.__version__) < LooseVersion('1.15'):

..\anaconda3\envs\pip_torch\lib\site-packages\pretrainedmodels\datasets\utils.py:33
  G:\anaconda3\envs\pip_torch\lib\site-packages\pretrainedmodels\datasets\utils.py:33: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    def __init__(self, size, interpolation=Image.BILINEAR):

..\anaconda3\envs\pip_torch\lib\site-packages\timm\data\auto_augment.py:41
  G:\anaconda3\envs\pip_torch\lib\site-packages\timm\data\auto_augment.py:41: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

..\anaconda3\envs\pip_torch\lib\site-packages\timm\data\auto_augment.py:41
  G:\anaconda3\envs\pip_torch\lib\site-packages\timm\data\auto_augment.py:41: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

..\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:34
  G:\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:34: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    Image.NEAREST: 'PIL.Image.NEAREST',

..\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:35
  G:\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:35: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    Image.BILINEAR: 'PIL.Image.BILINEAR',

..\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:36
  G:\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:36: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    Image.BICUBIC: 'PIL.Image.BICUBIC',

..\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:37
  G:\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:37: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
    Image.LANCZOS: 'PIL.Image.LANCZOS',

..\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:38
  G:\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:38: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
    Image.HAMMING: 'PIL.Image.HAMMING',

..\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:39
  G:\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:39: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
    Image.BOX: 'PIL.Image.BOX',

..\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:55
  G:\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:55: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

..\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:55
  G:\anaconda3\envs\pip_torch\lib\site-packages\timm\data\transforms.py:55: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

tests/datasets/test_eddmaps.py: 1 warning
tests/datasets/test_gbif.py: 1 warning
tests/datasets/test_geo.py: 20 warnings
tests/datasets/test_inaturalist.py: 1 warning
tests/trainers/test_byol.py: 2 warnings
tests/trainers/test_segmentation.py: 1 warning
  G:\anaconda3\envs\pip_torch\lib\site-packages\rtree\index.py:290: DeprecationWarning: index.get_size() is deprecated, use len(index) instead
    warnings.warn(

tests/datasets/test_seco.py: 90 warnings
  G:\torchgeo\torchgeo\datasets\seco.py:184: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    pil_image.resize((264, 264), resample=Image.BILINEAR)

tests/trainers/test_byol.py: 2 warnings
tests/trainers/test_classification.py: 8 warnings
tests/trainers/test_regression.py: 3 warnings
tests/trainers/test_segmentation.py: 11 warnings
  G:\anaconda3\envs\pip_torch\lib\site-packages\pytorch_lightning\loops\utilities.py:91: PossibleUserWarning: `max_epochs` was not set. Setting it to 1000 epochs. To train without an epoch limit, set `max_epochs=-1`.
    rank_zero_warn(

tests/trainers/test_byol.py: 2 warnings
tests/trainers/test_classification.py: 8 warnings
tests/trainers/test_regression.py: 4 warnings
tests/trainers/test_segmentation.py: 15 warnings
  G:\anaconda3\envs\pip_torch\lib\site-packages\torchmetrics\utilities\prints.py:36: UserWarning: Torchmetrics v0.9 introduced a new argument class property called `full_state_update` that has
                  not been set for this class (_ResultMetric). The property determines if `update` by
                  default needs access to the full metric state. If this is not the case, significant speedups can be
                  achieved and we recommend setting this to `False`.
                  We provide an checking function
                  `from torchmetrics.utilities import check_forward_no_full_state`
                  that can be used to check if the `full_state_update=True` (old and potential slower behaviour,
                  default for now) or if `full_state_update=False` can be used safely.

    warnings.warn(*args, **kwargs)

tests/trainers/test_classification.py::TestClassificationTask::test_trainer[resisc45-RESISC45DataModule]
tests/trainers/test_segmentation.py::TestSemanticSegmentationTask::test_trainer[landcoverai-LandCoverAIDataModule]
tests/trainers/test_segmentation.py::TestSemanticSegmentationTask::test_no_logger
  G:\anaconda3\envs\pip_torch\lib\site-packages\kornia\augmentation\_2d\intensity\color_jitter.py:83: DeprecationWarning: `ColorJitter` is now following Torchvision implementation. Old behavior can be retrieved by instantiating `ColorJiggle`.
    warnings.warn(

tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_no_logger
tests/trainers/test_regression.py::TestRegressionTask::test_no_logger
  G:\torchgeo\torchgeo\datasets\cyclone.py:146: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    img = img.resize(size=(self.size, self.size), resample=Image.BILINEAR)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================== 919 passed, 136 skipped, 112 deselected, 194 warnings in 71.74s (0:01:11) ======================

With conda and strict channel priority on WSL Ubuntu 22.04 (pandas also did not install):

========================================= test session starts ==========================================
platform linux -- Python 3.10.4, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/owen/torchgeo, configfile: pyproject.toml, testpaths: tests, docs/tutorials
plugins: cov-3.0.0
collected 1162 items / 112 deselected / 5 skipped / 1050 selected

tests/datamodules/test_chesapeake.py ..                                                          [  0%]
tests/datamodules/test_fair1m.py ......                                                          [  0%]
tests/datamodules/test_inria.py ............                                                     [  1%]
tests/datamodules/test_loveda.py ...                                                             [  2%]
tests/datamodules/test_nasa_marine_debris.py ...                                                 [  2%]
tests/datamodules/test_oscd.py ......                                                            [  3%]
tests/datamodules/test_potsdam.py ......                                                         [  3%]
tests/datamodules/test_utils.py .                                                                [  3%]
tests/datamodules/test_vaihingen.py ......                                                       [  4%]
tests/datamodules/test_xview2.py ......                                                          [  4%]
tests/datasets/test_advance.py ......                                                            [  5%]
tests/datasets/test_agb_live_woody_density.py .......                                            [  6%]
tests/datasets/test_astergdem.py .......                                                         [  6%]
tests/datasets/test_benin_cashews.py ssss..ss                                                    [  7%]
tests/datasets/test_bigearthnet.py ................                                              [  9%]
tests/datasets/test_cbf.py ........                                                              [  9%]
tests/datasets/test_cdl.py ..........                                                            [ 10%]
tests/datasets/test_cms_mangrove_canopy.py ..........                                            [ 11%]
tests/datasets/test_cowc.py .............................                                        [ 14%]
tests/datasets/test_cv4a_kenya_crop_type.py sssss.s.ss                                           [ 15%]
tests/datasets/test_cyclone.py ssssssssss..ss                                                    [ 16%]
tests/datasets/test_dfc2022.py .............                                                     [ 18%]
tests/datasets/test_eddmaps.py .......                                                           [ 18%]
tests/datasets/test_enviroatlas.py .......................                                       [ 20%]
tests/datasets/test_esri2020.py ..........                                                       [ 21%]
tests/datasets/test_etci2021.py ..............                                                   [ 23%]
tests/datasets/test_eudem.py .........                                                           [ 24%]
tests/datasets/test_eurosat.py ........................                                          [ 26%]
tests/datasets/test_fair1m.py .......                                                            [ 26%]
tests/datasets/test_forestdamage.py ........                                                     [ 27%]
tests/datasets/test_gbif.py .......                                                              [ 28%]
tests/datasets/test_geo.py .......................................................               [ 33%]
tests/datasets/test_gid15.py ..............                                                      [ 34%]
tests/datasets/test_globbiomass.py .........                                                     [ 35%]
tests/datasets/test_inaturalist.py .......                                                       [ 36%]
tests/datasets/test_inria.py ...........                                                         [ 37%]
tests/datasets/test_landcoverai.py ..................                                            [ 39%]
tests/datasets/test_landsat.py ......                                                            [ 39%]
tests/datasets/test_levircd.py ..........                                                        [ 40%]
tests/datasets/test_loveda.py ...............                                                    [ 42%]
tests/datasets/test_naip.py ......                                                               [ 42%]
tests/datasets/test_nasa_marine_debris.py ssss.s                                                 [ 43%]
tests/datasets/test_openbuildings.py ............                                                [ 44%]
tests/datasets/test_oscd.py ............                                                         [ 45%]
tests/datasets/test_patternnet.py ...........                                                    [ 46%]
tests/datasets/test_potsdam.py ..........                                                        [ 47%]
tests/datasets/test_resisc45.py ssssssssssss.sss                                                 [ 49%]
tests/datasets/test_seco.py ..............                                                       [ 50%]
tests/datasets/test_sen12ms.py .................                                                 [ 52%]
tests/datasets/test_sentinel.py ........                                                         [ 52%]
tests/datasets/test_spacenet.py ssssss.ssssssssssssss.ssssssssssssss.sssssssssssss.ssssssssssss. [ 58%]
ssssssssss.ssss                                                                                  [ 60%]
tests/datasets/test_ucmerced.py ...................                                              [ 62%]
tests/datasets/test_usavars.py ........                                                          [ 62%]
tests/datasets/test_utils.py ...s.s.....ss...................................................... [ 69%]
..............................................                                                   [ 73%]
tests/datasets/test_vaihingen.py ..........                                                      [ 74%]
tests/datasets/test_xview2.py ..........                                                         [ 75%]
tests/losses/test_qr.py ..                                                                       [ 75%]
tests/models/test_changestar.py ................................................................ [ 81%]
..                                                                                               [ 82%]
tests/models/test_farseg.py .......                                                              [ 82%]
tests/models/test_fcn.py ....                                                                    [ 83%]
tests/models/test_fcsiam.py ....................                                                 [ 85%]
tests/models/test_rcf.py .....                                                                   [ 85%]
tests/models/test_resnet.py .                                                                    [ 85%]
tests/samplers/test_batch.py ...........................                                         [ 88%]
tests/samplers/test_single.py .........................................................          [ 93%]
tests/trainers/test_byol.py ....                                                                 [ 94%]
tests/trainers/test_classification.py ..ss..............                                         [ 95%]
tests/trainers/test_regression.py ....                                                           [ 96%]
tests/trainers/test_segmentation.py ....s.........                                               [ 97%]
tests/trainers/test_utils.py ..........                                                          [ 98%]
tests/transforms/test_indices.py ............                                                    [ 99%]
tests/transforms/test_transforms.py .....                                                        [100%]

=========================================== warnings summary ===========================================
../anaconda3/envs/conda-geo/lib/python3.10/site-packages/torchvision/transforms/functional_pil.py:228
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/torchvision/transforms/functional_pil.py:228: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    interpolation: int = Image.BILINEAR,

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/torchvision/transforms/functional_pil.py:295
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/torchvision/transforms/functional_pil.py:295: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    interpolation: int = Image.NEAREST,

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/torchvision/transforms/functional_pil.py:311
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/torchvision/transforms/functional_pil.py:311: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    interpolation: int = Image.NEAREST,

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/torchvision/transforms/functional_pil.py:328
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/torchvision/transforms/functional_pil.py:328: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    interpolation: int = Image.BICUBIC,

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/torch/utils/tensorboard/__init__.py:4
../anaconda3/envs/conda-geo/lib/python3.10/site-packages/torch/utils/tensorboard/__init__.py:4
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/torch/utils/tensorboard/__init__.py:4: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if not hasattr(tensorboard, '__version__') or LooseVersion(tensorboard.__version__) < LooseVersion('1.15'):

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/pretrainedmodels/datasets/utils.py:33
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/pretrainedmodels/datasets/utils.py:33: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    def __init__(self, size, interpolation=Image.BILINEAR):

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/auto_augment.py:41
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/auto_augment.py:41: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/auto_augment.py:41
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/auto_augment.py:41: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:34
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:34: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    Image.NEAREST: 'PIL.Image.NEAREST',

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:35
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:35: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    Image.BILINEAR: 'PIL.Image.BILINEAR',

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:36
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:36: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    Image.BICUBIC: 'PIL.Image.BICUBIC',

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:37
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:37: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
    Image.LANCZOS: 'PIL.Image.LANCZOS',

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:38
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:38: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
    Image.HAMMING: 'PIL.Image.HAMMING',

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:39
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:39: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
    Image.BOX: 'PIL.Image.BOX',

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:55
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:55: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

../anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:55
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/timm/data/transforms.py:55: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    _RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)

tests/datasets/test_eddmaps.py: 1 warning
tests/datasets/test_gbif.py: 1 warning
tests/datasets/test_geo.py: 20 warnings
tests/datasets/test_inaturalist.py: 1 warning
tests/trainers/test_byol.py: 2 warnings
tests/trainers/test_segmentation.py: 1 warning
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/rtree/index.py:290: DeprecationWarning: index.get_size() is deprecated, use len(index) instead
    warnings.warn(

tests/datasets/test_seco.py: 90 warnings
  /home/owen/torchgeo/torchgeo/datasets/seco.py:184: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    pil_image.resize((264, 264), resample=Image.BILINEAR)

tests/trainers/test_byol.py::TestBYOLTask::test_trainer[chesapeake_cvpr_7-ChesapeakeCVPRDataModule]
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/torch/distributed/_sharded_tensor/__init__.py:8: DeprecationWarning: torch.distributed._sharded_tensor will be deprecated, use torch.distributed._shard.sharded_tensor instead
    warnings.warn(

tests/trainers/test_byol.py: 2 warnings
tests/trainers/test_classification.py: 8 warnings
tests/trainers/test_regression.py: 4 warnings
tests/trainers/test_segmentation.py: 15 warnings
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/torchmetrics/utilities/prints.py:36: UserWarning: Torchmetrics v0.9 introduced a new argument class property called `full_state_update` that has
                  not been set for this class (ResultMetric). The property determines if `update` by
                  default needs access to the full metric state. If this is not the case, significant speedups can be
                  achieved and we recommend setting this to `False`.
                  We provide an checking function
                  `from torchmetrics.utilities import check_forward_no_full_state`
                  that can be used to check if the `full_state_update=True` (old and potential slower behaviour,
                  default for now) or if `full_state_update=False` can be used safely.

    warnings.warn(*args, **kwargs)

tests/trainers/test_classification.py::TestClassificationTask::test_trainer[resisc45-RESISC45DataModule]
tests/trainers/test_segmentation.py::TestSemanticSegmentationTask::test_trainer[landcoverai-LandCoverAIDataModule]
tests/trainers/test_segmentation.py::TestSemanticSegmentationTask::test_no_logger
  /home/owen/anaconda3/envs/conda-geo/lib/python3.10/site-packages/kornia/augmentation/_2d/intensity/color_jitter.py:83: DeprecationWarning: `ColorJitter` is now following Torchvision implementation. Old behavior can be retrieved by instantiating `ColorJiggle`.
    warnings.warn(

tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_trainer[cyclone-CycloneDataModule]
tests/trainers/test_regression.py::TestRegressionTask::test_no_logger
tests/trainers/test_regression.py::TestRegressionTask::test_no_logger
tests/trainers/test_regression.py::TestRegressionTask::test_no_logger
  /home/owen/torchgeo/torchgeo/datasets/cyclone.py:146: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    img = img.resize(size=(self.size, self.size), resample=Image.BILINEAR)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=================== 924 passed, 131 skipped, 112 deselected, 174 warnings in 41.98s ====================

@adamjstewart
Copy link
Collaborator

Actually, @calebrob6 makes a good point. Setting channel_priority: strict should force conda to only use the channels listed in environment.yml. See https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html for documentation.

Can you run conda list and pip list in your working environment and post the output here? That will tell us what channel it's using for these dependencies.

P.S. All of the verbose warning messages you see in the pytest output will be fixed by #567.

@SkirOwen
Copy link
Author

conda list and pip list are similar. conda lists more packages, and gives the channel and the build, so I only put the output of conda list

I have done some testing in my project environment (torchgeo and other packages), and two clean environments: one with only torchgeo and one with pytorch first, then torchgeo

NB: none of the environments is using channel_priority: strict

Only installing pytorch using conda:

>conda install torchgeo -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Trying with mamba

>mamba install torchgeo -c conda-forge

Looking for: ['torchgeo']

pkgs/main/win-64         [====================] (00m:00s) No change
pkgs/main/noarch         [====================] (00m:00s) No change
pkgs/r/win-64            [====================] (00m:00s) No change
pkgs/r/noarch            [====================] (00m:00s) No change
pkgs/msys2/noarch        [====================] (00m:00s) No change
pkgs/msys2/win-64        [====================] (00m:00s) No change
conda-forge/noarch       [====================] (00m:04s) Done
conda-forge/win-64       [====================] (00m:09s) Done
Encountered problems while solving.
Problem: nothing provides torchvision >=0.3 needed by torchgeo-0.1.0-pyhd8ed1ab_0

Environment using mamba and installing pytorch then torchgeo:

>mamba install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
>mamba install torchgeo -c conda-forge
>conda list
# Name                    Version                   Build  Channel
absl-py                   1.1.0              pyhd8ed1ab_0    conda-forge
affine                    2.3.1              pyhd8ed1ab_0    conda-forge
aiohttp                   3.8.1           py310he2412df_1    conda-forge
aiosignal                 1.2.0              pyhd8ed1ab_0    conda-forge
antlr-python-runtime      4.9.3           py310h5588dad_0    conda-forge
async-timeout             4.0.2              pyhd8ed1ab_0    conda-forge
attrs                     21.4.0             pyhd8ed1ab_0    conda-forge
blas                      2.115                       mkl    conda-forge
blas-devel                3.9.0              15_win64_mkl    conda-forge
blinker                   1.4                        py_1    conda-forge
blosc                     1.21.1               h74325e0_3    conda-forge
boost-cpp                 1.74.0               h9f4b32c_8    conda-forge
brotli                    1.0.9                h8ffe710_7    conda-forge
brotli-bin                1.0.9                h8ffe710_7    conda-forge
brotlipy                  0.7.0           py310he2412df_1004    conda-forge
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2022.5.18.1          h5b45459_0    conda-forge
cachetools                5.0.0              pyhd8ed1ab_0    conda-forge
cairo                     1.16.0            h15b3021_1010    conda-forge
certifi                   2022.5.18.1     py310h5588dad_0    conda-forge
cffi                      1.15.0          py310hcbf9ad4_0    conda-forge
cfitsio                   4.1.0                h5a969a9_0    conda-forge
charset-normalizer        2.0.12             pyhd8ed1ab_0    conda-forge
click                     8.1.3           py310h5588dad_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
cligj                     0.7.2              pyhd8ed1ab_1    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
cryptography              37.0.1          py310h21b164f_0
cudatoolkit               11.3.1              h280eb24_10    conda-forge
curl                      7.83.1               h789b8ee_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
efficientnet-pytorch      0.6.3              pyh9f0ad1d_0    conda-forge
einops                    0.4.1              pyhd8ed1ab_0    conda-forge
expat                     2.4.8                h39d44d4_0    conda-forge
fiona                     1.8.21          py310he438f8f_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.0               hce3cb01_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.33.3          py310he2412df_0    conda-forge
freetype                  2.10.4               h546665d_1    conda-forge
freexl                    1.0.6                ha8e266a_0    conda-forge
frozenlist                1.3.0           py310he2412df_1    conda-forge
fsspec                    2022.5.0           pyhd8ed1ab_0    conda-forge
future                    0.18.2          py310h5588dad_5    conda-forge
gdal                      3.4.3           py310h2a306c7_0    conda-forge
geos                      3.10.2               h39d44d4_0    conda-forge
geotiff                   1.7.1                h38b14a8_1    conda-forge
gettext                   0.19.8.1          ha2e2712_1008    conda-forge
google-auth               2.7.0              pyh6c4a22f_1    conda-forge
google-auth-oauthlib      0.4.6              pyhd8ed1ab_0    conda-forge
grpcio                    1.46.3          py310h694bffd_0    conda-forge
hdf4                      4.2.15               h0e5069d_3    conda-forge
hdf5                      1.12.1          nompi_h57737ce_104    conda-forge
icu                       69.1                 h0e60522_0    conda-forge
idna                      3.3                pyhd8ed1ab_0    conda-forge
importlib-metadata        4.11.4          py310h5588dad_0    conda-forge
intel-openmp              2022.1.0          h57928b3_3787    conda-forge
joblib                    1.1.0              pyhd8ed1ab_0    conda-forge
jpeg                      9e                   h8ffe710_1    conda-forge
kealib                    1.4.14               h8995ca9_4    conda-forge
kiwisolver                1.4.2           py310h476a331_1    conda-forge
kornia                    0.6.5              pyhd8ed1ab_0    conda-forge
krb5                      1.19.3               hc8ab02b_0    conda-forge
lcms2                     2.12                 h2a16943_0    conda-forge
lerc                      3.0                  h0e60522_0    conda-forge
libblas                   3.9.0              15_win64_mkl    conda-forge
libbrotlicommon           1.0.9                h8ffe710_7    conda-forge
libbrotlidec              1.0.9                h8ffe710_7    conda-forge
libbrotlienc              1.0.9                h8ffe710_7    conda-forge
libcblas                  3.9.0              15_win64_mkl    conda-forge
libcurl                   7.83.1               h789b8ee_0    conda-forge
libdeflate                1.10                 h8ffe710_0    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libgdal                   3.4.3                h2040a12_0    conda-forge
libglib                   2.70.2               h3be07f2_4    conda-forge
libiconv                  1.16                 he774522_0    conda-forge
libkml                    1.3.0             h9859afa_1014    conda-forge
liblapack                 3.9.0              15_win64_mkl    conda-forge
liblapacke                3.9.0              15_win64_mkl    conda-forge
libnetcdf                 4.8.1           nompi_h1cc8e9d_102    conda-forge
libpng                    1.6.37               h1d00b33_2    conda-forge
libpq                     14.3                 h1ea2d34_0    conda-forge
libprotobuf               3.20.1               h7755175_0    conda-forge
librttopo                 1.1.0                hb1df466_9    conda-forge
libspatialindex           1.9.3                h39d44d4_4    conda-forge
libspatialite             5.0.1               h36c16d9_15    conda-forge
libssh2                   1.10.0               h9a1e1f7_2    conda-forge
libtiff                   4.3.0                hc4061b1_4    conda-forge
libuv                     1.43.0               h8ffe710_0    conda-forge
libwebp                   1.2.2                h57928b3_0    conda-forge
libwebp-base              1.2.2                h8ffe710_1    conda-forge
libxcb                    1.13              hcd874cb_1004    conda-forge
libxml2                   2.9.14               hf5bbc77_0    conda-forge
libzip                    1.8.0                h519de47_1    conda-forge
libzlib                   1.2.12               h8ffe710_0    conda-forge
lz4-c                     1.9.3                h8ffe710_1    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
markdown                  3.3.7              pyhd8ed1ab_0    conda-forge
matplotlib-base           3.5.2           py310h79a7439_0    conda-forge
mkl                       2022.1.0           h6a75c08_874    conda-forge
mkl-devel                 2022.1.0           h57928b3_875    conda-forge
mkl-include               2022.1.0           h6a75c08_874    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
multidict                 6.0.2           py310he2412df_1    conda-forge
munch                     2.5.0                      py_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
numpy                     1.22.4          py310hed7ac4c_0    conda-forge
oauthlib                  3.2.0              pyhd8ed1ab_0    conda-forge
omegaconf                 2.2.2           py310h5588dad_0    conda-forge
openjpeg                  2.4.0                hb211442_1    conda-forge
openssl                   3.0.3                h8ffe710_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pcre                      8.45                 h0e60522_0    conda-forge
pillow                    9.1.1           py310h767b3fd_0    conda-forge
pip                       22.1.2             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h8ffe710_0    conda-forge
poppler                   22.04.0              h24fffdf_0    conda-forge
poppler-data              0.4.11               hd8ed1ab_0    conda-forge
postgresql                14.3                 he353ca9_0    conda-forge
pretrainedmodels          0.7.4              pyhd8ed1ab_2    conda-forge
proj                      9.0.0                h1cfcee9_1    conda-forge
protobuf                  3.20.1          py310h5588dad_0    conda-forge
pthread-stubs             0.4               hcd874cb_1001    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.8                      py_0
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pydeprecate               0.3.1              pyhd8ed1ab_0    conda-forge
pyjwt                     2.4.0              pyhd8ed1ab_0    conda-forge
pyopenssl                 22.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyproj                    3.3.1           py310h1bcc3f4_0    conda-forge
pysocks                   1.7.1           py310h5588dad_5    conda-forge
python                    3.10.4          hcf16a7b_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pytorch                   1.11.0          py3.10_cuda11.3_cudnn8_0    pytorch
pytorch-lightning         1.5.8              pyhd8ed1ab_0    conda-forge
pytorch-mutex             1.0                        cuda    pytorch
pyu2f                     0.1.5              pyhd8ed1ab_0    conda-forge
pyyaml                    6.0             py310he2412df_4    conda-forge
rasterio                  1.2.10          py310h41cc0dd_5    conda-forge
requests                  2.28.0             pyhd8ed1ab_0    conda-forge
requests-oauthlib         1.3.1              pyhd8ed1ab_0    conda-forge
rsa                       4.8                pyhd8ed1ab_0    conda-forge
rtree                     1.0.0           py310h1cbd46b_1    conda-forge
scikit-learn              1.1.1           py310h4dafddf_0    conda-forge
scipy                     1.8.1           py310h33db832_0    conda-forge
segmentation-models-pytorch 0.2.1              pyhd8ed1ab_0    conda-forge
setuptools                62.3.3          py310h5588dad_0    conda-forge
shapely                   1.8.2           py310h3578588_1    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.9                h82413e6_1    conda-forge
snuggs                    1.4.7                      py_0    conda-forge
sqlite                    3.38.5               h8ffe710_0    conda-forge
tbb                       2021.5.0             h2d74725_1    conda-forge
tensorboard               2.9.0              pyhd8ed1ab_0    conda-forge
tensorboard-data-server   0.6.0           py310h5588dad_2    conda-forge
tensorboard-plugin-wit    1.8.1              pyhd8ed1ab_0    conda-forge
threadpoolctl             3.1.0              pyh8a188c0_0    conda-forge
tiledb                    2.8.3                h3132609_1    conda-forge
timm                      0.4.12             pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h8ffe710_0    conda-forge
torchaudio                0.11.0              py310_cu113    pytorch
torchgeo                  0.2.1              pyhd8ed1ab_0    conda-forge
torchmetrics              0.9.1              pyhd8ed1ab_0    conda-forge
torchvision               0.12.0              py310_cu113    pytorch
tqdm                      4.64.0             pyhd8ed1ab_0    conda-forge
typing-extensions         4.2.0                hd8ed1ab_1    conda-forge
typing_extensions         4.2.0              pyha770c72_1    conda-forge
tzdata                    2022a                h191b570_0    conda-forge
ucrt                      10.0.20348.0         h57928b3_0    conda-forge
unicodedata2              14.0.0          py310he2412df_1    conda-forge
urllib3                   1.26.9             pyhd8ed1ab_0    conda-forge
vc                        14.2                 hb210afc_6    conda-forge
vs2015_runtime            14.29.30037          h902a5da_6    conda-forge
werkzeug                  2.1.2              pyhd8ed1ab_1    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
win_inet_pton             1.1.0           py310h5588dad_4    conda-forge
xerces-c                  3.2.3                h0e60522_5    conda-forge
xorg-libxau               1.0.9                hcd874cb_0    conda-forge
xorg-libxdmcp             1.1.3                hcd874cb_0    conda-forge
xz                        5.2.5                h62dcd97_1    conda-forge
yaml                      0.2.5                h8ffe710_2    conda-forge
yarl                      1.7.2           py310he2412df_2    conda-forge
zipp                      3.8.0              pyhd8ed1ab_0    conda-forge
zlib                      1.2.12               h8ffe710_0    conda-forge
zstd                      1.5.2                h6255e5f_1    conda-forge

For the custom environment I use for my project (I used mamba), I installed pytroch first:

>conda list
# Name                    Version                   Build  Channel
absl-py                   1.1.0              pyhd8ed1ab_0    conda-forge
affine                    2.3.1              pyhd8ed1ab_0    conda-forge
aiohttp                   3.8.1           py310he2412df_1    conda-forge
aiosignal                 1.2.0              pyhd8ed1ab_0    conda-forge
antlr-python-runtime      4.9.3              pyhd8ed1ab_1    conda-forge
asttokens                 2.0.5              pyhd8ed1ab_0    conda-forge
async-timeout             4.0.2              pyhd8ed1ab_0    conda-forge
atomicwrites              1.4.0                    pypi_0    pypi
attrs                     21.4.0             pyhd8ed1ab_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.1                pyhd3eb1b0_0
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
blas                      2.115                       mkl    conda-forge
blas-devel                3.9.0              15_win64_mkl    conda-forge
blinker                   1.4                        py_1    conda-forge
blosc                     1.21.1               h74325e0_3    conda-forge
boost-cpp                 1.74.0               h9f4b32c_8    conda-forge
branca                    0.5.0              pyhd8ed1ab_0    conda-forge
brotli                    1.0.9                h8ffe710_7    conda-forge
brotli-bin                1.0.9                h8ffe710_7    conda-forge
brotlipy                  0.7.0           py310he2412df_1004    conda-forge
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2022.5.18.1          h5b45459_0    conda-forge
cachetools                5.0.0              pyhd8ed1ab_0    conda-forge
cairo                     1.16.0            h15b3021_1010    conda-forge
certifi                   2022.5.18.1     py310h5588dad_0    conda-forge
cffi                      1.15.0          py310hcbf9ad4_0    conda-forge
cfitsio                   4.1.0                h5a969a9_0    conda-forge
charset-normalizer        2.0.12             pyhd8ed1ab_0    conda-forge
click                     8.1.3           py310h5588dad_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
cligj                     0.7.2              pyhd8ed1ab_1    conda-forge
cmocean                   2.0                        py_3    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
colorspacious             1.1.2              pyh24bf2e0_0    conda-forge
coverage                  6.4.1                    pypi_0    pypi
cryptography              37.0.1          py310h21b164f_0
cudatoolkit               11.3.1               h59b6b97_2
curl                      7.83.1               h789b8ee_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
efficientnet-pytorch      0.6.3              pyh9f0ad1d_0    conda-forge
einops                    0.4.1              pyhd8ed1ab_0    conda-forge
executing                 0.8.3              pyhd8ed1ab_0    conda-forge
expat                     2.4.8                h39d44d4_0    conda-forge
fiona                     1.8.21          py310he438f8f_0    conda-forge
folium                    0.12.1.post1       pyhd8ed1ab_1    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.0               hce3cb01_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.33.3          py310he2412df_0    conda-forge
freetype                  2.10.4               h546665d_1    conda-forge
freexl                    1.0.6                ha8e266a_0    conda-forge
frozenlist                1.3.0           py310he2412df_1    conda-forge
fsspec                    2022.5.0           pyhd8ed1ab_0    conda-forge
future                    0.18.2          py310h5588dad_5    conda-forge
gdal                      3.4.3           py310h2a306c7_0    conda-forge
geopandas                 0.10.2             pyhd8ed1ab_1    conda-forge
geopandas-base            0.10.2             pyha770c72_1    conda-forge
geos                      3.10.2               h39d44d4_0    conda-forge
geotiff                   1.7.1                h38b14a8_1    conda-forge
gettext                   0.19.8.1          ha2e2712_1008    conda-forge
google-auth               2.7.0              pyh6c4a22f_1    conda-forge
google-auth-oauthlib      0.4.6              pyhd8ed1ab_0    conda-forge
grpcio                    1.46.3          py310h694bffd_0    conda-forge
hdf4                      4.2.15               h0e5069d_3    conda-forge
hdf5                      1.12.1          nompi_h57737ce_104    conda-forge
icu                       69.1                 h0e60522_0    conda-forge
idna                      3.3                pyhd8ed1ab_0    conda-forge
importlib-metadata        4.11.4          py310h5588dad_0    conda-forge
iniconfig                 1.1.1                    pypi_0    pypi
intel-openmp              2022.1.0          h57928b3_3787    conda-forge
ipython                   8.4.0           py310h5588dad_0    conda-forge
jedi                      0.18.1          py310h5588dad_1    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
joblib                    1.1.0              pyhd8ed1ab_0    conda-forge
jpeg                      9e                   h8ffe710_1    conda-forge
kealib                    1.4.14               h8995ca9_4    conda-forge
kiwisolver                1.4.2           py310h476a331_1    conda-forge
kornia                    0.6.5              pyhd8ed1ab_0    conda-forge
krb5                      1.19.3               hc8ab02b_0    conda-forge
laspy                     2.1.2              pyh8a188c0_0    conda-forge
lcms2                     2.12                 h2a16943_0    conda-forge
lerc                      3.0                  h0e60522_0    conda-forge
libblas                   3.9.0              15_win64_mkl    conda-forge
libbrotlicommon           1.0.9                h8ffe710_7    conda-forge
libbrotlidec              1.0.9                h8ffe710_7    conda-forge
libbrotlienc              1.0.9                h8ffe710_7    conda-forge
libcblas                  3.9.0              15_win64_mkl    conda-forge
libcurl                   7.83.1               h789b8ee_0    conda-forge
libdeflate                1.10                 h8ffe710_0    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libgdal                   3.4.3                h2040a12_0    conda-forge
libglib                   2.70.2               h3be07f2_4    conda-forge
libiconv                  1.16                 he774522_0    conda-forge
libkml                    1.3.0             h9859afa_1014    conda-forge
liblapack                 3.9.0              15_win64_mkl    conda-forge
liblapacke                3.9.0              15_win64_mkl    conda-forge
libnetcdf                 4.8.1           nompi_h1cc8e9d_102    conda-forge
libpng                    1.6.37               h1d00b33_2    conda-forge
libpq                     14.3                 h1ea2d34_0    conda-forge
libprotobuf               3.20.1               h7755175_0    conda-forge
librttopo                 1.1.0                hb1df466_9    conda-forge
libspatialindex           1.9.3                h39d44d4_4    conda-forge
libspatialite             5.0.1               h36c16d9_15    conda-forge
libssh2                   1.10.0               h9a1e1f7_2    conda-forge
libtiff                   4.3.0                hc4061b1_4    conda-forge
libuv                     1.43.0               h8ffe710_0    conda-forge
libwebp                   1.2.2                h57928b3_0    conda-forge
libwebp-base              1.2.2                h8ffe710_1    conda-forge
libxcb                    1.13              hcd874cb_1004    conda-forge
libxml2                   2.9.14               hf5bbc77_0    conda-forge
libzip                    1.8.0                h519de47_1    conda-forge
libzlib                   1.2.12               h8ffe710_0    conda-forge
lz4-c                     1.9.3                h8ffe710_1    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
mapclassify               2.4.3              pyhd8ed1ab_0    conda-forge
markdown                  3.3.7              pyhd8ed1ab_0    conda-forge
markupsafe                2.1.1           py310he2412df_1    conda-forge
matplotlib-base           3.5.2           py310h79a7439_0    conda-forge
matplotlib-inline         0.1.3              pyhd8ed1ab_0    conda-forge
mkl                       2022.1.0           h6a75c08_874    conda-forge
mkl-devel                 2022.1.0           h57928b3_875    conda-forge
mkl-include               2022.1.0           h6a75c08_874    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
multidict                 6.0.2           py310he2412df_1    conda-forge
munch                     2.5.0                      py_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
networkx                  2.8.3              pyhd8ed1ab_0    conda-forge
numpy                     1.22.4          py310hed7ac4c_0    conda-forge
oauthlib                  3.2.0              pyhd8ed1ab_0    conda-forge
omegaconf                 2.2.2           py310h5588dad_0    conda-forge
openjpeg                  2.4.0                hb211442_1    conda-forge
openssl                   3.0.3                h8ffe710_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.4.2           py310hf5e1058_2    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 h0e60522_0    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    9.1.1           py310h767b3fd_0    conda-forge
pip                       22.1.2             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h8ffe710_0    conda-forge
pluggy                    1.0.0                    pypi_0    pypi
poppler                   22.04.0              h24fffdf_0    conda-forge
poppler-data              0.4.11               hd8ed1ab_0    conda-forge
postgresql                14.3                 he353ca9_0    conda-forge
pretrainedmodels          0.7.4              pyhd8ed1ab_2    conda-forge
proj                      9.0.0                h1cfcee9_1    conda-forge
prompt-toolkit            3.0.29             pyha770c72_0    conda-forge
protobuf                  3.20.1          py310h5588dad_0    conda-forge
pthread-stubs             0.4               hcd874cb_1001    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
py                        1.11.0                   pypi_0    pypi
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.7                      py_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pydeprecate               0.3.1              pyhd8ed1ab_0    conda-forge
pygments                  2.12.0             pyhd8ed1ab_0    conda-forge
pyjwt                     2.4.0              pyhd8ed1ab_0    conda-forge
pyopenssl                 22.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyproj                    3.3.1           py310h1bcc3f4_0    conda-forge
pysocks                   1.7.1           py310h5588dad_5    conda-forge
pytest                    7.1.2                    pypi_0    pypi
pytest-cov                3.0.0                    pypi_0    pypi
python                    3.10.4          hcf16a7b_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pytorch                   1.11.0          py3.10_cuda11.3_cudnn8_0    pytorch
pytorch-lightning         1.5.8              pyhd8ed1ab_0    conda-forge
pytorch-mutex             1.0                        cuda    pytorch
pytz                      2022.1             pyhd8ed1ab_0    conda-forge
pyu2f                     0.1.5              pyhd8ed1ab_0    conda-forge
pyyaml                    6.0             py310he2412df_4    conda-forge
rasterio                  1.2.10          py310h41cc0dd_5    conda-forge
requests                  2.27.1             pyhd8ed1ab_0    conda-forge
requests-oauthlib         1.3.1              pyhd8ed1ab_0    conda-forge
rsa                       4.8                pyhd8ed1ab_0    conda-forge
rtree                     1.0.0           py310h1cbd46b_1    conda-forge
scikit-learn              1.1.1           py310h4dafddf_0    conda-forge
scipy                     1.8.1           py310h33db832_0    conda-forge
segmentation-models-pytorch 0.2.1              pyhd8ed1ab_0    conda-forge
setuptools                62.3.3          py310h5588dad_0    conda-forge
shapely                   1.8.2           py310h3578588_1    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.9                h82413e6_1    conda-forge
snuggs                    1.4.7                      py_0    conda-forge
sqlite                    3.38.5               h8ffe710_0    conda-forge
stack_data                0.2.0              pyhd8ed1ab_0    conda-forge
tbb                       2021.5.0             h2d74725_1    conda-forge
tensorboard               2.9.0              pyhd8ed1ab_0    conda-forge
tensorboard-data-server   0.6.0           py310h5588dad_2    conda-forge
tensorboard-plugin-wit    1.8.1              pyhd8ed1ab_0    conda-forge
threadpoolctl             3.1.0              pyh8a188c0_0    conda-forge
tiledb                    2.8.3                h3132609_1    conda-forge
timm                      0.4.12             pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h8ffe710_0    conda-forge
tomli                     2.0.1                    pypi_0    pypi
torchaudio                0.11.0              py310_cu113    pytorch
torchgeo                  0.2.1              pyhd8ed1ab_0    conda-forge
torchmetrics              0.9.0              pyhd8ed1ab_0    conda-forge
torchvision               0.12.0              py310_cu113    pytorch
tqdm                      4.64.0             pyhd8ed1ab_0    conda-forge
traitlets                 5.2.2.post1        pyhd8ed1ab_0    conda-forge
typing-extensions         4.2.0                hd8ed1ab_1    conda-forge
typing_extensions         4.2.0              pyha770c72_1    conda-forge
tzdata                    2022a                h191b570_0    conda-forge
ucrt                      10.0.20348.0         h57928b3_0    conda-forge
unicodedata2              14.0.0          py310he2412df_1    conda-forge
urllib3                   1.26.9             pyhd8ed1ab_0    conda-forge
vc                        14.2                 hb210afc_6    conda-forge
vs2015_runtime            14.29.30037          h902a5da_6    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
werkzeug                  2.1.2              pyhd8ed1ab_1    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
win_inet_pton             1.1.0           py310h5588dad_4    conda-forge
xerces-c                  3.2.3                h0e60522_5    conda-forge
xorg-libxau               1.0.9                hcd874cb_0    conda-forge
xorg-libxdmcp             1.1.3                hcd874cb_0    conda-forge
xyzservices               2022.4.0           pyhd8ed1ab_0    conda-forge
xz                        5.2.5                h62dcd97_1    conda-forge
yaml                      0.2.5                h8ffe710_2    conda-forge
yarl                      1.7.2           py310he2412df_2    conda-forge
zipp                      3.8.0              pyhd8ed1ab_0    conda-forge
zlib                      1.2.12               h8ffe710_0    conda-forge
zstd                      1.5.2                h6255e5f_1    conda-forge

@calebrob6
Copy link
Member

calebrob6 commented Jun 15, 2022

Hey @SkirOwen, thanks a lot for debugging this so thoroughly. I can confirm (on Windows) that

conda config --add channels conda-forge
conda config --set channel_priority strict
conda create --name test_torchgeo
conda activate test_torchgeo
conda install torchgeo

results in an UnsatisfiableError. This seems to happen with/without strict mode.

Installing from conda on Ubuntu and installing on Windows from environment.yml on main seems to work fine though:

git clone https://github.com/microsoft/torchgeo.git
cd torchgeo
conda env create --file environment.yml
conda activate torchgeo

I think this is for the reason that @ashnair1 says above.

Please let me know if you're still experiencing issues and we can debug interactively if you'd like!

@adamjstewart
Copy link
Collaborator

Not much we can do about conda install torchgeo, conda-forge recipes don't let you add non-conda-forge channels as far as I know, and the PyTorch package on conda-forge doesn't support Windows.

Glad to hear that installing from environment.yml works!

@ashnair1
Copy link
Collaborator

ashnair1 commented Jun 15, 2022

Verified the same behaviour as @calebrob6 on a Windows VM from my end. Installing from conda-forge on Windows is currently broken. At any rate, we can rule out environment.yml being the cause of this.

Not much we can do about conda install torchgeo, conda-forge recipes don't let you add non-conda-forge channels as far as I know, and the PyTorch package on conda-forge doesn't support Windows.

So that means until conda-forge/pytorch supports windows, we cannot install torchgeo via conda install -c conda-forge torchgeo on windows. Should a note be added somewhere regarding this?

@adamjstewart
Copy link
Collaborator

Has this issue been resolved?

@adamjstewart
Copy link
Collaborator

adamjstewart commented Jul 11, 2022

No response from issue reporter so I'm guessing this is no longer an issue.

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

4 participants