<div dir="auto"><div>Hi Sibylle,<div dir="auto"><br></div><div dir="auto">It looks to me that you need to specify an environment location within your own user directory. The page at <a href="https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#specifying-a-location-for-an-environment">https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#specifying-a-location-for-an-environment</a> has instructions on this.</div><div dir="auto"><br></div><div dir="auto">Yours,</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 6, 2024, 3:30 AM Sibylle Stöckli via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word"><div class="m_7742481843376627745WordSection1"><p class="m_7742481843376627745MsoPlainText"><span lang="DE-CH">Dear community<u></u><u></u></span></p><p class="m_7742481843376627745MsoPlainText"><span lang="DE-CH"><u></u> <u></u></span></p><p class="m_7742481843376627745MsoPlainText">I tried to install GDAL.<u></u><u></u></p><p class="m_7742481843376627745MsoPlainText"><i>(base) C:\Users\Sibylle Stöckli>conda install -c conda-forge gdal<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText">However I got the following error<u></u><u></u></p><p class="m_7742481843376627745MsoPlainText"><i>Downloading and Extracting Packages:<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>Preparing transaction: done<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>Verifying transaction: failed<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>EnvironmentNotWritableError: The current user does not have write permissions to the target environment.<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> environment location: C:\ProgramData\miniconda3<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><u></u> <u></u></p><p class="m_7742481843376627745MsoPlainText">Kind regards<u></u><u></u></p><p class="m_7742481843376627745MsoPlainText">Sibylle<u></u><u></u></p><p class="m_7742481843376627745MsoPlainText"><u></u> <u></u></p><p class="m_7742481843376627745MsoPlainText">Full code<u></u><u></u></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>(base) C:\Users\Sibylle Stöckli>conda install -c conda-forge gdal<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>Channels:<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> - conda-forge<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> - defaults<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>Platform: win-64<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>Collecting package metadata (repodata.json): done<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>Solving environment: done<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>## Package Plan ##<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> environment location: C:\ProgramData\miniconda3<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> added / updated specs:<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> - gdal<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>The following NEW packages will be INSTALLED:<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> blosc conda-forge/win-64::blosc-1.21.6-h85f69ea_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> freexl conda-forge/win-64::freexl-2.0.0-h8276f4a_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> gdal conda-forge/win-64::gdal-3.9.1-py312h16ac12d_11<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> geos conda-forge/win-64::geos-3.12.2-h5a68840_1<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> geotiff conda-forge/win-64::geotiff-1.7.3-h232476a_2<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> intel-openmp conda-forge/win-64::intel-openmp-2024.2.0-h57928b3_980<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> krb5 conda-forge/win-64::krb5-1.21.3-hdf4eb48_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> lerc conda-forge/win-64::lerc-4.0.0-h63175ca_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libblas conda-forge/win-64::libblas-3.9.0-23_win64_mkl<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libcblas conda-forge/win-64::libcblas-3.9.0-23_win64_mkl<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libdeflate conda-forge/win-64::libdeflate-1.21-h2466b09_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libexpat conda-forge/win-64::libexpat-2.6.2-h63175ca_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libgdal-core conda-forge/win-64::libgdal-core-3.9.1-h6b59ad6_11<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libhwloc conda-forge/win-64::libhwloc-2.11.1-default_h8125262_1000<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libjpeg-turbo conda-forge/win-64::libjpeg-turbo-3.0.0-hcfcfb64_1<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libkml conda-forge/win-64::libkml-1.3.0-h538826c_1020<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> liblapack conda-forge/win-64::liblapack-3.9.0-23_win64_mkl<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libpng conda-forge/win-64::libpng-1.6.43-h19919ed_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> librttopo conda-forge/win-64::librttopo-1.1.0-h6c42fcb_16<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libspatialite conda-forge/win-64::libspatialite-5.1.0-hab0cb6d_9<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libsqlite conda-forge/win-64::libsqlite-3.46.0-h2466b09_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libtiff conda-forge/win-64::libtiff-4.6.0-hb151862_4<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libwebp-base conda-forge/win-64::libwebp-base-1.4.0-hcfcfb64_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libzlib conda-forge/win-64::libzlib-1.3.1-h2466b09_1<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> lzo conda-forge/win-64::lzo-2.10-hcfcfb64_1001<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> minizip conda-forge/win-64::minizip-4.0.6-hb638d1e_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> mkl conda-forge/win-64::mkl-2024.1.0-h66d3029_694<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> numpy conda-forge/win-64::numpy-2.0.1-py312h49bc9c5_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> proj conda-forge/win-64::proj-9.4.1-hd9569ee_1<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> pthreads-win32 conda-forge/win-64::pthreads-win32-2.9.1-hfa6e2cd_3<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> python_abi conda-forge/win-64::python_abi-3.12-4_cp312<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> snappy conda-forge/win-64::snappy-1.2.1-h23299a8_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> tbb conda-forge/win-64::tbb-2021.12.0-hc790b64_3<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> ucrt conda-forge/win-64::ucrt-10.0.22621.0-h57928b3_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> uriparser conda-forge/win-64::uriparser-0.9.8-h5a68840_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> vc14_runtime conda-forge/win-64::vc14_runtime-14.40.33810-ha82c5b3_20<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> xerces-c conda-forge/win-64::xerces-c-3.2.5-he0c23c2_1<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>The following packages will be UPDATED:<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> ca-certificates pkgs/main::ca-certificates-2024.3.11-~ --> conda-forge::ca-certificates-2024.7.4-h56e8100_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> certifi pkgs/main/win-64::certifi-2024.6.2-py~ --> conda-forge/noarch::certifi-2024.7.4-pyhd8ed1ab_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> conda pkgs/main::conda-24.5.0-py312haa95532~ --> conda-forge::conda-24.7.1-py312h2e8e312_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> fmt pkgs/main::fmt-9.1.0-h6d14046_1 --> conda-forge::fmt-10.2.1-h181d51b_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libarchive pkgs/main::libarchive-3.6.2-hb62f4d4_3 --> conda-forge::libarchive-3.7.4-haf234dc_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libcurl pkgs/main::libcurl-8.7.1-h86230a5_0 --> conda-forge::libcurl-8.9.1-h18fefc2_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libiconv pkgs/main::libiconv-1.16-h2bbff1b_3 --> conda-forge::libiconv-1.17-hcfcfb64_2<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libsolv pkgs/main::libsolv-0.7.24-h23ce68f_1 --> conda-forge::libsolv-0.7.30-hbb528cf_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libxml2 pkgs/main::libxml2-2.10.4-h0ad7f3c_2 --> conda-forge::libxml2-2.12.7-h0f24e4e_4<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> openssl pkgs/main::openssl-3.0.14-h827c3e9_0 --> conda-forge::openssl-3.3.1-h2466b09_2<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> pcre2 pkgs/main::pcre2-10.42-h0ff8eda_1 --> conda-forge::pcre2-10.44-h3d7b363_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> vs2015_runtime pkgs/main::vs2015_runtime-14.29.30133~ --> conda-forge::vs2015_runtime-14.40.33810-h3bf8584_20<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> zlib pkgs/main::zlib-1.2.13-h8cc25b3_1 --> conda-forge::zlib-1.3.1-h2466b09_1<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> zstandard pkgs/main::zstandard-0.22.0-py312h346~ --> conda-forge::zstandard-0.23.0-py312h7606c53_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> zstd pkgs/main::zstd-1.5.5-hd43e919_2 --> conda-forge::zstd-1.5.6-h0ea2cb4_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>The following packages will be SUPERSEDED by a higher-priority channel:<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libmamba pkgs/main::libmamba-1.5.8-h99b1521_2 --> conda-forge::libmamba-1.5.8-h3f09ed1_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libmambapy pkgs/main::libmambapy-1.5.8-py312h77c~ --> conda-forge::libmambapy-1.5.8-py312h66cf91f_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> libssh2 pkgs/main::libssh2-1.11.0-h291bd65_0 --> conda-forge::libssh2-1.11.0-h7dfc565_0<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> pybind11-abi pkgs/main::pybind11-abi-5-hd3eb1b0_0 --> conda-forge::pybind11-abi-4-hd8ed1ab_3<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> python pkgs/main::python-3.12.4-h14ffc60_1 --> conda-forge::python-3.12.4-h889d299_0_cpython<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> tk pkgs/main::tk-8.6.14-h0416ee5_0 --> conda-forge::tk-8.6.13-h5226925_1<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>Proceed ([y]/n)? y<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>Downloading and Extracting Packages:<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>Preparing transaction: done<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>Verifying transaction: failed<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i><u></u> <u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i>EnvironmentNotWritableError: The current user does not have write permissions to the target environment.<u></u><u></u></i></p><p class="m_7742481843376627745MsoPlainText"><i> </i><i><span lang="FR-CH">environment location: C:\ProgramData\miniconda3<u></u><u></u></span></i></p><p class="m_7742481843376627745MsoPlainText"><i><span lang="FR-CH"><u></u> <u></u></span></i></p><p class="m_7742481843376627745MsoPlainText"><i><span lang="FR-CH"><u></u> <u></u></span></i></p><p class="m_7742481843376627745MsoPlainText"><i><span lang="FR-CH"><u></u> <u></u></span></i></p><p class="m_7742481843376627745MsoPlainText"><i><span lang="FR-CH">(base) C:\Users\Sibylle Stöckli><u></u><u></u></span></i></p><p class="m_7742481843376627745MsoPlainText"><i><span lang="FR-CH"><u></u> <u></u></span></i></p><p class="m_7742481843376627745MsoPlainText"><i><span lang="FR-CH"><u></u> <u></u></span></i></p></div></div>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div></div></div>