GFZ / arosics

AROSICS - Automated and Robust Open-Source Image Co-Registration Software
https://git.gfz-potsdam.de/danschef/arosics
Apache License 2.0
146 stars 26 forks source link

Installation: FileNotFoundError #2

Closed disbr007 closed 4 years ago

disbr007 commented 4 years ago

Description

Trying to install arosics in a fresh conda environment, using miniconda on Windows10. I followed the installation instructions in the documentation exactly.

What I Did

import arosics

FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\disbr007\\AppData\\Local\\Continuum\\miniconda3\\envs\\aros\\Library\\usr\\bin'

I also tried pip installing into a working conda envrinoment that included all of the necessary packages and was able to import arosics successfully, but then ran into a geoarray/gdal PermissionError, where Permission was denied to the gdal folder in the environment.

I could not find anywhere on github or the documentation what OS's are supported. Is Windows even supported?

Thanks for any help. Jeff

danschef commented 4 years ago

Windows is supported, yes. I also installed on my own Windows machine some days ago.

Sounds like you are having some issues with your Windows permissions. Could you try to install Miniconda outside of your user home directory (e.g., on another drive)?

Also please provide the full error traceback and the steps that led to the error. That makes it a lot easier to find the problem.

disbr007 commented 4 years ago

Thanks for the quick reply - really hopeful I can get this working as it looks fantastic. I checked permissions all the way down the directory tree to the referenced folder and they looked OK, but as I said that was in an existing conda environment that I have been using, not one created per the documentation. Here is the full traceback when following the documentation:

(base) C:\WINDOWS\system32>conda create -c conda-forge --name aros python=3
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\disbr007\AppData\Local\Continuum\miniconda3\envs\aros

  added / updated specs:
    - python=3

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    python-3.8.5               |       h60c2a47_2        18.9 MB  conda-forge
    ------------------------------------------------------------
                                           Total:        18.9 MB

The following NEW packages will be INSTALLED:

  ca-certificates    conda-forge/win-64::ca-certificates-2020.6.20-hecda079_0
  certifi            conda-forge/win-64::certifi-2020.6.20-py38h32f6830_0
  openssl            conda-forge/win-64::openssl-1.1.1g-he774522_1
  pip                conda-forge/noarch::pip-20.2.2-py_0
  python             conda-forge/win-64::python-3.8.5-h60c2a47_2
  python_abi         conda-forge/win-64::python_abi-3.8-1_cp38
  setuptools         conda-forge/win-64::setuptools-49.6.0-py38h32f6830_0
  sqlite             conda-forge/win-64::sqlite-3.33.0-he774522_0
  vc                 conda-forge/win-64::vc-14.1-h869be7e_1
  vs2015_runtime     conda-forge/win-64::vs2015_runtime-14.16.27012-h30e32a0_2
  wheel              conda-forge/noarch::wheel-0.35.1-pyh9f0ad1d_0
  wincertstore       conda-forge/win-64::wincertstore-0.2-py38_1003

Proceed ([y]/n)? y

Downloading and Extracting Packages
python-3.8.5         | 18.9 MB   | ################################################################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate aros
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) C:\WINDOWS\system32>activate aros

(aros) C:\WINDOWS\system32>conda install -c conda-forge numpy gdal scikit-image matplotlib pyproj shapely geopandas pandas cmocean
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\disbr007\AppData\Local\Continuum\miniconda3\envs\aros

  added / updated specs:
    - cmocean
    - gdal
    - geopandas
    - matplotlib
    - numpy
    - pandas
    - pyproj
    - scikit-image
    - shapely

The following NEW packages will be INSTALLED:

  attrs              conda-forge/noarch::attrs-20.1.0-pyh9f0ad1d_0
  blas               pkgs/main/win-64::blas-1.0-mkl
  blosc              conda-forge/win-64::blosc-1.20.0-ha925a31_0
  boost-cpp          conda-forge/win-64::boost-cpp-1.72.0-h89d28cc_2
  brotli             conda-forge/win-64::brotli-1.0.7-ha925a31_1004
  bzip2              conda-forge/win-64::bzip2-1.0.8-he774522_3
  cairo              conda-forge/win-64::cairo-1.16.0-h8a5e50b_1003
  cfitsio            conda-forge/win-64::cfitsio-3.470-hbbe6aef_6
  charls             conda-forge/win-64::charls-2.1.0-h33f27b4_2
  click              conda-forge/noarch::click-7.1.2-pyh9f0ad1d_0
  click-plugins      conda-forge/noarch::click-plugins-1.1.1-py_0
  cligj              conda-forge/noarch::cligj-0.5.0-py_0
  cloudpickle        conda-forge/noarch::cloudpickle-1.5.0-py_0
  cmocean            conda-forge/noarch::cmocean-2.0-py_3
  colorspacious      conda-forge/noarch::colorspacious-1.1.2-pyh24bf2e0_0
  curl               conda-forge/win-64::curl-7.71.1-h4b64cdc_5
  cycler             conda-forge/noarch::cycler-0.10.0-py_2
  cytoolz            conda-forge/win-64::cytoolz-0.10.1-py38hfa6e2cd_0
  dask-core          conda-forge/noarch::dask-core-2.24.0-py_0
  decorator          conda-forge/noarch::decorator-4.4.2-py_0
  expat              conda-forge/win-64::expat-2.2.9-h33f27b4_2
  fiona              conda-forge/win-64::fiona-1.8.13-py38hcb65fe8_2
  freetype           conda-forge/win-64::freetype-2.10.2-hd328e21_0
  freexl             conda-forge/win-64::freexl-1.0.5-hd288d7e_1002
  gdal               conda-forge/win-64::gdal-3.1.2-py38h5f218aa_2
  geopandas          conda-forge/noarch::geopandas-0.8.1-py_0
  geos               conda-forge/win-64::geos-3.8.1-he025d50_0
  geotiff            conda-forge/win-64::geotiff-1.6.0-h09e6dc1_1
  gettext            conda-forge/win-64::gettext-0.19.8.1-hb01d8f6_1002
  giflib             conda-forge/win-64::giflib-5.2.1-h2fa13f4_2
  glib               conda-forge/win-64::glib-2.65.0-he4de6d7_0
  hdf4               conda-forge/win-64::hdf4-4.2.13-hf8e6fe8_1003
  hdf5               conda-forge/win-64::hdf5-1.10.6-nompi_he0bbb20_101
  icc_rt             pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1
  icu                conda-forge/win-64::icu-64.2-he025d50_1
  imagecodecs        conda-forge/win-64::imagecodecs-2020.5.30-py38h2dff1b1_2
  imageio            conda-forge/noarch::imageio-2.9.0-py_0
  intel-openmp       pkgs/main/win-64::intel-openmp-2019.4-245
  jpeg               conda-forge/win-64::jpeg-9d-he774522_0
  jxrlib             conda-forge/win-64::jxrlib-1.1-hfa6e2cd_2
  kealib             conda-forge/win-64::kealib-1.4.13-h3b59ab9_1
  kiwisolver         conda-forge/win-64::kiwisolver-1.2.0-py38heaebd3c_0
  krb5               conda-forge/win-64::krb5-1.17.1-hc04afaa_2
  lcms2              conda-forge/win-64::lcms2-2.11-he1115b7_0
  lerc               conda-forge/win-64::lerc-2.2-ha925a31_0
  libaec             conda-forge/win-64::libaec-1.0.4-he025d50_1
  libblas            conda-forge/win-64::libblas-3.8.0-14_mkl
  libcblas           conda-forge/win-64::libcblas-3.8.0-14_mkl
  libclang           conda-forge/win-64::libclang-9.0.1-default_hf44288c_0
  libcurl            conda-forge/win-64::libcurl-7.71.1-h4b64cdc_5
  libffi             conda-forge/win-64::libffi-3.2.1-ha925a31_1007
  libgdal            conda-forge/win-64::libgdal-3.1.2-h132428b_2
  libiconv           conda-forge/win-64::libiconv-1.16-he774522_0
  libkml             conda-forge/win-64::libkml-1.3.0-h7e985d0_1011
  liblapack          conda-forge/win-64::liblapack-3.8.0-14_mkl
  libnetcdf          conda-forge/win-64::libnetcdf-4.7.4-nompi_h256d12c_105
  libpng             conda-forge/win-64::libpng-1.6.37-ha81a0f5_2
  libpq              conda-forge/win-64::libpq-12.3-hd9aa61d_0
  libspatialindex    conda-forge/win-64::libspatialindex-1.9.3-he025d50_3
  libspatialite      conda-forge/win-64::libspatialite-4.3.0a-h9ed2f40_1039
  libssh2            conda-forge/win-64::libssh2-1.9.0-hb06d900_5
  libtiff            conda-forge/win-64::libtiff-4.1.0-h885aae3_6
  libwebp-base       conda-forge/win-64::libwebp-base-1.1.0-hfa6e2cd_3
  libxml2            conda-forge/win-64::libxml2-2.9.10-h1006b36_2
  libzopfli          conda-forge/win-64::libzopfli-1.0.3-ha925a31_0
  lz4-c              conda-forge/win-64::lz4-c-1.9.2-h62dcd97_2
  m2w64-expat        pkgs/msys2/win-64::m2w64-expat-2.1.1-2
  m2w64-gcc-libgfor~ pkgs/msys2/win-64::m2w64-gcc-libgfortran-5.3.0-6
  m2w64-gcc-libs     pkgs/msys2/win-64::m2w64-gcc-libs-5.3.0-7
  m2w64-gcc-libs-co~ pkgs/msys2/win-64::m2w64-gcc-libs-core-5.3.0-7
  m2w64-gettext      pkgs/msys2/win-64::m2w64-gettext-0.19.7-2
  m2w64-gmp          pkgs/msys2/win-64::m2w64-gmp-6.1.0-2
  m2w64-libiconv     pkgs/msys2/win-64::m2w64-libiconv-1.14-6
  m2w64-libwinpthre~ pkgs/msys2/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f757-2
  m2w64-xz           pkgs/msys2/win-64::m2w64-xz-5.2.2-2
  matplotlib         conda-forge/win-64::matplotlib-3.3.1-1
  matplotlib-base    conda-forge/win-64::matplotlib-base-3.3.1-py38hfb9ee82_1
  mkl                pkgs/main/win-64::mkl-2019.4-245
  mkl-service        conda-forge/win-64::mkl-service-2.3.0-py38hfa6e2cd_0
  msys2-conda-epoch  pkgs/msys2/win-64::msys2-conda-epoch-20160418-1
  munch              conda-forge/noarch::munch-2.5.0-py_0
  networkx           conda-forge/noarch::networkx-2.5-py_0
  numpy              conda-forge/win-64::numpy-1.19.1-py38h72c728b_0
  olefile            conda-forge/noarch::olefile-0.46-py_0
  openjpeg           conda-forge/win-64::openjpeg-2.3.1-h57dd2e7_3
  pandas             conda-forge/win-64::pandas-1.1.1-py38h7ae7562_0
  pcre               conda-forge/win-64::pcre-8.44-h6538335_0
  pillow             conda-forge/win-64::pillow-7.2.0-py38h7011068_1
  pixman             conda-forge/win-64::pixman-0.38.0-hfa6e2cd_1003
  poppler            conda-forge/win-64::poppler-0.89.0-h5d62644_1
  poppler-data       conda-forge/noarch::poppler-data-0.4.9-1
  postgresql         conda-forge/win-64::postgresql-12.3-he14cc48_0
  proj               conda-forge/win-64::proj-7.1.0-h7d85306_1
  pyparsing          conda-forge/noarch::pyparsing-2.4.7-pyh9f0ad1d_0
  pyproj             conda-forge/win-64::pyproj-2.6.1.post1-py38h5a885fd_1
  pyqt               conda-forge/win-64::pyqt-5.12.3-py38h6538335_1
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.1-py_0
  pytz               conda-forge/noarch::pytz-2020.1-pyh9f0ad1d_0
  pywavelets         conda-forge/win-64::pywavelets-1.1.1-py38h40bdaab_1
  pyyaml             conda-forge/win-64::pyyaml-5.3.1-py38h9de7a3e_0
  qt                 conda-forge/win-64::qt-5.12.5-h7ef1ec2_0
  rtree              conda-forge/win-64::rtree-0.9.4-py38h7ad75cc_1
  scikit-image       conda-forge/win-64::scikit-image-0.17.2-py38he6e81aa_1
  scipy              pkgs/main/win-64::scipy-1.5.0-py38h9439919_0
  shapely            conda-forge/win-64::shapely-1.7.1-py38hc96c142_0
  six                conda-forge/noarch::six-1.15.0-pyh9f0ad1d_0
  snappy             conda-forge/win-64::snappy-1.1.8-ha925a31_3
  tbb                conda-forge/win-64::tbb-2020.1-he980bc4_0
  tifffile           conda-forge/noarch::tifffile-2020.8.13-py_0
  tiledb             conda-forge/win-64::tiledb-2.0.8-h71c485d_0
  tk                 conda-forge/win-64::tk-8.6.10-he774522_0
  toolz              conda-forge/noarch::toolz-0.10.0-py_0
  tornado            conda-forge/win-64::tornado-6.0.4-py38hfa6e2cd_0
  xerces-c           conda-forge/win-64::xerces-c-3.2.3-ha925a31_1
  xz                 conda-forge/win-64::xz-5.2.5-h62dcd97_1
  yaml               conda-forge/win-64::yaml-0.2.5-he774522_0
  zfp                conda-forge/win-64::zfp-0.5.5-ha925a31_1
  zlib               conda-forge/win-64::zlib-1.2.11-h62dcd97_1007
  zstd               conda-forge/win-64::zstd-1.4.5-h1f3a1b7_2

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(aros) C:\WINDOWS\system32>conda install -c conda-forge basemap pykrige pyfftw
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\disbr007\AppData\Local\Continuum\miniconda3\envs\aros

  added / updated specs:
    - basemap
    - pyfftw
    - pykrige

