[gdal-dev] GDAL installation write permissions

Sean Gillies sean.gillies at gmail.com
Tue Aug 6 08:20:07 PDT 2024


Hi Sibylle,

It looks to me that you need to specify an environment location within your
own user directory. The page at
https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#specifying-a-location-for-an-environment
has instructions on this.

Yours,


On Tue, Aug 6, 2024, 3:30 AM Sibylle Stöckli via gdal-dev <
gdal-dev at lists.osgeo.org> wrote:

> Dear community
>
>
>
> I tried to install GDAL.
>
> *(base) C:\Users\Sibylle Stöckli>conda install -c conda-forge gdal*
>
>
>
> However I got the following error
>
> *Downloading and Extracting Packages:*
>
>
>
> *Preparing transaction: done*
>
> *Verifying transaction: failed*
>
>
>
> *EnvironmentNotWritableError: The current user does not have write
> permissions to the target environment.*
>
> *  environment location: C:\ProgramData\miniconda3*
>
>
>
> Kind regards
>
> Sibylle
>
>
>
> Full code
>
>
>
> *(base) C:\Users\Sibylle Stöckli>conda install -c conda-forge gdal*
>
> *Channels:*
>
> * - conda-forge*
>
> * - defaults*
>
> *Platform: win-64*
>
> *Collecting package metadata (repodata.json): done*
>
> *Solving environment: done*
>
>
>
> *## Package Plan ##*
>
>
>
> *  environment location: C:\ProgramData\miniconda3*
>
>
>
> *  added / updated specs:*
>
> *    - gdal*
>
>
>
>
>
> *The following NEW packages will be INSTALLED:*
>
>
>
> *  blosc              conda-forge/win-64::blosc-1.21.6-h85f69ea_0*
>
> *  freexl             conda-forge/win-64::freexl-2.0.0-h8276f4a_0*
>
> *  gdal               conda-forge/win-64::gdal-3.9.1-py312h16ac12d_11*
>
> *  geos               conda-forge/win-64::geos-3.12.2-h5a68840_1*
>
> *  geotiff            conda-forge/win-64::geotiff-1.7.3-h232476a_2*
>
> *  intel-openmp
> conda-forge/win-64::intel-openmp-2024.2.0-h57928b3_980*
>
> *  krb5               conda-forge/win-64::krb5-1.21.3-hdf4eb48_0*
>
> *  lerc               conda-forge/win-64::lerc-4.0.0-h63175ca_0*
>
> *  libblas            conda-forge/win-64::libblas-3.9.0-23_win64_mkl*
>
> *  libcblas           conda-forge/win-64::libcblas-3.9.0-23_win64_mkl*
>
> *  libdeflate         conda-forge/win-64::libdeflate-1.21-h2466b09_0*
>
> *  libexpat           conda-forge/win-64::libexpat-2.6.2-h63175ca_0*
>
> *  libgdal-core       conda-forge/win-64::libgdal-core-3.9.1-h6b59ad6_11*
>
> *  libhwloc
> conda-forge/win-64::libhwloc-2.11.1-default_h8125262_1000*
>
> *  libjpeg-turbo      conda-forge/win-64::libjpeg-turbo-3.0.0-hcfcfb64_1*
>
> *  libkml             conda-forge/win-64::libkml-1.3.0-h538826c_1020*
>
> *  liblapack          conda-forge/win-64::liblapack-3.9.0-23_win64_mkl*
>
> *  libpng             conda-forge/win-64::libpng-1.6.43-h19919ed_0*
>
> *  librttopo          conda-forge/win-64::librttopo-1.1.0-h6c42fcb_16*
>
> *  libspatialite      conda-forge/win-64::libspatialite-5.1.0-hab0cb6d_9*
>
> *  libsqlite          conda-forge/win-64::libsqlite-3.46.0-h2466b09_0*
>
> *  libtiff            conda-forge/win-64::libtiff-4.6.0-hb151862_4*
>
> *  libwebp-base       conda-forge/win-64::libwebp-base-1.4.0-hcfcfb64_0*
>
> *  libzlib            conda-forge/win-64::libzlib-1.3.1-h2466b09_1*
>
> *  lzo                conda-forge/win-64::lzo-2.10-hcfcfb64_1001*
>
> *  minizip            conda-forge/win-64::minizip-4.0.6-hb638d1e_0*
>
> *  mkl                conda-forge/win-64::mkl-2024.1.0-h66d3029_694*
>
> *  numpy              conda-forge/win-64::numpy-2.0.1-py312h49bc9c5_0*
>
> *  proj               conda-forge/win-64::proj-9.4.1-hd9569ee_1*
>
> *  pthreads-win32     conda-forge/win-64::pthreads-win32-2.9.1-hfa6e2cd_3*
>
> *  python_abi         conda-forge/win-64::python_abi-3.12-4_cp312*
>
> *  snappy             conda-forge/win-64::snappy-1.2.1-h23299a8_0*
>
> *  tbb                conda-forge/win-64::tbb-2021.12.0-hc790b64_3*
>
> *  ucrt               conda-forge/win-64::ucrt-10.0.22621.0-h57928b3_0*
>
> *  uriparser          conda-forge/win-64::uriparser-0.9.8-h5a68840_0*
>
> *  vc14_runtime
> conda-forge/win-64::vc14_runtime-14.40.33810-ha82c5b3_20*
>
> *  xerces-c           conda-forge/win-64::xerces-c-3.2.5-he0c23c2_1*
>
>
>
> *The following packages will be UPDATED:*
>
>
>
> *  ca-certificates    pkgs/main::ca-certificates-2024.3.11-~ -->
> conda-forge::ca-certificates-2024.7.4-h56e8100_0*
>
> *  certifi            pkgs/main/win-64::certifi-2024.6.2-py~ -->
> conda-forge/noarch::certifi-2024.7.4-pyhd8ed1ab_0*
>
> *  conda              pkgs/main::conda-24.5.0-py312haa95532~ -->
> conda-forge::conda-24.7.1-py312h2e8e312_0*
>
> *  fmt                       pkgs/main::fmt-9.1.0-h6d14046_1 -->
> conda-forge::fmt-10.2.1-h181d51b_0*
>
> *  libarchive         pkgs/main::libarchive-3.6.2-hb62f4d4_3 -->
> conda-forge::libarchive-3.7.4-haf234dc_0*
>
> *  libcurl               pkgs/main::libcurl-8.7.1-h86230a5_0 -->
> conda-forge::libcurl-8.9.1-h18fefc2_0*
>
> *  libiconv              pkgs/main::libiconv-1.16-h2bbff1b_3 -->
> conda-forge::libiconv-1.17-hcfcfb64_2*
>
> *  libsolv              pkgs/main::libsolv-0.7.24-h23ce68f_1 -->
> conda-forge::libsolv-0.7.30-hbb528cf_0*
>
> *  libxml2              pkgs/main::libxml2-2.10.4-h0ad7f3c_2 -->
> conda-forge::libxml2-2.12.7-h0f24e4e_4*
>
> *  openssl              pkgs/main::openssl-3.0.14-h827c3e9_0 -->
> conda-forge::openssl-3.3.1-h2466b09_2*
>
> *  pcre2                   pkgs/main::pcre2-10.42-h0ff8eda_1 -->
> conda-forge::pcre2-10.44-h3d7b363_0*
>
> *  vs2015_runtime     pkgs/main::vs2015_runtime-14.29.30133~ -->
> conda-forge::vs2015_runtime-14.40.33810-h3bf8584_20*
>
> *  zlib                    pkgs/main::zlib-1.2.13-h8cc25b3_1 -->
> conda-forge::zlib-1.3.1-h2466b09_1*
>
> *  zstandard          pkgs/main::zstandard-0.22.0-py312h346~ -->
> conda-forge::zstandard-0.23.0-py312h7606c53_0*
>
> *  zstd                     pkgs/main::zstd-1.5.5-hd43e919_2 -->
> conda-forge::zstd-1.5.6-h0ea2cb4_0*
>
>
>
> *The following packages will be SUPERSEDED by a higher-priority channel:*
>
>
>
> *  libmamba             pkgs/main::libmamba-1.5.8-h99b1521_2 -->
> conda-forge::libmamba-1.5.8-h3f09ed1_0*
>
> *  libmambapy         pkgs/main::libmambapy-1.5.8-py312h77c~ -->
> conda-forge::libmambapy-1.5.8-py312h66cf91f_0*
>
> *  libssh2              pkgs/main::libssh2-1.11.0-h291bd65_0 -->
> conda-forge::libssh2-1.11.0-h7dfc565_0*
>
> *  pybind11-abi         pkgs/main::pybind11-abi-5-hd3eb1b0_0 -->
> conda-forge::pybind11-abi-4-hd8ed1ab_3*
>
> *  python                pkgs/main::python-3.12.4-h14ffc60_1 -->
> conda-forge::python-3.12.4-h889d299_0_cpython*
>
> *  tk                        pkgs/main::tk-8.6.14-h0416ee5_0 -->
> conda-forge::tk-8.6.13-h5226925_1*
>
>
>
>
>
> *Proceed ([y]/n)? y*
>
>
>
>
>
> *Downloading and Extracting Packages:*
>
>
>
> *Preparing transaction: done*
>
> *Verifying transaction: failed*
>
>
>
> *EnvironmentNotWritableError: The current user does not have write
> permissions to the target environment.*
>
>   *environment location: C:\ProgramData\miniconda3*
>
>
>
>
>
>
>
> *(base) C:\Users\Sibylle Stöckli>*
>
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240806/f3f268bb/attachment-0001.htm>


More information about the gdal-dev mailing list