The following NEW packages will be INSTALLED:

  basemap            conda-forge/win-64::basemap-1.2.2-py38haf86b8b_0
  fftw               conda-forge/win-64::fftw-3.3.8-nompi_h24e91a8_1111
  pyfftw             conda-forge/win-64::pyfftw-0.12.0-py38hd17e47c_1
  pykrige            conda-forge/win-64::pykrige-1.5.1-py38h1e8a9f7_0
  pyshp              conda-forge/noarch::pyshp-2.1.0-py_0

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(aros) C:\WINDOWS\system32>pip install arosics
Processing c:\users\disbr007\appdata\local\pip\cache\wheels\d2\55\ae\60f173021dfcb9b8ed30ef4288dfc9342c68808e329690d973\arosics-0.9.19-py2.py3-none-any.whl
Collecting plotly
  Using cached plotly-4.9.0-py2.py3-none-any.whl (12.9 MB)
Requirement already satisfied: pandas in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from arosics) (1.1.1)
Collecting folium>=0.6.0
  Using cached folium-0.11.0-py2.py3-none-any.whl (93 kB)
Requirement already satisfied: gdal in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from arosics) (3.1.2)
Processing c:\users\disbr007\appdata\local\pip\cache\wheels\25\b4\a6\13e12abd781696f3cae01048e9b2a94cd77e39094d225957a9\geoarray-0.8.31-py2.py3-none-any.whl
Requirement already satisfied: cmocean in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from arosics) (2.0)
Requirement already satisfied: six in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from arosics) (1.15.0)
Requirement already satisfied: scikit-image in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from arosics) (0.17.2)
Requirement already satisfied: matplotlib in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from arosics) (3.3.1)
Requirement already satisfied: geopandas in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from arosics) (0.8.1)
Requirement already satisfied: shapely in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from arosics) (1.7.1)
Collecting geojson
  Using cached geojson-2.5.0-py2.py3-none-any.whl (14 kB)
Requirement already satisfied: numpy in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from arosics) (1.19.1)
Processing c:\users\disbr007\appdata\local\pip\cache\wheels\d2\e3\e6\d8fe5ca84ae94e4164fdf572b649a640027012276af125c68b\py_tools_ds-0.14.36-py2.py3-none-any.whl
Processing c:\users\disbr007\appdata\local\pip\cache\wheels\c4\a7\48\0a434133f6d56e878ca511c0e6c38326907c0792f67b476e56\retrying-1.3.3-py3-none-any.whl
Requirement already satisfied: python-dateutil>=2.7.3 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from pandas->arosics) (2.8.1)
Requirement already satisfied: pytz>=2017.2 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from pandas->arosics) (2020.1)
Collecting requests
  Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting branca>=0.3.0
  Using cached branca-0.4.1-py3-none-any.whl (24 kB)
Collecting jinja2>=2.9
  Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Processing c:\users\disbr007\appdata\local\pip\cache\wheels\93\7f\7d\78ec535a4340ef2696aad8b17fe8bb063d56301bd62881b069\dill-0.3.2-py3-none-any.whl
Processing c:\users\disbr007\appdata\local\pip\cache\wheels\b3\dc\b3\207c17ae6ff63d48f9b8355849eb45407960207fb75a256e5e\mpld3-0.5.1-py3-none-any.whl
Requirement already satisfied: dask>=0.15.0 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from geoarray>=0.8.30->arosics) (2.24.0)
Requirement already satisfied: scipy>=1.0.1 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (1.5.0)
Requirement already satisfied: networkx>=2.0 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (2.5)
Requirement already satisfied: pillow!=7.1.0,!=7.1.1,>=4.3.0 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (7.2.0)
Requirement already satisfied: imageio>=2.3.0 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (2.9.0)
Requirement already satisfied: tifffile>=2019.7.26 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (2020.8.13)
Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (1.1.1)
Requirement already satisfied: certifi>=2020.06.20 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from matplotlib->arosics) (2020.6.20)
Requirement already satisfied: cycler>=0.10 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from matplotlib->arosics) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from matplotlib->arosics) (2.4.7)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from matplotlib->arosics) (1.2.0)
Requirement already satisfied: fiona in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from geopandas->arosics) (1.8.13)
Requirement already satisfied: pyproj>=2.2.0 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from geopandas->arosics) (2.6.1.post1)
Collecting spectral
  Using cached spectral-0.22.1-py3-none-any.whl (212 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting MarkupSafe>=0.23
  Using cached MarkupSafe-1.1.1-cp38-cp38-win_amd64.whl (16 kB)
Requirement already satisfied: pyyaml in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from dask>=0.15.0->geoarray>=0.8.30->arosics) (5.3.1)
Requirement already satisfied: decorator>=4.3.0 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from networkx>=2.0->scikit-image->arosics) (4.4.2)
Requirement already satisfied: attrs>=17 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from fiona->geopandas->arosics) (20.1.0)
Requirement already satisfied: click<8,>=4.0 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from fiona->geopandas->arosics) (7.1.2)
Requirement already satisfied: cligj>=0.5 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from fiona->geopandas->arosics) (0.5.0)
Requirement already satisfied: click-plugins>=1.0 in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from fiona->geopandas->arosics) (1.1.1)
Requirement already satisfied: munch in c:\users\disbr007\appdata\local\continuum\miniconda3\envs\aros\lib\site-packages (from fiona->geopandas->arosics) (2.5.0)
Installing collected packages: retrying, plotly, urllib3, idna, chardet, requests, MarkupSafe, jinja2, branca, folium, dill, mpld3, geojson, spectral, py-tools-ds, geoarray, arosics
Successfully installed MarkupSafe-1.1.1 arosics-0.9.19 branca-0.4.1 chardet-3.0.4 dill-0.3.2 folium-0.11.0 geoarray-0.8.31 geojson-2.5.0 idna-2.10 jinja2-2.11.2 mpld3-0.5.1 plotly-4.9.0 py-tools-ds-0.14.36 requests-2.24.0 retrying-1.3.3 spectral-0.22.1 urllib3-1.25.10

(aros) C:\WINDOWS\system32>python
Python 3.8.5 | packaged by conda-forge | (default, Aug 19 2020, 11:50:57) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import arosics
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\disbr007\AppData\Local\Continuum\miniconda3\envs\aros\lib\site-packages\arosics\__init__.py", line 29, in <module>
    from arosics.CoReg import COREG
  File "C:\Users\disbr007\AppData\Local\Continuum\miniconda3\envs\aros\lib\site-packages\arosics\CoReg.py", line 32, in <module>
    import gdal
  File "C:\Users\disbr007\AppData\Local\Continuum\miniconda3\envs\aros\lib\site-packages\gdal.py", line 2, in <module>
    from osgeo.gdal import deprecation_warn
  File "C:\Users\disbr007\AppData\Local\Continuum\miniconda3\envs\aros\lib\site-packages\osgeo\__init__.py", line 10, in <module>
    os.add_dll_directory(p)
  File "C:\Users\disbr007\AppData\Local\Continuum\miniconda3\envs\aros\lib\os.py", line 1109, in add_dll_directory
    cookie = nt._add_dll_directory(path)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\disbr007\\AppData\\Local\\Continuum\\miniconda3\\envs\\aros\\Library\\usr\\bin'
danschef commented 4 years ago

Well, I cannot reproduce this on my machine here. Here is the output:

(base) C:\WINDOWS\system32>conda info

     active environment : base
    active env location : C:\Users\danschef\Anaconda3
            shell level : 1
       user config file : C:\Users\danschef\.condarc
 populated config files :
          conda version : 4.8.3
    conda-build version : 3.18.11
         python version : 3.7.7.final.0
       virtual packages :
       base environment : C:\Users\danschef\Anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\danschef\Anaconda3\pkgs
                          C:\Users\danschef\.conda\pkgs
                          C:\Users\danschef\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\danschef\Anaconda3\envs
                          C:\Users\danschef\.conda\envs
                          C:\Users\danschef\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.3 requests/2.23.0 CPython/3.7.7 Windows/10 Windows/10.0.18362
          administrator : True
             netrc file : None
           offline mode : False

(base) C:\WINDOWS\system32>conda create -c conda-forge --name aros python=3
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.8.3
  latest version: 4.8.4

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: C:\Users\danschef\Anaconda3\envs\aros

  added / updated specs:
    - python=3

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2020.6.20  |       hecda079_0         184 KB  conda-forge
    certifi-2020.6.20          |   py38h32f6830_0         151 KB  conda-forge
    openssl-1.1.1g             |       he774522_1         5.7 MB  conda-forge
    pip-20.2.2                 |             py_0         1.1 MB  conda-forge
    python-3.8.5               |       h60c2a47_2        18.9 MB  conda-forge
    setuptools-49.6.0          |   py38h32f6830_0         968 KB  conda-forge
    sqlite-3.33.0              |       he774522_0         1.2 MB  conda-forge
    vs2015_runtime-14.16.27012 |       h30e32a0_2         2.2 MB  conda-forge
    wheel-0.35.1               |     pyh9f0ad1d_0          29 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        30.4 MB

The following NEW packages will be INSTALLED:

  ca-certificates    conda-forge/win-64::ca-certificates-2020.6.20-hecda079_0
  certifi            conda-forge/win-64::certifi-2020.6.20-py38h32f6830_0
  openssl            conda-forge/win-64::openssl-1.1.1g-he774522_1
  pip                conda-forge/noarch::pip-20.2.2-py_0
  python             conda-forge/win-64::python-3.8.5-h60c2a47_2
  python_abi         conda-forge/win-64::python_abi-3.8-1_cp38
  setuptools         conda-forge/win-64::setuptools-49.6.0-py38h32f6830_0
  sqlite             conda-forge/win-64::sqlite-3.33.0-he774522_0
  vc                 conda-forge/win-64::vc-14.1-h869be7e_1
  vs2015_runtime     conda-forge/win-64::vs2015_runtime-14.16.27012-h30e32a0_2
  wheel              conda-forge/noarch::wheel-0.35.1-pyh9f0ad1d_0
  wincertstore       conda-forge/win-64::wincertstore-0.2-py38_1003

Proceed ([y]/n)? y

Downloading and Extracting Packages
openssl-1.1.1g       | 5.7 MB    | ############################################################################ | 100%
certifi-2020.6.20    | 151 KB    | ############################################################################ | 100%
wheel-0.35.1         | 29 KB     | ############################################################################ | 100%
ca-certificates-2020 | 184 KB    | ############################################################################ | 100%
vs2015_runtime-14.16 | 2.2 MB    | ############################################################################ | 100%
setuptools-49.6.0    | 968 KB    | ############################################################################ | 100%
python-3.8.5         | 18.9 MB   | ############################################################################ | 100%
pip-20.2.2           | 1.1 MB    | ############################################################################ | 100%
sqlite-3.33.0        | 1.2 MB    | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate aros
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) C:\WINDOWS\system32>activate aros

(aros) C:\WINDOWS\system32>conda install -c conda-forge numpy gdal scikit-image matplotlib pyproj shapely geopandas pandas cmocean
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.8.3
  latest version: 4.8.4

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: C:\Users\danschef\Anaconda3\envs\aros

  added / updated specs:
    - cmocean
    - gdal
    - geopandas
    - matplotlib
    - numpy
    - pandas
    - pyproj
    - scikit-image
    - shapely

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    attrs-20.1.0               |     pyh9f0ad1d_0          41 KB  conda-forge
    blosc-1.20.0               |       ha925a31_0         654 KB  conda-forge
    boost-cpp-1.72.0           |       h89d28cc_2        16.4 MB  conda-forge
    brotli-1.0.7               |    ha925a31_1004         817 KB  conda-forge
    bzip2-1.0.8                |       he774522_3         148 KB  conda-forge
    cairo-1.16.0               |    h8a5e50b_1003         5.2 MB  conda-forge
    cfitsio-3.470              |       hbbe6aef_6         588 KB  conda-forge
    charls-2.1.0               |       h33f27b4_2         103 KB  conda-forge
    click-7.1.2                |     pyh9f0ad1d_0          64 KB  conda-forge
    cloudpickle-1.5.0          |             py_0          22 KB  conda-forge
    cmocean-2.0                |             py_3         178 KB  conda-forge
    colorspacious-1.1.2        |     pyh24bf2e0_0          30 KB  conda-forge
    curl-7.71.1                |       h4b64cdc_5         122 KB  conda-forge
    dask-core-2.24.0           |             py_0         630 KB  conda-forge
    expat-2.2.9                |       h33f27b4_2         261 KB  conda-forge
    fiona-1.8.13               |   py38hcb65fe8_2         871 KB  conda-forge
    freetype-2.10.2            |       hd328e21_0         490 KB  conda-forge
    gdal-3.1.2                 |   py38h5f218aa_2         1.4 MB  conda-forge
    geopandas-0.8.1            |             py_0         925 KB  conda-forge
    geotiff-1.6.0              |       h09e6dc1_1         136 KB  conda-forge
    giflib-5.2.1               |       h2fa13f4_2          84 KB  conda-forge
    glib-2.65.0                |       he4de6d7_0         3.5 MB  conda-forge
    hdf5-1.10.6                |nompi_he0bbb20_101        19.4 MB  conda-forge
    imagecodecs-2020.5.30      |   py38h2dff1b1_2         6.2 MB  conda-forge
    imageio-2.9.0              |             py_0         3.1 MB  conda-forge
    jpeg-9d                    |       he774522_0         344 KB  conda-forge
    jxrlib-1.1                 |       hfa6e2cd_2         623 KB  conda-forge
    kealib-1.4.13              |       h3b59ab9_1         157 KB  conda-forge
    krb5-1.17.1                |       hc04afaa_2         835 KB  conda-forge
    lcms2-2.11                 |       he1115b7_0         797 KB  conda-forge
    lerc-2.2                   |       ha925a31_0         133 KB  conda-forge
    libaec-1.0.4               |       he025d50_1          31 KB  conda-forge
    libcurl-7.71.1             |       h4b64cdc_5         388 KB  conda-forge
    libffi-3.2.1               |    ha925a31_1007          37 KB  conda-forge
    libgdal-3.1.2              |       h132428b_2         8.8 MB  conda-forge
    libiconv-1.16              |       he774522_0         680 KB  conda-forge
    libnetcdf-4.7.4            |nompi_h256d12c_105         601 KB  conda-forge
    libpng-1.6.37              |       ha81a0f5_2         763 KB  conda-forge
    libpq-12.3                 |       hd9aa61d_0         3.7 MB  conda-forge
    libspatialite-4.3.0a       |    h9ed2f40_1039         4.0 MB  conda-forge
    libssh2-1.9.0              |       hb06d900_5         218 KB  conda-forge
    libwebp-base-1.1.0         |       hfa6e2cd_3         356 KB  conda-forge
    libxml2-2.9.10             |       h1006b36_2         3.5 MB  conda-forge
    libzopfli-1.0.3            |       ha925a31_0         202 KB  conda-forge
    lz4-c-1.9.2                |       h62dcd97_2         279 KB  conda-forge
    matplotlib-3.3.1           |                1           6 KB  conda-forge
    matplotlib-base-3.3.1      |   py38hfb9ee82_1         6.8 MB  conda-forge
    mkl-service-2.3.0          |   py38hfa6e2cd_0          54 KB  conda-forge
    networkx-2.5               |             py_0         1.2 MB  conda-forge
    numpy-1.19.1               |   py38h72c728b_0         4.9 MB  conda-forge
    pandas-1.1.1               |   py38h7ae7562_0         9.7 MB  conda-forge
    pillow-7.2.0               |   py38h7011068_1         736 KB  conda-forge
    pixman-0.38.0              |    hfa6e2cd_1003         993 KB  conda-forge
    poppler-0.89.0             |       h5d62644_1         2.2 MB  conda-forge
    postgresql-12.3            |       he14cc48_0        21.0 MB  conda-forge
    proj-7.1.0                 |       h7d85306_1         2.4 MB  conda-forge
    pyproj-2.6.1.post1         |   py38h5a885fd_1         368 KB  conda-forge
    pytz-2020.1                |     pyh9f0ad1d_0         227 KB  conda-forge
    pywavelets-1.1.1           |   py38h40bdaab_1         4.3 MB  conda-forge
    pyyaml-5.3.1               |   py38h9de7a3e_0         158 KB  conda-forge
    scikit-image-0.17.2        |   py38he6e81aa_1        10.4 MB  conda-forge
    scipy-1.5.0                |   py38h9439919_0        12.0 MB
    shapely-1.7.1              |   py38hc96c142_0         449 KB  conda-forge
    six-1.15.0                 |     pyh9f0ad1d_0          14 KB  conda-forge
    snappy-1.1.8               |       ha925a31_3          50 KB  conda-forge
    tbb-2020.1                 |       he980bc4_0         167 KB  conda-forge
    tifffile-2020.8.13         |             py_0         117 KB  conda-forge
    tiledb-2.0.8               |       h71c485d_0         1.5 MB  conda-forge
    tk-8.6.10                  |       he774522_0         3.1 MB  conda-forge
    xerces-c-3.2.3             |       ha925a31_1         3.8 MB  conda-forge
    xz-5.2.5                   |       h62dcd97_1         211 KB  conda-forge
    yaml-0.2.5                 |       he774522_0          61 KB  conda-forge
    zfp-0.5.5                  |       ha925a31_1         149 KB  conda-forge
    zlib-1.2.11                |    h62dcd97_1007         126 KB  conda-forge
    zstd-1.4.5                 |       h1f3a1b7_2         887 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       175.7 MB

The following NEW packages will be INSTALLED:

  attrs              conda-forge/noarch::attrs-20.1.0-pyh9f0ad1d_0
  blas               pkgs/main/win-64::blas-1.0-mkl
  blosc              conda-forge/win-64::blosc-1.20.0-ha925a31_0
  boost-cpp          conda-forge/win-64::boost-cpp-1.72.0-h89d28cc_2
  brotli             conda-forge/win-64::brotli-1.0.7-ha925a31_1004
  bzip2              conda-forge/win-64::bzip2-1.0.8-he774522_3
  cairo              conda-forge/win-64::cairo-1.16.0-h8a5e50b_1003
  cfitsio            conda-forge/win-64::cfitsio-3.470-hbbe6aef_6
  charls             conda-forge/win-64::charls-2.1.0-h33f27b4_2
  click              conda-forge/noarch::click-7.1.2-pyh9f0ad1d_0
  click-plugins      conda-forge/noarch::click-plugins-1.1.1-py_0
  cligj              conda-forge/noarch::cligj-0.5.0-py_0
  cloudpickle        conda-forge/noarch::cloudpickle-1.5.0-py_0
  cmocean            conda-forge/noarch::cmocean-2.0-py_3
  colorspacious      conda-forge/noarch::colorspacious-1.1.2-pyh24bf2e0_0
  curl               conda-forge/win-64::curl-7.71.1-h4b64cdc_5
  cycler             conda-forge/noarch::cycler-0.10.0-py_2
  cytoolz            conda-forge/win-64::cytoolz-0.10.1-py38hfa6e2cd_0
  dask-core          conda-forge/noarch::dask-core-2.24.0-py_0
  decorator          conda-forge/noarch::decorator-4.4.2-py_0
  expat              conda-forge/win-64::expat-2.2.9-h33f27b4_2
  fiona              conda-forge/win-64::fiona-1.8.13-py38hcb65fe8_2
  freetype           conda-forge/win-64::freetype-2.10.2-hd328e21_0
  freexl             conda-forge/win-64::freexl-1.0.5-hd288d7e_1002
  gdal               conda-forge/win-64::gdal-3.1.2-py38h5f218aa_2
  geopandas          conda-forge/noarch::geopandas-0.8.1-py_0
  geos               conda-forge/win-64::geos-3.8.1-he025d50_0
  geotiff            conda-forge/win-64::geotiff-1.6.0-h09e6dc1_1
  gettext            conda-forge/win-64::gettext-0.19.8.1-hb01d8f6_1002
  giflib             conda-forge/win-64::giflib-5.2.1-h2fa13f4_2
  glib               conda-forge/win-64::glib-2.65.0-he4de6d7_0
  hdf4               conda-forge/win-64::hdf4-4.2.13-hf8e6fe8_1003
  hdf5               conda-forge/win-64::hdf5-1.10.6-nompi_he0bbb20_101
  icc_rt             pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1
  icu                conda-forge/win-64::icu-64.2-he025d50_1
  imagecodecs        conda-forge/win-64::imagecodecs-2020.5.30-py38h2dff1b1_2
  imageio            conda-forge/noarch::imageio-2.9.0-py_0
  intel-openmp       pkgs/main/win-64::intel-openmp-2019.4-245
  jpeg               conda-forge/win-64::jpeg-9d-he774522_0
  jxrlib             conda-forge/win-64::jxrlib-1.1-hfa6e2cd_2
  kealib             conda-forge/win-64::kealib-1.4.13-h3b59ab9_1
  kiwisolver         conda-forge/win-64::kiwisolver-1.2.0-py38heaebd3c_0
  krb5               conda-forge/win-64::krb5-1.17.1-hc04afaa_2
  lcms2              conda-forge/win-64::lcms2-2.11-he1115b7_0
  lerc               conda-forge/win-64::lerc-2.2-ha925a31_0
  libaec             conda-forge/win-64::libaec-1.0.4-he025d50_1
  libblas            conda-forge/win-64::libblas-3.8.0-14_mkl
  libcblas           conda-forge/win-64::libcblas-3.8.0-14_mkl
  libclang           conda-forge/win-64::libclang-9.0.1-default_hf44288c_0
  libcurl            conda-forge/win-64::libcurl-7.71.1-h4b64cdc_5
  libffi             conda-forge/win-64::libffi-3.2.1-ha925a31_1007
  libgdal            conda-forge/win-64::libgdal-3.1.2-h132428b_2
  libiconv           conda-forge/win-64::libiconv-1.16-he774522_0
  libkml             conda-forge/win-64::libkml-1.3.0-h7e985d0_1011
  liblapack          conda-forge/win-64::liblapack-3.8.0-14_mkl
  libnetcdf          conda-forge/win-64::libnetcdf-4.7.4-nompi_h256d12c_105
  libpng             conda-forge/win-64::libpng-1.6.37-ha81a0f5_2
  libpq              conda-forge/win-64::libpq-12.3-hd9aa61d_0
  libspatialindex    conda-forge/win-64::libspatialindex-1.9.3-he025d50_3
  libspatialite      conda-forge/win-64::libspatialite-4.3.0a-h9ed2f40_1039
  libssh2            conda-forge/win-64::libssh2-1.9.0-hb06d900_5
  libtiff            conda-forge/win-64::libtiff-4.1.0-h885aae3_6
  libwebp-base       conda-forge/win-64::libwebp-base-1.1.0-hfa6e2cd_3
  libxml2            conda-forge/win-64::libxml2-2.9.10-h1006b36_2
  libzopfli          conda-forge/win-64::libzopfli-1.0.3-ha925a31_0
  lz4-c              conda-forge/win-64::lz4-c-1.9.2-h62dcd97_2
  m2w64-expat        pkgs/msys2/win-64::m2w64-expat-2.1.1-2
  m2w64-gcc-libgfor~ pkgs/msys2/win-64::m2w64-gcc-libgfortran-5.3.0-6
  m2w64-gcc-libs     pkgs/msys2/win-64::m2w64-gcc-libs-5.3.0-7
  m2w64-gcc-libs-co~ pkgs/msys2/win-64::m2w64-gcc-libs-core-5.3.0-7
  m2w64-gettext      pkgs/msys2/win-64::m2w64-gettext-0.19.7-2
  m2w64-gmp          pkgs/msys2/win-64::m2w64-gmp-6.1.0-2
  m2w64-libiconv     pkgs/msys2/win-64::m2w64-libiconv-1.14-6
  m2w64-libwinpthre~ pkgs/msys2/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f757-2
  m2w64-xz           pkgs/msys2/win-64::m2w64-xz-5.2.2-2
  matplotlib         conda-forge/win-64::matplotlib-3.3.1-1
  matplotlib-base    conda-forge/win-64::matplotlib-base-3.3.1-py38hfb9ee82_1
  mkl                pkgs/main/win-64::mkl-2019.4-245
  mkl-service        conda-forge/win-64::mkl-service-2.3.0-py38hfa6e2cd_0
  msys2-conda-epoch  pkgs/msys2/win-64::msys2-conda-epoch-20160418-1
  munch              conda-forge/noarch::munch-2.5.0-py_0
  networkx           conda-forge/noarch::networkx-2.5-py_0
  numpy              conda-forge/win-64::numpy-1.19.1-py38h72c728b_0
  olefile            conda-forge/noarch::olefile-0.46-py_0
  openjpeg           conda-forge/win-64::openjpeg-2.3.1-h57dd2e7_3
  pandas             conda-forge/win-64::pandas-1.1.1-py38h7ae7562_0
  pcre               conda-forge/win-64::pcre-8.44-h6538335_0
  pillow             conda-forge/win-64::pillow-7.2.0-py38h7011068_1
  pixman             conda-forge/win-64::pixman-0.38.0-hfa6e2cd_1003
  poppler            conda-forge/win-64::poppler-0.89.0-h5d62644_1
  poppler-data       conda-forge/noarch::poppler-data-0.4.9-1
  postgresql         conda-forge/win-64::postgresql-12.3-he14cc48_0
  proj               conda-forge/win-64::proj-7.1.0-h7d85306_1
  pyparsing          conda-forge/noarch::pyparsing-2.4.7-pyh9f0ad1d_0
  pyproj             conda-forge/win-64::pyproj-2.6.1.post1-py38h5a885fd_1
  pyqt               conda-forge/win-64::pyqt-5.12.3-py38h6538335_1
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.1-py_0
  pytz               conda-forge/noarch::pytz-2020.1-pyh9f0ad1d_0
  pywavelets         conda-forge/win-64::pywavelets-1.1.1-py38h40bdaab_1
  pyyaml             conda-forge/win-64::pyyaml-5.3.1-py38h9de7a3e_0
  qt                 conda-forge/win-64::qt-5.12.5-h7ef1ec2_0
  rtree              conda-forge/win-64::rtree-0.9.4-py38h7ad75cc_1
  scikit-image       conda-forge/win-64::scikit-image-0.17.2-py38he6e81aa_1
  scipy              pkgs/main/win-64::scipy-1.5.0-py38h9439919_0
  shapely            conda-forge/win-64::shapely-1.7.1-py38hc96c142_0
  six                conda-forge/noarch::six-1.15.0-pyh9f0ad1d_0
  snappy             conda-forge/win-64::snappy-1.1.8-ha925a31_3
  tbb                conda-forge/win-64::tbb-2020.1-he980bc4_0
  tifffile           conda-forge/noarch::tifffile-2020.8.13-py_0
  tiledb             conda-forge/win-64::tiledb-2.0.8-h71c485d_0
  tk                 conda-forge/win-64::tk-8.6.10-he774522_0
  toolz              conda-forge/noarch::toolz-0.10.0-py_0
  tornado            conda-forge/win-64::tornado-6.0.4-py38hfa6e2cd_0
  xerces-c           conda-forge/win-64::xerces-c-3.2.3-ha925a31_1
  xz                 conda-forge/win-64::xz-5.2.5-h62dcd97_1
  yaml               conda-forge/win-64::yaml-0.2.5-he774522_0
  zfp                conda-forge/win-64::zfp-0.5.5-ha925a31_1
  zlib               conda-forge/win-64::zlib-1.2.11-h62dcd97_1007
  zstd               conda-forge/win-64::zstd-1.4.5-h1f3a1b7_2

Proceed ([y]/n)? y

Downloading and Extracting Packages
networkx-2.5         | 1.2 MB    | ############################################################################ | 100%
pywavelets-1.1.1     | 4.3 MB    | ############################################################################ | 100%
yaml-0.2.5           | 61 KB     | ############################################################################ | 100%
zlib-1.2.11          | 126 KB    | ############################################################################ | 100%
charls-2.1.0         | 103 KB    | ############################################################################ | 100%
dask-core-2.24.0     | 630 KB    | ############################################################################ | 100%
cairo-1.16.0         | 5.2 MB    | ############################################################################ | 100%
matplotlib-3.3.1     | 6 KB      | ############################################################################ | 100%
libzopfli-1.0.3      | 202 KB    | ############################################################################ | 100%
libgdal-3.1.2        | 8.8 MB    | ############################################################################ | 100%
xz-5.2.5             | 211 KB    | ############################################################################ | 100%
libpng-1.6.37        | 763 KB    | ############################################################################ | 100%
pyyaml-5.3.1         | 158 KB    | ############################################################################ | 100%
jpeg-9d              | 344 KB    | ############################################################################ | 100%
pytz-2020.1          | 227 KB    | ############################################################################ | 100%
geotiff-1.6.0        | 136 KB    | ############################################################################ | 100%
click-7.1.2          | 64 KB     | ############################################################################ | 100%
jxrlib-1.1           | 623 KB    | ############################################################################ | 100%
lerc-2.2             | 133 KB    | ############################################################################ | 100%
curl-7.71.1          | 122 KB    | ############################################################################ | 100%
zstd-1.4.5           | 887 KB    | ############################################################################ | 100%
imageio-2.9.0        | 3.1 MB    | ############################################################################ | 100%
lcms2-2.11           | 797 KB    | ############################################################################ | 100%
libaec-1.0.4         | 31 KB     | ############################################################################ | 100%
xerces-c-3.2.3       | 3.8 MB    | ############################################################################ | 100%
attrs-20.1.0         | 41 KB     | ############################################################################ | 100%
numpy-1.19.1         | 4.9 MB    | ############################################################################ | 100%
cmocean-2.0          | 178 KB    | ############################################################################ | 100%
tk-8.6.10            | 3.1 MB    | ############################################################################ | 100%
libffi-3.2.1         | 37 KB     | ############################################################################ | 100%
blosc-1.20.0         | 654 KB    | ############################################################################ | 100%
pyproj-2.6.1.post1   | 368 KB    | ############################################################################ | 100%
cloudpickle-1.5.0    | 22 KB     | ############################################################################ | 100%
shapely-1.7.1        | 449 KB    | ############################################################################ | 100%
freetype-2.10.2      | 490 KB    | ############################################################################ | 100%
expat-2.2.9          | 261 KB    | ############################################################################ | 100%
cfitsio-3.470        | 588 KB    | ############################################################################ | 100%
snappy-1.1.8         | 50 KB     | ############################################################################ | 100%
glib-2.65.0          | 3.5 MB    | ############################################################################ | 100%
giflib-5.2.1         | 84 KB     | ############################################################################ | 100%
lz4-c-1.9.2          | 279 KB    | ############################################################################ | 100%
matplotlib-base-3.3. | 6.8 MB    | ############################################################################ | 100%
scikit-image-0.17.2  | 10.4 MB   | ############################################################################ | 100%
tbb-2020.1           | 167 KB    | ############################################################################ | 100%
colorspacious-1.1.2  | 30 KB     | ############################################################################ | 100%
libpq-12.3           | 3.7 MB    | ############################################################################ | 100%
boost-cpp-1.72.0     | 16.4 MB   | ############################################################################ | 100%
geopandas-0.8.1      | 925 KB    | ############################################################################ | 100%
six-1.15.0           | 14 KB     | ############################################################################ | 100%
pixman-0.38.0        | 993 KB    | ############################################################################ | 100%
imagecodecs-2020.5.3 | 6.2 MB    | ############################################################################ | 100%
libcurl-7.71.1       | 388 KB    | ############################################################################ | 100%
fiona-1.8.13         | 871 KB    | ############################################################################ | 100%
tiledb-2.0.8         | 1.5 MB    | ############################################################################ | 100%
krb5-1.17.1          | 835 KB    | ############################################################################ | 100%
libiconv-1.16        | 680 KB    | ############################################################################ | 100%
libxml2-2.9.10       | 3.5 MB    | ############################################################################ | 100%
bzip2-1.0.8          | 148 KB    | ############################################################################ | 100%
proj-7.1.0           | 2.4 MB    | ############################################################################ | 100%
gdal-3.1.2           | 1.4 MB    | ############################################################################ | 100%
hdf5-1.10.6          | 19.4 MB   | ############################################################################ | 100%
kealib-1.4.13        | 157 KB    | ############################################################################ | 100%
tifffile-2020.8.13   | 117 KB    | ############################################################################ | 100%
zfp-0.5.5            | 149 KB    | ############################################################################ | 100%
poppler-0.89.0       | 2.2 MB    | ############################################################################ | 100%
libssh2-1.9.0        | 218 KB    | ############################################################################ | 100%
postgresql-12.3      | 21.0 MB   | ############################################################################ | 100%
mkl-service-2.3.0    | 54 KB     | ############################################################################ | 100%
libwebp-base-1.1.0   | 356 KB    | ############################################################################ | 100%
libspatialite-4.3.0a | 4.0 MB    | ############################################################################ | 100%
pandas-1.1.1         | 9.7 MB    | ############################################################################ | 100%
brotli-1.0.7         | 817 KB    | ############################################################################ | 100%
libnetcdf-4.7.4      | 601 KB    | ############################################################################ | 100%
scipy-1.5.0          | 12.0 MB   | ############################################################################ | 100%
pillow-7.2.0         | 736 KB    | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(aros) C:\WINDOWS\system32>conda install -c conda-forge basemap pykrige pyfftw
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.8.3
  latest version: 4.8.4

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: C:\Users\danschef\Anaconda3\envs\aros

  added / updated specs:
    - basemap
    - pyfftw
    - pykrige

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    basemap-1.2.2              |   py38haf86b8b_0        15.2 MB  conda-forge
    fftw-3.3.8                 |nompi_h24e91a8_1111         753 KB  conda-forge
    pykrige-1.5.1              |   py38h1e8a9f7_0         905 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        16.8 MB

The following NEW packages will be INSTALLED:

  basemap            conda-forge/win-64::basemap-1.2.2-py38haf86b8b_0
  fftw               conda-forge/win-64::fftw-3.3.8-nompi_h24e91a8_1111
  pyfftw             conda-forge/win-64::pyfftw-0.12.0-py38hd17e47c_1
  pykrige            conda-forge/win-64::pykrige-1.5.1-py38h1e8a9f7_0
  pyshp              conda-forge/noarch::pyshp-2.1.0-py_0

Proceed ([y]/n)? y

Downloading and Extracting Packages
basemap-1.2.2        | 15.2 MB   | ############################################################################ | 100%
pykrige-1.5.1        | 905 KB    | ############################################################################ | 100%
fftw-3.3.8           | 753 KB    | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(aros) C:\WINDOWS\system32>pip install arosics
Collecting arosics
  Downloading arosics-0.9.19.tar.gz (26.9 MB)
     |████████████████████████████████| 26.9 MB 3.3 MB/s
Requirement already satisfied: numpy in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from arosics) (1.19.1)
Requirement already satisfied: gdal in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from arosics) (3.1.2)
Requirement already satisfied: shapely in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from arosics) (1.7.1)
Requirement already satisfied: scikit-image in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from arosics) (0.17.2)
Requirement already satisfied: matplotlib in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from arosics) (3.3.1)
Requirement already satisfied: geopandas in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from arosics) (0.8.1)
Requirement already satisfied: pandas in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from arosics) (1.1.1)
Collecting geoarray>=0.8.30
  Downloading geoarray-0.8.31.tar.gz (59 kB)
     |████████████████████████████████| 59 kB 3.0 MB/s
Collecting py_tools_ds>=0.14.28
  Downloading py_tools_ds-0.14.36.tar.gz (83 kB)
     |████████████████████████████████| 83 kB ...
Collecting plotly
  Downloading plotly-4.9.0-py2.py3-none-any.whl (12.9 MB)
     |████████████████████████████████| 12.9 MB ...
Requirement already satisfied: cmocean in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from arosics) (2.0)
Requirement already satisfied: six in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from arosics) (1.15.0)
Collecting folium>=0.6.0
  Downloading folium-0.11.0-py2.py3-none-any.whl (93 kB)
     |████████████████████████████████| 93 kB ...
Collecting geojson
  Using cached geojson-2.5.0-py2.py3-none-any.whl (14 kB)
Requirement already satisfied: scipy>=1.0.1 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (1.5.0)
Requirement already satisfied: networkx>=2.0 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (2.5)
Requirement already satisfied: pillow!=7.1.0,!=7.1.1,>=4.3.0 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (7.2.0)
Requirement already satisfied: imageio>=2.3.0 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (2.9.0)
Requirement already satisfied: tifffile>=2019.7.26 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (2020.8.13)
Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from scikit-image->arosics) (1.1.1)
Requirement already satisfied: cycler>=0.10 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from matplotlib->arosics) (0.10.0)
Requirement already satisfied: certifi>=2020.06.20 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from matplotlib->arosics) (2020.6.20)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from matplotlib->arosics) (1.2.0)
Requirement already satisfied: python-dateutil>=2.1 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from matplotlib->arosics) (2.8.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from matplotlib->arosics) (2.4.7)
Requirement already satisfied: fiona in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from geopandas->arosics) (1.8.13)
Requirement already satisfied: pyproj>=2.2.0 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from geopandas->arosics) (2.6.1.post1)
Requirement already satisfied: pytz>=2017.2 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from pandas->arosics) (2020.1)
Collecting dill
  Downloading dill-0.3.2.zip (177 kB)
     |████████████████████████████████| 177 kB 6.8 MB/s
Collecting mpld3
  Downloading mpld3-0.5.1.tar.gz (1.0 MB)
     |████████████████████████████████| 1.0 MB ...
Requirement already satisfied: dask>=0.15.0 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from geoarray>=0.8.30->arosics) (2.24.0)
Collecting spectral
  Downloading spectral-0.22.1-py3-none-any.whl (212 kB)
     |████████████████████████████████| 212 kB ...
Processing c:\users\danschef\appdata\local\pip\cache\wheels\c4\a7\48\0a434133f6d56e878ca511c0e6c38326907c0792f67b476e56\retrying-1.3.3-py3-none-any.whl
Collecting jinja2>=2.9
  Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
     |████████████████████████████████| 125 kB ...
Collecting branca>=0.3.0
  Downloading branca-0.4.1-py3-none-any.whl (24 kB)
Collecting requests
  Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
     |████████████████████████████████| 61 kB 4.8 MB/s
Requirement already satisfied: decorator>=4.3.0 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from networkx>=2.0->scikit-image->arosics) (4.4.2)
Requirement already satisfied: attrs>=17 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from fiona->geopandas->arosics) (20.1.0)
Requirement already satisfied: click<8,>=4.0 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from fiona->geopandas->arosics) (7.1.2)
Requirement already satisfied: cligj>=0.5 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from fiona->geopandas->arosics) (0.5.0)
Requirement already satisfied: click-plugins>=1.0 in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from fiona->geopandas->arosics) (1.1.1)
Requirement already satisfied: munch in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from fiona->geopandas->arosics) (2.5.0)
Requirement already satisfied: pyyaml in c:\users\danschef\anaconda3\envs\aros\lib\site-packages (from dask>=0.15.0->geoarray>=0.8.30->arosics) (5.3.1)
Collecting MarkupSafe>=0.23
  Using cached MarkupSafe-1.1.1-cp38-cp38-win_amd64.whl (16 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
     |████████████████████████████████| 127 kB 6.8 MB/s
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting idna<3,>=2.5
  Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
     |████████████████████████████████| 58 kB ...
Building wheels for collected packages: arosics, geoarray, py-tools-ds, dill, mpld3
  Building wheel for arosics (setup.py) ... done
  Created wheel for arosics: filename=arosics-0.9.19-py2.py3-none-any.whl size=19947363 sha256=e74e2d779ed0d016211a74edff4bb9a282d3de8c268ae2068747f91ea07053cf
  Stored in directory: c:\users\danschef\appdata\local\pip\cache\wheels\d2\55\ae\60f173021dfcb9b8ed30ef4288dfc9342c68808e329690d973
  Building wheel for geoarray (setup.py) ... done
  Created wheel for geoarray: filename=geoarray-0.8.31-py2.py3-none-any.whl size=51929 sha256=7f48be50f2bf5191ecb5cf9ab043a5a7aa2733a02656e1f68ed8f1436e4c2bce
  Stored in directory: c:\users\danschef\appdata\local\pip\cache\wheels\25\b4\a6\13e12abd781696f3cae01048e9b2a94cd77e39094d225957a9
  Building wheel for py-tools-ds (setup.py) ... done
  Created wheel for py-tools-ds: filename=py_tools_ds-0.14.36-py2.py3-none-any.whl size=106170 sha256=051efa36dd3484c13b37945b240a4dcb53440fac690cc92f0c0e77d3ff7f6aa5
  Stored in directory: c:\users\danschef\appdata\local\pip\cache\wheels\d2\e3\e6\d8fe5ca84ae94e4164fdf572b649a640027012276af125c68b
  Building wheel for dill (setup.py) ... done
  Created wheel for dill: filename=dill-0.3.2-py3-none-any.whl size=78976 sha256=ea8791f87c389df098d57f9c5d95fa1bd96c50ae9e4847bcefaadbb5e30d0044
  Stored in directory: c:\users\danschef\appdata\local\pip\cache\wheels\93\7f\7d\78ec535a4340ef2696aad8b17fe8bb063d56301bd62881b069
  Building wheel for mpld3 (setup.py) ... done
  Created wheel for mpld3: filename=mpld3-0.5.1-py3-none-any.whl size=364070 sha256=404579e9506cd0a0dcd5b8a3c78a30487c7510fafd8c006b7362ac4514ebd98c
  Stored in directory: c:\users\danschef\appdata\local\pip\cache\wheels\b3\dc\b3\207c17ae6ff63d48f9b8355849eb45407960207fb75a256e5e
Successfully built arosics geoarray py-tools-ds dill mpld3
Installing collected packages: spectral, py-tools-ds, dill, MarkupSafe, jinja2, mpld3, geojson, branca, urllib3, chardet, idna, requests, folium, geoarray, retrying, plotly, arosics
Successfully installed MarkupSafe-1.1.1 arosics-0.9.19 branca-0.4.1 chardet-3.0.4 dill-0.3.2 folium-0.11.0 geoarray-0.8.31 geojson-2.5.0 idna-2.10 jinja2-2.11.2 mpld3-0.5.1 plotly-4.9.0 py-tools-ds-0.14.36 requests-2.24.0 retrying-1.3.3 spectral-0.22.1 urllib3-1.25.10

(aros) C:\WINDOWS\system32>python
Python 3.8.5 | packaged by conda-forge | (default, Aug 19 2020, 11:50:57) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import gdal
>>> import arosics
>>> arosics.__version__
'0.9.19'

I am using Windows 10 64bit.

Are you able to import gdal in that environment? I know that GDAL sometimes has issues with long filepaths on Windows. So I would try to trace it down to the library that causes the issue (might be gdal) and try to install Miniconda on another drive (keep the filepath short).

disbr007 commented 4 years ago

Thanks for looking into it. I cannot import gdal into that environment. I tried using a shorter env path and got the same results. Cloning an existing env I can import both gdal and arosics, however cannot run arosics.COREG. Didn't want to start another issue as it appears to be a GeoArray/gdal issue, but any help would be appreciated:

(arosics) C:\code\pgc-code-all>conda info

     active environment : arosics
    active env location : C:\miniconda\envs\arosics
            shell level : 2
       user config file : C:\Users\disbr007\.condarc
 populated config files : C:\Users\disbr007\.condarc
          conda version : 4.8.4
    conda-build version : 3.19.2
         python version : 3.7.4.final.0
       virtual packages : __cuda=8.0
       base environment : C:\Users\disbr007\AppData\Local\Continuum\miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\disbr007\AppData\Local\Continuum\miniconda3\pkgs
                          C:\Users\disbr007\.conda\pkgs
                          C:\Users\disbr007\AppData\Local\conda\conda\pkgs
       envs directories : C:\miniconda\envs
                          C:\Users\disbr007\AppData\Local\Continuum\miniconda3\envs
                          C:\Users\disbr007\.conda\envs
                          C:\Users\disbr007\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.4 requests/2.24.0 CPython/3.7.4 Windows/10 Windows/10.0.18362
          administrator : False
             netrc file : None
           offline mode : False
Python 3.7.6 | packaged by conda-forge | (default, Jan  7 2020, 21:48:41) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import arosics
C:\miniconda\envs\arosics\lib\site-packages\arosics\__init__.py:47: UserWarning: PYFFTW library is missing. However, coregistration works. But in some cases it can be much slower.
  _warnings.warn('PYFFTW library is missing. However, coregistration works. But in some cases it can be much slower.')
>>> im_ref = r'V:\pgc\data\scratch\jeff\ms\2020may12\dems\raw\WV02_20120729_103001001A29A200_103001001B348300_2m\WV02_20120729_103001001A29A200_103001001B348300_seg1_2m_ortho.tif'
>>> im_tar = r'V:\pgc\data\scratch\jeff\ms\2020may12\dems\raw\WV02_20140818_1030010035755C00_10300100360BC800_2m\WV02_20140818_1030010035755C00_10300100360BC800_seg3_2m_ortho.tif'
>>> cr = arosics.COREG(im_ref, im_tar)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\miniconda\envs\arosics\lib\site-packages\arosics\CoReg.py", line 310, in __init__
    self._get_image_params()
  File "C:\miniconda\envs\arosics\lib\site-packages\arosics\CoReg.py", line 442, in _get_image_params
    self.ref = GeoArray_CoReg(self.params, 'ref')
  File "C:\miniconda\envs\arosics\lib\site-packages\arosics\CoReg.py", line 77, in __init__
    super(GeoArray_CoReg, self).__init__(path_or_geoArr, nodata=nodata, progress=progress, q=q)
  File "C:\miniconda\envs\arosics\lib\site-packages\geoarray\baseclasses.py", line 152, in __init__
    self.set_gdalDataset_meta()
  File "C:\miniconda\envs\arosics\lib\site-packages\geoarray\baseclasses.py", line 777, in set_gdalDataset_meta
    self._projection = EPSG2WKT(WKT2EPSG(wkt)) if not isLocal(wkt) else ''
  File "C:\miniconda\envs\arosics\lib\site-packages\py_tools_ds\geo\projection.py", line 215, in WKT2EPSG
    with open(epsgfile) as f:
PermissionError: [Errno 13] Permission denied: 'C:\\miniconda\\envs\\arosics\\Library\\share\\gdal'
>>> cr = arosics.COREG(im_ref, im_tar, path_out=r'C:\temp\test.tif')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\miniconda\envs\arosics\lib\site-packages\arosics\CoReg.py", line 310, in __init__
    self._get_image_params()
  File "C:\miniconda\envs\arosics\lib\site-packages\arosics\CoReg.py", line 442, in _get_image_params
    self.ref = GeoArray_CoReg(self.params, 'ref')
  File "C:\miniconda\envs\arosics\lib\site-packages\arosics\CoReg.py", line 77, in __init__
    super(GeoArray_CoReg, self).__init__(path_or_geoArr, nodata=nodata, progress=progress, q=q)
  File "C:\miniconda\envs\arosics\lib\site-packages\geoarray\baseclasses.py", line 152, in __init__
    self.set_gdalDataset_meta()
  File "C:\miniconda\envs\arosics\lib\site-packages\geoarray\baseclasses.py", line 777, in set_gdalDataset_meta
    self._projection = EPSG2WKT(WKT2EPSG(wkt)) if not isLocal(wkt) else ''
  File "C:\miniconda\envs\arosics\lib\site-packages\py_tools_ds\geo\projection.py", line 215, in WKT2EPSG
    with open(epsgfile) as f:
PermissionError: [Errno 13] Permission denied: 'C:\\miniconda\\envs\\arosics\\Library\\share\\gdal'
danschef commented 4 years ago

The best option to fix the PermissionError would be to use a Windows user account with root permissions. However, if that is not possible, I would try to install arosics with the --user flag:

pip uninstall arosics pip uninstall geoarray pip uninstall py_tools_ds pip install --user py_tools_ds pip install --user geoarray pip install --user arosics

danschef commented 4 years ago

Have you actually tried to run your cmd.exe with administrative rights?

danschef commented 4 years ago

I cannot import gdal into that environment.

You could try if gdal is importable within a gdal-only environment:

conda create -c conda-forge --name gdalenv python=3 gdal

If that does not work, then the issue is not related to AROSICS.

disbr007 commented 4 years ago

Thanks for all of the advice. Unfortunately pip installing with the --user flag did not work, same Permission denied Error.

I can import gdal in that env, and a handful of other envs on this machine. I will try creating a new conda env in a admin prompt.

Thanks again and will let you know how it goes.

disbr007 commented 4 years ago

Unfortunately no luck using an admin prompt. I even tried on my personal Windows 10 machine which is a nearly fresh install, definitely no other gdal on it. To be clear - the issue is not importing arosics, it's a PermissionError when performing COREG.

Here is the traceback:

(base) C:\Windows\system32>conda create -c conda-forge --name aro python=3
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.8.3
  latest version: 4.8.4

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: C:\Miniconda3\envs\aro

  added / updated specs:
    - python=3

The following NEW packages will be INSTALLED:

  ca-certificates    conda-forge/win-64::ca-certificates-2020.6.20-hecda079_0
  certifi            conda-forge/win-64::certifi-2020.6.20-py38h32f6830_0
  openssl            conda-forge/win-64::openssl-1.1.1g-he774522_1
  pip                conda-forge/noarch::pip-20.2.2-py_0
  python             conda-forge/win-64::python-3.8.5-h5fd99cc_2_cpython
  python_abi         conda-forge/win-64::python_abi-3.8-1_cp38
  setuptools         conda-forge/win-64::setuptools-49.6.0-py38h32f6830_0
  sqlite             conda-forge/win-64::sqlite-3.33.0-he774522_0
  vc                 conda-forge/win-64::vc-14.1-h869be7e_1
  vs2015_runtime     conda-forge/win-64::vs2015_runtime-14.16.27012-h30e32a0_2
  wheel              conda-forge/noarch::wheel-0.35.1-pyh9f0ad1d_0
  wincertstore       conda-forge/win-64::wincertstore-0.2-py38_1003

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate aro
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) C:\Windows\system32>activate aro

(aro) C:\Windows\system32>conda install -c conda-forge numpy gdal scikit-image matplotlib pyproj shapely geopandas pandas cmocean
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.8.3
  latest version: 4.8.4

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: C:\Miniconda3\envs\aro

  added / updated specs:
    - cmocean
    - gdal
    - geopandas
    - matplotlib
    - numpy
    - pandas
    - pyproj
    - scikit-image
    - shapely

The following NEW packages will be INSTALLED:

  attrs              conda-forge/noarch::attrs-20.1.0-pyh9f0ad1d_0
  blas               pkgs/main/win-64::blas-1.0-mkl
  blosc              conda-forge/win-64::blosc-1.20.0-ha925a31_0
  boost-cpp          conda-forge/win-64::boost-cpp-1.72.0-h89d28cc_2
  brotli             conda-forge/win-64::brotli-1.0.7-ha925a31_1004
  bzip2              conda-forge/win-64::bzip2-1.0.8-he774522_3
  cairo              conda-forge/win-64::cairo-1.16.0-h8a5e50b_1003
  cfitsio            conda-forge/win-64::cfitsio-3.470-hbbe6aef_6
  charls             conda-forge/win-64::charls-2.1.0-h33f27b4_2
  click              conda-forge/noarch::click-7.1.2-pyh9f0ad1d_0
  click-plugins      conda-forge/noarch::click-plugins-1.1.1-py_0
  cligj              conda-forge/noarch::cligj-0.5.0-py_0
  cloudpickle        conda-forge/noarch::cloudpickle-1.6.0-py_0
  cmocean            conda-forge/noarch::cmocean-2.0-py_3
  colorspacious      conda-forge/noarch::colorspacious-1.1.2-pyh24bf2e0_0
  curl               conda-forge/win-64::curl-7.71.1-h4b64cdc_5
  cycler             conda-forge/noarch::cycler-0.10.0-py_2
  cytoolz            conda-forge/win-64::cytoolz-0.10.1-py38hfa6e2cd_0
  dask-core          conda-forge/noarch::dask-core-2.24.0-py_0
  decorator          conda-forge/noarch::decorator-4.4.2-py_0
  expat              conda-forge/win-64::expat-2.2.9-h33f27b4_2
  fiona              conda-forge/win-64::fiona-1.8.13-py38hcb65fe8_2
  freetype           conda-forge/win-64::freetype-2.10.2-hd328e21_0
  freexl             conda-forge/win-64::freexl-1.0.5-hd288d7e_1002
  gdal               conda-forge/win-64::gdal-3.1.2-py38h5f218aa_2
  geopandas          conda-forge/noarch::geopandas-0.8.1-py_0
  geos               conda-forge/win-64::geos-3.8.1-he025d50_0
  geotiff            conda-forge/win-64::geotiff-1.6.0-h09e6dc1_1
  gettext            conda-forge/win-64::gettext-0.19.8.1-hb01d8f6_1002
  giflib             conda-forge/win-64::giflib-5.2.1-h2fa13f4_2
  glib               conda-forge/win-64::glib-2.65.0-he4de6d7_0
  hdf4               conda-forge/win-64::hdf4-4.2.13-hf8e6fe8_1003
  hdf5               conda-forge/win-64::hdf5-1.10.6-nompi_he0bbb20_101
  icc_rt             pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1
  icu                conda-forge/win-64::icu-64.2-he025d50_1
  imagecodecs        conda-forge/win-64::imagecodecs-2020.5.30-py38h2dff1b1_2
  imageio            conda-forge/noarch::imageio-2.9.0-py_0
  intel-openmp       pkgs/main/win-64::intel-openmp-2020.2-254
  jpeg               conda-forge/win-64::jpeg-9d-he774522_0
  jxrlib             conda-forge/win-64::jxrlib-1.1-hfa6e2cd_2
  kealib             conda-forge/win-64::kealib-1.4.13-h3b59ab9_1
  kiwisolver         conda-forge/win-64::kiwisolver-1.2.0-py38heaebd3c_0
  krb5               conda-forge/win-64::krb5-1.17.1-hc04afaa_2
  lcms2              conda-forge/win-64::lcms2-2.11-he1115b7_0
  lerc               conda-forge/win-64::lerc-2.2-ha925a31_0
  libaec             conda-forge/win-64::libaec-1.0.4-he025d50_1
  libblas            conda-forge/win-64::libblas-3.8.0-14_mkl
  libcblas           conda-forge/win-64::libcblas-3.8.0-14_mkl
  libclang           conda-forge/win-64::libclang-9.0.1-default_hf44288c_0
  libcurl            conda-forge/win-64::libcurl-7.71.1-h4b64cdc_5
  libffi             conda-forge/win-64::libffi-3.2.1-ha925a31_1007
  libgdal            conda-forge/win-64::libgdal-3.1.2-h132428b_2
  libiconv           conda-forge/win-64::libiconv-1.16-he774522_0
  libkml             conda-forge/win-64::libkml-1.3.0-h7e985d0_1011
  liblapack          conda-forge/win-64::liblapack-3.8.0-14_mkl
  libnetcdf          conda-forge/win-64::libnetcdf-4.7.4-nompi_h256d12c_105
  libpng             conda-forge/win-64::libpng-1.6.37-ha81a0f5_2
  libpq              conda-forge/win-64::libpq-12.3-hd9aa61d_0
  libspatialindex    conda-forge/win-64::libspatialindex-1.9.3-he025d50_3
  libspatialite      conda-forge/win-64::libspatialite-4.3.0a-h9ed2f40_1039
  libssh2            conda-forge/win-64::libssh2-1.9.0-hb06d900_5
  libtiff            conda-forge/win-64::libtiff-4.1.0-h885aae3_6
  libwebp-base       conda-forge/win-64::libwebp-base-1.1.0-hfa6e2cd_3
  libxml2            conda-forge/win-64::libxml2-2.9.10-h1006b36_2
  libzopfli          conda-forge/win-64::libzopfli-1.0.3-ha925a31_0
  lz4-c              conda-forge/win-64::lz4-c-1.9.2-h62dcd97_2
  m2w64-expat        pkgs/msys2/win-64::m2w64-expat-2.1.1-2
  m2w64-gcc-libgfor~ pkgs/msys2/win-64::m2w64-gcc-libgfortran-5.3.0-6
  m2w64-gcc-libs     pkgs/msys2/win-64::m2w64-gcc-libs-5.3.0-7
  m2w64-gcc-libs-co~ pkgs/msys2/win-64::m2w64-gcc-libs-core-5.3.0-7
  m2w64-gettext      pkgs/msys2/win-64::m2w64-gettext-0.19.7-2
  m2w64-gmp          pkgs/msys2/win-64::m2w64-gmp-6.1.0-2
  m2w64-libiconv     pkgs/msys2/win-64::m2w64-libiconv-1.14-6
  m2w64-libwinpthre~ pkgs/msys2/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f757-2
  m2w64-xz           pkgs/msys2/win-64::m2w64-xz-5.2.2-2
  matplotlib         conda-forge/win-64::matplotlib-3.3.1-1
  matplotlib-base    conda-forge/win-64::matplotlib-base-3.3.1-py38hfb9ee82_1
  mkl                pkgs/main/win-64::mkl-2019.4-245
  mkl-service        conda-forge/win-64::mkl-service-2.3.0-py38hfa6e2cd_0
  msys2-conda-epoch  pkgs/msys2/win-64::msys2-conda-epoch-20160418-1
  munch              conda-forge/noarch::munch-2.5.0-py_0
  networkx           conda-forge/noarch::networkx-2.5-py_0
  numpy              conda-forge/win-64::numpy-1.19.1-py38h72c728b_0
  olefile            conda-forge/noarch::olefile-0.46-py_0
  openjpeg           conda-forge/win-64::openjpeg-2.3.1-h57dd2e7_3
  pandas             conda-forge/win-64::pandas-1.1.1-py38h7ae7562_0
  pcre               conda-forge/win-64::pcre-8.44-h6538335_0
  pillow             conda-forge/win-64::pillow-7.2.0-py38h7011068_1
  pixman             conda-forge/win-64::pixman-0.38.0-hfa6e2cd_1003
  poppler            conda-forge/win-64::poppler-0.89.0-h5d62644_1
  poppler-data       conda-forge/noarch::poppler-data-0.4.9-1
  postgresql         conda-forge/win-64::postgresql-12.3-he14cc48_0
  proj               conda-forge/win-64::proj-7.1.0-h7d85306_1
  pyparsing          conda-forge/noarch::pyparsing-2.4.7-pyh9f0ad1d_0
  pyproj             conda-forge/win-64::pyproj-2.6.1.post1-py38h5a885fd_1
  pyqt               conda-forge/win-64::pyqt-5.12.3-py38h6538335_1
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.1-py_0
  pytz               conda-forge/noarch::pytz-2020.1-pyh9f0ad1d_0
  pywavelets         conda-forge/win-64::pywavelets-1.1.1-py38h40bdaab_1
  pyyaml             conda-forge/win-64::pyyaml-5.3.1-py38h9de7a3e_0
  qt                 conda-forge/win-64::qt-5.12.5-h7ef1ec2_0
  rtree              conda-forge/win-64::rtree-0.9.4-py38h7ad75cc_1
  scikit-image       conda-forge/win-64::scikit-image-0.17.2-py38he6e81aa_1
  scipy              pkgs/main/win-64::scipy-1.5.0-py38h9439919_0
  shapely            conda-forge/win-64::shapely-1.7.1-py38hc96c142_0
  six                conda-forge/noarch::six-1.15.0-pyh9f0ad1d_0
  snappy             conda-forge/win-64::snappy-1.1.8-ha925a31_3
  tbb                conda-forge/win-64::tbb-2020.1-he980bc4_0
  tifffile           conda-forge/noarch::tifffile-2020.8.13-py_0
  tiledb             conda-forge/win-64::tiledb-2.0.8-h71c485d_0
  tk                 conda-forge/win-64::tk-8.6.10-he774522_0
  toolz              conda-forge/noarch::toolz-0.10.0-py_0
  tornado            conda-forge/win-64::tornado-6.0.4-py38hfa6e2cd_0
  xerces-c           conda-forge/win-64::xerces-c-3.2.3-ha925a31_1
  xz                 conda-forge/win-64::xz-5.2.5-h62dcd97_1
  yaml               conda-forge/win-64::yaml-0.2.5-he774522_0
  zfp                conda-forge/win-64::zfp-0.5.5-ha925a31_1
  zlib               conda-forge/win-64::zlib-1.2.11-h62dcd97_1007
  zstd               conda-forge/win-64::zstd-1.4.5-h1f3a1b7_2

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(aro) C:\Windows\system32>conda install -c conda-forge basemap pykrige pyfftw
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.8.3
  latest version: 4.8.4

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: C:\Miniconda3\envs\aro

  added / updated specs:
    - basemap
    - pyfftw
    - pykrige

The following NEW packages will be INSTALLED:

  basemap            conda-forge/win-64::basemap-1.2.2-py38haf86b8b_0
  fftw               conda-forge/win-64::fftw-3.3.8-nompi_h24e91a8_1111
  pyfftw             conda-forge/win-64::pyfftw-0.12.0-py38hd17e47c_1
  pykrige            conda-forge/win-64::pykrige-1.5.1-py38h1e8a9f7_0
  pyshp              conda-forge/noarch::pyshp-2.1.0-py_0

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(aro) C:\Windows\system32>pip install arosics
Processing c:\users\jeff\appdata\local\pip\cache\wheels\d2\55\ae\60f173021dfcb9b8ed30ef4288dfc9342c68808e329690d973\arosics-0.9.19-py2.py3-none-any.whl
Requirement already satisfied: shapely in c:\miniconda3\envs\aro\lib\site-packages (from arosics) (1.7.1)
Requirement already satisfied: six in c:\miniconda3\envs\aro\lib\site-packages (from arosics) (1.15.0)
Requirement already satisfied: geopandas in c:\miniconda3\envs\aro\lib\site-packages (from arosics) (0.8.1)
Collecting geojson
  Using cached geojson-2.5.0-py2.py3-none-any.whl (14 kB)
Requirement already satisfied: scikit-image in c:\miniconda3\envs\aro\lib\site-packages (from arosics) (0.17.2)
Requirement already satisfied: cmocean in c:\miniconda3\envs\aro\lib\site-packages (from arosics) (2.0)
Collecting folium>=0.6.0
  Using cached folium-0.11.0-py2.py3-none-any.whl (93 kB)
Processing c:\users\jeff\appdata\local\pip\cache\wheels\d2\e3\e6\d8fe5ca84ae94e4164fdf572b649a640027012276af125c68b\py_tools_ds-0.14.36-py2.py3-none-any.whl
Requirement already satisfied: pandas in c:\miniconda3\envs\aro\lib\site-packages (from arosics) (1.1.1)
Requirement already satisfied: gdal in c:\miniconda3\envs\aro\lib\site-packages (from arosics) (3.1.2)
Collecting plotly
  Using cached plotly-4.9.0-py2.py3-none-any.whl (12.9 MB)
Processing c:\users\jeff\appdata\local\pip\cache\wheels\25\b4\a6\13e12abd781696f3cae01048e9b2a94cd77e39094d225957a9\geoarray-0.8.31-py2.py3-none-any.whl
Requirement already satisfied: numpy in c:\miniconda3\envs\aro\lib\site-packages (from arosics) (1.19.1)
Requirement already satisfied: matplotlib in c:\miniconda3\envs\aro\lib\site-packages (from arosics) (3.3.1)
Requirement already satisfied: pyproj>=2.2.0 in c:\miniconda3\envs\aro\lib\site-packages (from geopandas->arosics) (2.6.1.post1)
Requirement already satisfied: fiona in c:\miniconda3\envs\aro\lib\site-packages (from geopandas->arosics) (1.8.13)
Requirement already satisfied: scipy>=1.0.1 in c:\miniconda3\envs\aro\lib\site-packages (from scikit-image->arosics) (1.5.0)
Requirement already satisfied: networkx>=2.0 in c:\miniconda3\envs\aro\lib\site-packages (from scikit-image->arosics) (2.5)
Requirement already satisfied: pillow!=7.1.0,!=7.1.1,>=4.3.0 in c:\miniconda3\envs\aro\lib\site-packages (from scikit-image->arosics) (7.2.0)
Requirement already satisfied: imageio>=2.3.0 in c:\miniconda3\envs\aro\lib\site-packages (from scikit-image->arosics) (2.9.0)
Requirement already satisfied: tifffile>=2019.7.26 in c:\miniconda3\envs\aro\lib\site-packages (from scikit-image->arosics) (2020.8.13)
Requirement already satisfied: PyWavelets>=1.1.1 in c:\miniconda3\envs\aro\lib\site-packages (from scikit-image->arosics) (1.1.1)
Collecting jinja2>=2.9
  Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Collecting requests
  Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting branca>=0.3.0
  Using cached branca-0.4.1-py3-none-any.whl (24 kB)
Collecting spectral
  Using cached spectral-0.22.1-py3-none-any.whl (212 kB)
Requirement already satisfied: python-dateutil>=2.7.3 in c:\miniconda3\envs\aro\lib\site-packages (from pandas->arosics) (2.8.1)
Requirement already satisfied: pytz>=2017.2 in c:\miniconda3\envs\aro\lib\site-packages (from pandas->arosics) (2020.1)
Processing c:\users\jeff\appdata\local\pip\cache\wheels\c4\a7\48\0a434133f6d56e878ca511c0e6c38326907c0792f67b476e56\retrying-1.3.3-py3-none-any.whl
Processing c:\users\jeff\appdata\local\pip\cache\wheels\b3\dc\b3\207c17ae6ff63d48f9b8355849eb45407960207fb75a256e5e\mpld3-0.5.1-py3-none-any.whl
Processing c:\users\jeff\appdata\local\pip\cache\wheels\93\7f\7d\78ec535a4340ef2696aad8b17fe8bb063d56301bd62881b069\dill-0.3.2-py3-none-any.whl
Requirement already satisfied: dask>=0.15.0 in c:\miniconda3\envs\aro\lib\site-packages (from geoarray>=0.8.30->arosics) (2.24.0)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\miniconda3\envs\aro\lib\site-packages (from matplotlib->arosics) (1.2.0)
Requirement already satisfied: certifi>=2020.06.20 in c:\miniconda3\envs\aro\lib\site-packages (from matplotlib->arosics) (2020.6.20)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in c:\miniconda3\envs\aro\lib\site-packages (from matplotlib->arosics) (2.4.7)
Requirement already satisfied: cycler>=0.10 in c:\miniconda3\envs\aro\lib\site-packages (from matplotlib->arosics) (0.10.0)
Requirement already satisfied: attrs>=17 in c:\miniconda3\envs\aro\lib\site-packages (from fiona->geopandas->arosics) (20.1.0)
Requirement already satisfied: click<8,>=4.0 in c:\miniconda3\envs\aro\lib\site-packages (from fiona->geopandas->arosics) (7.1.2)
Requirement already satisfied: cligj>=0.5 in c:\miniconda3\envs\aro\lib\site-packages (from fiona->geopandas->arosics) (0.5.0)
Requirement already satisfied: click-plugins>=1.0 in c:\miniconda3\envs\aro\lib\site-packages (from fiona->geopandas->arosics) (1.1.1)
Requirement already satisfied: munch in c:\miniconda3\envs\aro\lib\site-packages (from fiona->geopandas->arosics) (2.5.0)
Requirement already satisfied: decorator>=4.3.0 in c:\miniconda3\envs\aro\lib\site-packages (from networkx>=2.0->scikit-image->arosics) (4.4.2)
Collecting MarkupSafe>=0.23
  Using cached MarkupSafe-1.1.1-cp38-cp38-win_amd64.whl (16 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Requirement already satisfied: pyyaml in c:\miniconda3\envs\aro\lib\site-packages (from dask>=0.15.0->geoarray>=0.8.30->arosics) (5.3.1)
Installing collected packages: geojson, MarkupSafe, jinja2, idna, urllib3, chardet, requests, branca, folium, spectral, py-tools-ds, retrying, plotly, mpld3, dill, geoarray, arosics
Successfully installed MarkupSafe-1.1.1 arosics-0.9.19 branca-0.4.1 chardet-3.0.4 dill-0.3.2 folium-0.11.0 geoarray-0.8.31 geojson-2.5.0 idna-2.10 jinja2-2.11.2 mpld3-0.5.1 plotly-4.9.0 py-tools-ds-0.14.36 requests-2.24.0 retrying-1.3.3 spectral-0.22.1 urllib3-1.25.10

(aro) C:\Windows\system32>python
Python 3.8.5 | packaged by conda-forge | (default, Jul 31 2020, 01:53:45) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import arosics
>>> im_ref = r'C:\temp\aro\LC08_CU_009005_20200730_20200809_C01_V01_TA\LC08_CU_009005_20200730_20200809_C01_V01_TAB1.tif'
>>> im_tar = r'C:\temp\aro\LC08_CU_009005_20200815_20200825_C01_V01_TA\LC08_CU_009005_20200815_20200825_C01_V01_TAB1.tif'
>>> arosics.COREG(im_ref, im_tar)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Miniconda3\envs\aro\lib\site-packages\arosics\CoReg.py", line 310, in __init__
    self._get_image_params()
  File "C:\Miniconda3\envs\aro\lib\site-packages\arosics\CoReg.py", line 442, in _get_image_params
    self.ref = GeoArray_CoReg(self.params, 'ref')
  File "C:\Miniconda3\envs\aro\lib\site-packages\arosics\CoReg.py", line 77, in __init__
    super(GeoArray_CoReg, self).__init__(path_or_geoArr, nodata=nodata, progress=progress, q=q)
  File "C:\Miniconda3\envs\aro\lib\site-packages\geoarray\baseclasses.py", line 152, in __init__
    self.set_gdalDataset_meta()
  File "C:\Miniconda3\envs\aro\lib\site-packages\geoarray\baseclasses.py", line 777, in set_gdalDataset_meta
    self._projection = EPSG2WKT(WKT2EPSG(wkt)) if not isLocal(wkt) else ''
  File "C:\Miniconda3\envs\aro\lib\site-packages\py_tools_ds\geo\projection.py", line 215, in WKT2EPSG
    with open(epsgfile) as f:
PermissionError: [Errno 13] Permission denied: 'C:\\Miniconda3\\envs\\aro\\Library\\share\\gdal'
>>> quit()

(aro) C:\Windows\system32>conda info

     active environment : aro
    active env location : C:\Miniconda3\envs\aro
            shell level : 2
       user config file : C:\Users\jeff\.condarc
 populated config files :
          conda version : 4.8.3
    conda-build version : not installed
         python version : 3.8.3.final.0
       virtual packages :
       base environment : C:\Miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Miniconda3\pkgs
                          C:\Users\jeff\.conda\pkgs
                          C:\Users\jeff\AppData\Local\conda\conda\pkgs
       envs directories : C:\Miniconda3\envs
                          C:\Users\jeff\.conda\envs
                          C:\Users\jeff\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.3 requests/2.23.0 CPython/3.8.3 Windows/10 Windows/10.0.18362
          administrator : True
             netrc file : None
           offline mode : False

(aro) C:\Windows\system32>deactivate
DeprecationWarning: 'deactivate' is deprecated. Use 'conda deactivate'.

(aro) C:\Windows\system32>conda.bat deactivate

(base) C:\Windows\system32>conda info

     active environment : base
    active env location : C:\Miniconda3
            shell level : 1
       user config file : C:\Users\jeff\.condarc
 populated config files :
          conda version : 4.8.3
    conda-build version : not installed
         python version : 3.8.3.final.0
       virtual packages :
       base environment : C:\Miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Miniconda3\pkgs
                          C:\Users\jeff\.conda\pkgs
                          C:\Users\jeff\AppData\Local\conda\conda\pkgs
       envs directories : C:\Miniconda3\envs
                          C:\Users\jeff\.conda\envs
                          C:\Users\jeff\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.3 requests/2.23.0 CPython/3.8.3 Windows/10 Windows/10.0.18362
          administrator : True
             netrc file : None
           offline mode : False

Is there any other method of installing arosics? Using setup.py maybe? I do not have to use conda if there is another way.

Thanks again. Jeff

disbr007 commented 4 years ago

Hmm, continuing to dig this appears to be a GeoArray issue as I cannot even create a GeoArray:

>>> import arosics
>>> arosics.__version__
'0.9.19'
>>> from geoarray import GeoArray
>>> geoArr = GeoArray(r'C:\temp\aro\LC08_CU_009005_20200730_20200809_C01_V01_TA\LC08_CU_009005_20200730_20200809_C01_V01_TAB1.tif')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\jeff\AppData\Roaming\Python\Python38\site-packages\geoarray\baseclasses.py", line 152, in __init__
    self.set_gdalDataset_meta()
  File "C:\Users\jeff\AppData\Roaming\Python\Python38\site-packages\geoarray\baseclasses.py", line 777, in set_gdalDataset_meta
    self._projection = EPSG2WKT(WKT2EPSG(wkt)) if not isLocal(wkt) else ''
  File "C:\Users\jeff\AppData\Roaming\Python\Python38\site-packages\py_tools_ds\geo\projection.py", line 215, in WKT2EPSG
    with open(epsgfile) as f:
PermissionError: [Errno 13] Permission denied: 'C:\\Miniconda3\\envs\\aro\\Library\\share\\gdal'
danschef commented 4 years ago

I will soon upload a new version of py_tools_ds that makes this disk access obsolete. This should fix the PermissionError.

danschef commented 4 years ago

You can now update py_tools_ds to v0.15.0 via pip install py_tools_ds=0.15.0. This should fix the PermissionError on your system.

disbr007 commented 4 years ago

Thank you - I have an installation working! I am working on a classification problem using imagery and stereographic DEMs. I am aligning ortho photos produced during the creation of the DEMs to the source imagery as the DEMs are not well geolocated. Then using DESHIFTER I am able to match the DEMs to the source imagery as well.

AROSICS is fantastic so far, thank you for creating it and for all of your debugging help - this graduate student really appreciates it!

danschef commented 4 years ago

Ok, nice to hear its running now. Using AROSICS for aligning different orthophotos is fine but be aware that it will most likely not work between orthophotos and DEMs as they contain completely different signals. AROSICS is in its core based on matching similar gray value patterns which are rarely existant between orthophotos and DEMs.

However, if it works for you, you may consider to cite it in case of any publication.