Code Monkey home page Code Monkey logo

proj.4-feedstock's Introduction

About proj-feedstock

Feedstock license: BSD-3-Clause

Home: https://proj.org/

Package license: MIT

Summary: Cartographic Projections and Coordinate Transformations Library

Current build status

Azure
VariantStatus
linux_64 variant
linux_aarch64 variant
linux_ppc64le variant
osx_64 variant
osx_arm64 variant
win_64 variant

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing proj

Installing proj from the conda-forge channel can be achieved by adding conda-forge to your channels with:

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

Once the conda-forge channel has been enabled, proj can be installed with conda:

conda install proj

or with mamba:

mamba install proj

It is possible to list all of the versions of proj available on your platform with conda:

conda search proj --channel conda-forge

or with mamba:

mamba search proj --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search proj --channel conda-forge

# List packages depending on `proj`:
mamba repoquery whoneeds proj --channel conda-forge

# List dependencies of `proj`:
mamba repoquery depends proj --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating proj-feedstock

If you would like to improve the proj recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/proj-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

proj.4-feedstock's People

Contributors

beckermr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar djhoese avatar gillins avatar github-actions[bot] avatar hobu avatar isuruf avatar j9ac9k avatar kbevers avatar mohammedajilqc avatar mwtoews avatar nlgranger avatar ocefpaf avatar pelson avatar regro-cf-autotick-bot avatar scw avatar sjpfenninger avatar snowman2 avatar willirath avatar wolfv avatar xhochy avatar xylar avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

proj.4-feedstock's Issues

Potentially build with cmake.

Issue:

Was wondering your thoughts on building this package with cmake instead of autoconf/tools. The cmake install provides cmake modules for configuration/use in downstream native projects which is super handy.

ERROR 1: PROJ: proj_create_from_wkt: Cannot find proj.db

Issue:
Following from issue #49 (which although closed, remained unresolved), there persists an issue when using GDAL in an anaconda environment via a sourced command such as:
/home/aron/anaconda3/envs/medusa/bin/gdal_translate -q -projwin 6129664.41180302 2111712.36021688 6129824.41180302 2111552.36021688 /media/isi/OCFA/3_Raster_Data/2017_Pt1/2017_Pt1.vrt /tmp/Rtmp8slrva/raster//f505dda1820b0c62386e6a00fcb61eed1e6210b4.tif
I've run this type of sourced command literally hundreds of thousands of times with no issue. I recently burnt down and rebuilt one of the environments I source from to run this command and I now get the following errors:

ERROR 1: PROJ: proj_create_from_wkt: Cannot find proj.db ERROR 1: PROJ: proj_as_wkt: Cannot find proj.db ERROR 1: PROJ: proj_create_from_wkt: Cannot find proj.db ERROR 1: PROJ: proj_as_wkt: Cannot find proj.db ERROR 1: PROJ: proj_create_from_wkt: Cannot find proj.db ERROR 1: PROJ: proj_as_wkt: Cannot find proj.db ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db proj_create_from_database: Cannot find proj.db ERROR 1: PROJ: pj_obj_create: Cannot find proj.db ERROR 1: PROJ: createGeodeticReferenceFrame: Cannot find proj.db ERROR 1: PROJ: proj_as_wkt: Cannot find proj.db proj_create_from_database: Cannot find proj.db proj_create_from_database: Cannot find proj.db proj_create_from_database: Cannot find proj.db ERROR 1: PROJ: proj_create_from_wkt: Cannot find proj.db ERROR 1: PROJ: createGeodeticReferenceFrame: Cannot find proj.db ERROR 1: PROJ: proj_as_wkt: Cannot find proj.db ERROR 1: PROJ: proj_create_from_wkt: Cannot find proj.db ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db


):

$ conda list

Environment (<code># packages in environment at /home/aron/anaconda3/envs/medusa:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
blas                      1.0                         mkl  
bzip2                     1.0.8                h7b6447c_0  
ca-certificates           2019.11.27                    0  
cairo                     1.14.12              h8948797_3  
certifi                   2019.11.28               py36_0  
cfitsio                   3.470                hb7c8383_2  
conda-pack                0.4.0                      py_0    conda-forge
curl                      7.67.0               hbc83047_0  
expat                     2.2.6                he6710b0_0  
fontconfig                2.13.0               h9420a91_0  
freetype                  2.9.1                h8a8886c_1  
freexl                    1.0.5                h14c3975_0  
gdal                      3.0.2            py36hbb2a789_0  
geos                      3.8.0                he6710b0_0  
geotiff                   1.5.1                h21e8280_0  
giflib                    5.1.4                h14c3975_1  
glib                      2.63.1               h5a9c865_0  
hdf4                      4.2.13               h3ca952b_2  
hdf5                      1.10.4               hb1b8bf9_0  
icu                       58.2                 h9c2bf20_1  
intel-openmp              2019.4                      243  
jpeg                      9b                   h024ee3a_2  
json-c                    0.13.1               h1bed415_0  
kealib                    1.4.7                hd0c454d_6  
krb5                      1.16.1               h173b8e3_7  
libboost                  1.67.0               h46d08c1_4  
libcurl                   7.67.0               h20c2e04_0  
libdap4                   3.19.1               h6ec2957_0  
libedit                   3.1.20181209         hc058e9b_0  
libffi                    3.2.1                hd88cf55_4  
libgcc-ng                 9.1.0                hdf63c60_0  
libgdal                   3.0.2                h27ab9cc_0  
libgfortran-ng            7.3.0                hdf63c60_0  
libkml                    1.3.0                h590aaf7_4  
libnetcdf                 4.6.1                h11d0813_2  
libpng                    1.6.37               hbc83047_0  
libpq                     11.2                 h20c2e04_0  
libspatialite             4.3.0a               h793db0d_0  
libssh2                   1.8.2                h1ba5d50_0  
libstdcxx-ng              9.1.0                hdf63c60_0  
libtiff                   4.1.0                h2733197_0  
libuuid                   1.0.3                h1bed415_2  
libxcb                    1.13                 h1bed415_1  
libxml2                   2.9.9                hea5a465_1  
lz4-c                     1.8.1.2              h14c3975_0  
mkl                       2019.4                      243  
mkl-service               2.3.0            py36he904b0f_0  
mkl_fft                   1.0.15           py36ha843d7b_0  
mkl_random                1.1.0            py36hd6b4f25_0  
ncurses                   6.1                  he6710b0_1  
numpy                     1.17.4           py36hc1035e2_0  
numpy-base                1.17.4           py36hde5b4d6_0  
openjpeg                  2.3.0                h05c96fa_1  
openssl                   1.1.1d               h7b6447c_3  
pcre                      8.43                 he6710b0_0  
pip                       19.3.1                   py36_0  
pixman                    0.38.0               h7b6447c_0  
poppler                   0.65.0               h581218d_1  
poppler-data              0.4.9                         0  
postgresql                11.2                 h20c2e04_0  
proj                      6.2.1                haa6030c_0  
python                    3.6.9                h265db76_0  
readline                  7.0                  h7b6447c_5  
setuptools                42.0.2                   py36_0  
six                       1.13.0                   py36_0  
sqlite                    3.30.1               h7b6447c_0  
tbb                       2018.0.5             h6bb024c_0  
tiledb                    1.6.3                h1fb8f14_0  
tk                        8.6.8                hbc83047_0  
wheel                     0.33.6                   py36_0  
xerces-c                  3.2.2                h780794e_0  
xz                        5.2.4                h14c3975_4  
zlib                      1.2.11               h7b6447c_3  
zstd                      1.3.7                h0b5b093_0  

Details about conda and system ( conda info ):
$ conda info
     active environment : medusa
    active env location : /home/aron/anaconda3/envs/medusa
            shell level : 2
       user config file : /home/aron/.condarc
 populated config files : /home/aron/.condarc
          conda version : 4.8.0
    conda-build version : 3.18.11
         python version : 3.7.5.final.0
       virtual packages : __cuda=10.2
                          __glibc=2.27
       base environment : /home/aron/anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/aron/anaconda3/pkgs
                          /home/aron/.conda/pkgs
       envs directories : /home/aron/anaconda3/envs
                          /home/aron/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.0 requests/2.22.0 CPython/3.7.5 Linux/4.15.0-72-generic ubuntu/18.04.3 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False


unbound variable _CONDA_SET_PROJ_LIB in deactivate.sh

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I am getting the following error on my Azure DevOps Pipeline runs:

/usr/share/miniconda/envs/myenv/etc/conda/deactivate.d/proj4-deactivate.sh: line 5: _CONDA_SET_PROJ_LIB: unbound variable

The failing command is the conda install command that installs a package that depends on proj
Please use the same :- shell trick as in activate.sh

Installed packages

Sorry for my ignorance, is conda-forge an upstream for this package?

  proj               pkgs/main/linux-64::proj-6.2.1-h05a3930_0

Environment info

Azure Devops with vmImage="ubuntu-18.04"

Running bash CI-step:

conda create -y -n myenv python=3.7 conda-build
source $CONDA/bin/activate activate myenv
conda install -y PACKAGE_THAT_DEPENDS_ON_PROJ_VIA_OTHER_DEPENDENCY  <-- this command fails

PROJ 7 pin?

@ocefpaf Just checking when it would be reasonable to start the PROJ 7 transition.

PROJ_LIB not set

Issue: I'm using conda to install proj/rasterio in a GitHub Action so I can test my software. However, rasterio fails with the following error message:

rasterio.errors.CRSError: The EPSG code is unknown. PROJ: proj_create_from_database: Cannot find proj.db

According to https://rasterio.readthedocs.io/en/latest/faq.html#why-can-t-rasterio-find-proj-db-rasterio-versions-1-2-0, it seems like the issue is that PROJ_LIB is not set. Should this be set in the PROJ feedstock or the rasterio feedstock? If I want to set this environment variable myself, where does conda install these (on Linux/macOS/Windows)? I'm using https://github.com/marketplace/actions/setup-miniconda if it makes a difference.


Environment (conda list):
$ conda list
# packages in environment at C:\Miniconda\envs\test:
#
# Name                    Version                   Build  Channel
affine                    2.3.0                      py_0    conda-forge
attrs                     21.2.0             pyhd8ed1ab_0    conda-forge
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2021.5.30            h5b45459_0    conda-forge
certifi                   2021.5.30        py36ha15d459_0    conda-forge
cfitsio                   3.470                h0af3d06_7    conda-forge
click                     7.1.2              pyh9f0ad1d_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
cligj                     0.7.2              pyhd8ed1ab_0    conda-forge
curl                      7.78.0               h789b8ee_0    conda-forge
expat                     2.4.1                h39d44d4_0    conda-forge
freexl                    1.0.6                ha8e266a_0    conda-forge
geos                      3.8.0                h33f27b4_0  
geotiff                   1.6.0                h5770a2b_0  
h5py                      2.10.0          nompi_py36h654ec23_106    conda-forge
hdf4                      4.2.13               h712560f_2  
hdf5                      1.10.6          nompi_h5268f04_1114    conda-forge
intel-openmp              2021.3.0          h57928b3_3372    conda-forge
jbig                      2.1               h8d14728_2003    conda-forge
jpeg                      9d                   h8ffe710_0    conda-forge
kealib                    1.4.14               h96bfa42_2    conda-forge
krb5                      1.19.2               hbae68bd_0    conda-forge
lerc                      2.2.1                h0e60522_0    conda-forge
libblas                   3.9.0                    10_mkl    conda-forge
libcblas                  3.9.0                    10_mkl    conda-forge
libcurl                   7.78.0               h789b8ee_0    conda-forge
libdeflate                1.7                  h8ffe710_5    conda-forge
libgdal                   3.0.2                ha1b3edf_1  
libiconv                  1.16                 he774522_0    conda-forge
liblapack                 3.9.0                    10_mkl    conda-forge
libnetcdf                 4.6.1                hf59b723_4  
libpng                    1.6.37               h1d00b33_2    conda-forge
libpq                     12.2                 hb652d5d_1  
libspatialite             4.3.0a               h7ffb84d_0  
libssh2                   1.9.0                h680486a_6    conda-forge
libtiff                   4.3.0                h0c97f57_1    conda-forge
libxml2                   2.9.12               hf5bbc77_0    conda-forge
lz4-c                     1.9.3                h8ffe710_0    conda-forge
m2w64-expat               2.1.1                         2    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gettext             0.19.7                        2    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libiconv            1.14                          6    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
m2w64-xz                  5.2.2                         2    conda-forge
mkl                       2021.3.0           hb70f87d_564    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
numpy                     1.19.5           py36h4b40d73_2    conda-forge
openjpeg                  2.4.0                hb211442_1    conda-forge
openssl                   1.1.1k               h8ffe710_0    conda-forge
pip                       21.1.3           py36haa95532_0  
postgresql                12.2                 hb652d5d_1  
proj                      6.2.1                h9f7ef89_0  
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyreadline                2.1             py36ha15d459_1003    conda-forge
python                    3.6.13               h3758d61_0  
python_abi                3.6                     2_cp36m    conda-forge
rasterio                  1.1.0            py36h039b02d_0  
setuptools                52.0.0           py36haa95532_0  
six                       1.16.0             pyh6c4a22f_0    conda-forge
snuggs                    1.4.7                      py_0    conda-forge
sqlite                    3.36.0               h2bbff1b_0  
tbb                       2021.3.0             h2d74725_0    conda-forge
tiledb                    2.3.2                h78dabda_0    conda-forge
tk                        8.6.10               h8ffe710_1    conda-forge
vc                        14.2                 h21ff451_1  
vs2015_runtime            14.27.29016          h5e58377_2  
wheel                     0.36.2             pyhd3eb1b0_0  
wincertstore              0.2              py36h7fe50ca_0  
xerces-c                  3.2.3                h0e60522_2    conda-forge
xz                        5.2.5                h62dcd97_1    conda-forge
zlib                      1.2.11            h62dcd97_1010    conda-forge
zstd                      1.5.0                h6255e5f_0    conda-forge

Details about conda and system ( conda info ):
$ conda info
     active environment : test
    active env location : C:\Miniconda\envs\test
            shell level : 2
       user config file : C:\Users\runneradmin\.condarc
 populated config files : C:\Users\runneradmin\.condarc
          conda version : 4.10.3
    conda-build version : not installed
         python version : 3.9.5.final.0
       virtual packages : __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Miniconda  (writable)
      conda av data dir : C:\Miniconda\etc\conda
  conda av metadata url : None
           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\runneradmin\conda_pkgs_dir
       envs directories : C:\Miniconda\envs
                          C:\Users\runneradmin\.conda\envs
                          C:\Users\runneradmin\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.10.3 requests/2.25.1 CPython/3.9.5 Windows/10 Windows/10.0.17763
          administrator : True
             netrc file : None
           offline mode : False

@calebrob6

paroj and proj-data install data in a different directory on Windows

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I have proj, pyproj and proj-data installed in a conda environment on Windows, but pyproj can't find the transformation grids I need (us_nga_egm96_15.tif in my case).

After installation, the PROJ_DATA env var is set to the equivalent of $CONDA_PREFIX/share/proj, where data from proj-data (including us_nga_egm96_15.tif) is installed. However there is no proj.db file in this directory, but it is found in $CONDA_PREFIX/Library/share/proj. In pyproj, pyproj.datadir.get_data_dir() returns $CONDA_PREFIX/Library/share/proj.

From what I can tell, there is a conflict between the packages about where to install the data on Windows.

AFAICT the installation difference is what causes my problem, as manually copying the files from $CONDA_PREFIX/share/proj to $CONDA_PREFIX/Library/share/proj fixes it.

As a reminder, documentation about env variables is found at https://docs.conda.io/projects/conda-build/en/latest/user-guide/environment-variables.html#environment-variables-set-during-the-build-process

Here is my test script :

import os

import pyproj

print("PROJ_DATA", os.environ["PROJ_DATA"])
print("get_data_dir", pyproj.datadir.get_data_dir())

wgs84_ellip = pyproj.crs.CRS.from_epsg("4979")
wgs84_EGM96 = pyproj.crs.CRS.from_epsg("4326+5773")
trans_group = pyproj.transformer.TransformerGroup(
    crs_from=wgs84_ellip, crs_to=wgs84_EGM96
)

assert trans_group.best_available

Installed packages

bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2022.12.7            h5b45459_0    conda-forge
certifi                   2022.12.7          pyhd8ed1ab_0    conda-forge
krb5                      1.20.1               heb0366b_0    conda-forge
lerc                      4.0.0                h63175ca_0    conda-forge
libcurl                   8.0.1                h68f0423_0    conda-forge
libdeflate                1.18                 hcfcfb64_0    conda-forge
libexpat                  2.5.0                h63175ca_1    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libjpeg-turbo             2.1.5.1              hcfcfb64_0    conda-forge
libsqlite                 3.40.0               hcfcfb64_1    conda-forge
libssh2                   1.10.0               h9a1e1f7_3    conda-forge
libtiff                   4.5.0                h6c8260b_6    conda-forge
libzlib                   1.2.13               hcfcfb64_4    conda-forge
openssl                   3.1.0                hcfcfb64_3    conda-forge
pip                       23.1.2             pyhd8ed1ab_0    conda-forge
proj                      9.2.0                heca977f_0    conda-forge
proj-data                 1.13                 hd8ed1ab_0    conda-forge
pyproj                    3.5.0           py311h095e9de_1    conda-forge
python                    3.11.3          h2628c8c_0_cpython    conda-forge
python_abi                3.11                    3_cp311    conda-forge
setuptools                67.7.2             pyhd8ed1ab_0    conda-forge
sqlite                    3.40.0               hcfcfb64_1    conda-forge
tk                        8.6.12               h8ffe710_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
ucrt                      10.0.22621.0         h57928b3_0    conda-forge
vc                        14.3                hb25d44b_16    conda-forge
vc14_runtime              14.34.31931         h5081d32_16    conda-forge
vs2015_runtime            14.34.31931         hed1258a_16    conda-forge
wheel                     0.40.0             pyhd8ed1ab_0    conda-forge
xz                        5.2.6                h8d14728_0    conda-forge
zstd                      1.5.2                h12be248_6    conda-forge

Environment info

active environment : proj_problem
    active env location : C:\Anaconda3\proj_problem
            shell level : 4
       user config file : D:\jmartino\.condarc
 populated config files : D:\jmartino\.condarc
          conda version : 23.3.1
    conda-build version : 3.24.0
         python version : 3.9.16.final.0
       virtual packages : __archspec=1=x86_64
                          __win=0=0
       base environment : C:\Anaconda3  (writable)
      conda av data dir : C:\Anaconda3\etc\conda
  conda av metadata url : None
           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:\Anaconda3\pkgs
                          D:\jmartino\.conda\pkgs
                          D:\jmartino\AppData\Local\conda\conda\pkgs
       envs directories : C:\Anaconda3
                          D:\jmartino\Programmation\envs
                          C:\Anaconda3\envs
                          D:\jmartino\.conda\envs
                          D:\jmartino\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.3.1 requests/2.29.0 CPython/3.9.16 Windows/10 Windows/10.0.19044
          administrator : False
             netrc file : None
           offline mode : False

Illegal "fi" command in proj4-activate.csh

Issue:

I found that the last line of proj4-activate.csh (in mini conda3/envs/hese/etc/conda/activate.d/proj4-activate.csh) used the bash fi command instead of the endif that csh is expecting. I fixed that and now my conda activate no longer spits out an error message. Thought I would report it so it could be fixed here.


Environment (conda list):
# packages in environment at /Software/miniconda3/envs/hese:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       0_gnu    conda-forge
alabaster                 0.7.12                     py_0    conda-forge
astropy                   4.0              py37h8f50634_2    conda-forge
attrs                     19.3.0                     py_0    conda-forge
babel                     2.8.0                      py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
bleach                    3.1.5              pyh9f0ad1d_0    conda-forge
boost-cpp                 1.72.0               h8e57a91_0    conda-forge
brotlipy                  0.7.0           py37h8f50634_1000    conda-forge
bzip2                     1.0.8                h516909a_2    conda-forge
ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
cairo                     1.16.0            hcf35c78_1003    conda-forge
cartopy                   0.18.0           py37h4b180d9_0    conda-forge
certifi                   2020.4.5.1       py37hc8dfbb8_0    conda-forge
cffi                      1.14.0           py37hd463f26_0    conda-forge
cfgv                      3.1.0                      py_0    conda-forge
cfitsio                   3.470                h3eac812_5    conda-forge
cftime                    1.1.3            py37h03ebfcd_0    conda-forge
chardet                   3.0.4           py37hc8dfbb8_1006    conda-forge
cmarkgfm                  0.4.2            py37h516909a_2    conda-forge
colorama                  0.4.3                      py_0    conda-forge
corner                    2.0.1                   py_1003    conda-forge
coverage                  5.1              py37h8f50634_0    conda-forge
coveralls                 2.0.0                      py_0    conda-forge
cryptography              2.9.2            py37hb09aad4_0    conda-forge
curl                      7.69.1               h33f0ec9_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
dbus                      1.13.6               he372182_0    conda-forge
decorator                 4.4.2                      py_0    conda-forge
defusedxml                0.6.0                      py_0    conda-forge
docopt                    0.6.2                      py_1    conda-forge
docutils                  0.16             py37hc8dfbb8_1    conda-forge
dspsr                     2020.04.03       py37h33ec4a3_1    demorest
editdistance              0.5.3            py37h3340039_0    conda-forge
emcee                     3.0.2              pyh5ca1d4c_0    conda-forge
entrypoints               0.3             py37hc8dfbb8_1001    conda-forge
epsic                     2020.01.03           h6bb024c_1    demorest
expat                     2.2.9                he1b5a44_2    conda-forge
fancycompleter            0.8                   py37_1000    conda-forge
fftw                      3.3.8           nompi_h7f3a6c3_1110    conda-forge
filelock                  3.0.10                     py_0    conda-forge
flake8                    3.7.9            py37hc8dfbb8_1    conda-forge
fontconfig                2.13.1            h86ecdb6_1001    conda-forge
freetype                  2.10.1               he06d7ca_0    conda-forge
freexl                    1.0.5             h14c3975_1002    conda-forge
future                    0.18.2           py37hc8dfbb8_1    conda-forge
gdal                      3.0.4            py37h4b180d9_6    conda-forge
geos                      3.8.1                he1b5a44_0    conda-forge
geotiff                   1.5.1               h05acad5_10    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
giflib                    5.2.1                h516909a_2    conda-forge
gitdb                     4.0.5                      py_0    conda-forge
gitpython                 3.1.2                      py_0    conda-forge
glib                      2.64.2               h6f030ca_0    conda-forge
gsl                       2.6                  h294904e_0    conda-forge
gst-plugins-base          1.14.5               h0935bb2_2    conda-forge
gstreamer                 1.14.5               h36ae1b5_2    conda-forge
h5py                      2.10.0          nompi_py37h513d04c_102    conda-forge
hdf4                      4.2.13            hf30be14_1003    conda-forge
hdf5                      1.10.5          nompi_h3c11f04_1104    conda-forge
hendrics                  4.0rc1.post2          py37_1001    conda-forge
hypothesis                5.12.0                     py_0    conda-forge
icu                       64.2                 he1b5a44_1    conda-forge
identify                  1.4.15             pyh9f0ad1d_0    conda-forge
idna                      2.9                        py_1    conda-forge
imagesize                 1.2.0                      py_0    conda-forge
importlib-metadata        1.6.0            py37hc8dfbb8_0    conda-forge
importlib_metadata        1.6.0                         0    conda-forge
ipykernel                 5.2.1            py37h43977f1_0    conda-forge
ipython                   7.14.0           py37hc8dfbb8_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
jedi                      0.17.0           py37hc8dfbb8_0    conda-forge
jeepney                   0.4.3                      py_0    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
jpeg                      9c                h14c3975_1001    conda-forge
jplephem                  2.14               pyhe916df7_1    conda-forge
json-c                    0.13.1            h14c3975_1001    conda-forge
jsonschema                3.2.0            py37hc8dfbb8_1    conda-forge
jupyter_client            6.1.3                      py_0    conda-forge
jupyter_core              4.6.3            py37hc8dfbb8_1    conda-forge
jupytext                  1.4.2              pyh9f0ad1d_0    conda-forge
kealib                    1.4.13               hec59c27_0    conda-forge
keyring                   21.2.1           py37hc8dfbb8_0    conda-forge
kiwisolver                1.2.0            py37h99015e2_0    conda-forge
krb5                      1.17.1               h2fd8d38_0    conda-forge
ld_impl_linux-64          2.34                 h53a641e_0    conda-forge
libblas                   3.8.0               14_openblas    conda-forge
libcblas                  3.8.0               14_openblas    conda-forge
libclang                  9.0.1           default_hde54327_0    conda-forge
libcurl                   7.69.1               hf7181ac_0    conda-forge
libdap4                   3.20.6               h1d1bd15_0    conda-forge
libedit                   3.1.20170329      hf8c457e_1001    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
libgdal                   3.0.4                h3dfc09a_6    conda-forge
libgfortran-ng            7.3.0                hdf63c60_5    conda-forge
libgomp                   9.2.0                h24d8f2e_2    conda-forge
libiconv                  1.15              h516909a_1006    conda-forge
libkml                    1.3.0             hb574062_1011    conda-forge
liblapack                 3.8.0               14_openblas    conda-forge
libllvm8                  8.0.1                hc9558a2_0    conda-forge
libllvm9                  9.0.1                he513fc3_1    conda-forge
libnetcdf                 4.7.4           nompi_h9f9fd6a_101    conda-forge
libopenblas               0.3.7                h5ec1e0e_6    conda-forge
libpng                    1.6.37               hed695b0_1    conda-forge
libpq                     12.2                 h5513abc_1    conda-forge
libsodium                 1.0.17               h516909a_0    conda-forge
libspatialite             4.3.0a            h2482549_1038    conda-forge
libssh2                   1.8.2                h22169c7_2    conda-forge
libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
libtiff                   4.1.0                hc7e4089_6    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libwebp-base              1.1.0                h516909a_3    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxkbcommon              0.10.0               he1b5a44_0    conda-forge
libxml2                   2.9.10               hee79883_0    conda-forge
llvmlite                  0.31.0           py37h5202443_1    conda-forge
lz4-c                     1.9.2                he1b5a44_1    conda-forge
markupsafe                1.1.1            py37h8f50634_1    conda-forge
matplotlib                3.2.1                         0    conda-forge
matplotlib-base           3.2.1            py37h30547a4_0    conda-forge
mccabe                    0.6.1                      py_1    conda-forge
mistune                   0.8.4           py37h8f50634_1001    conda-forge
more-itertools            8.2.0                      py_0    conda-forge
mpi                       1.0                     openmpi    conda-forge
mpi4py                    3.0.3            py37hbfacf26_1    conda-forge
nbconvert                 5.6.1            py37hc8dfbb8_1    conda-forge
nbdime                    2.0.0                      py_1    conda-forge
nbformat                  5.0.6                      py_0    conda-forge
nbsphinx                  0.7.0              pyh9f0ad1d_0    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
netcdf4                   1.5.3           nompi_py37hec16513_103    conda-forge
nodeenv                   1.3.5                      py_0    conda-forge
notebook                  6.0.3            py37hc8dfbb8_0    conda-forge
nspr                      4.25                 he1b5a44_0    conda-forge
nss                       3.47                 he751ad9_0    conda-forge
numba                     0.48.0           py37hb3f55d8_0    conda-forge
numpy                     1.18.4           py37h8960a57_0    conda-forge
olefile                   0.46                       py_0    conda-forge
openjpeg                  2.3.1                h981e76c_3    conda-forge
openmpi                   4.0.3                hdf1f1ad_1    conda-forge
openssl                   1.1.1g               h516909a_0    conda-forge
owslib                    0.19.2                     py_1    conda-forge
packaging                 20.1                       py_0    conda-forge
pandoc                    2.9.2.1                       0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.7.0              pyh9f0ad1d_0    conda-forge
pcre                      8.44                 he1b5a44_0    conda-forge
pdbpp                     0.10.0                     py_0    conda-forge
pexpect                   4.8.0            py37hc8dfbb8_1    conda-forge
pgplot                    5.2.2             hac706ba_1006    conda-forge
pickleshare               0.7.5           py37hc8dfbb8_1001    conda-forge
pillow                    7.1.2            py37h718be6c_0    conda-forge
pint-pulsar               0.6.3            py37hc8dfbb8_0    conda-forge
pip                       20.1               pyh9f0ad1d_0    conda-forge
pixman                    0.38.0            h516909a_1003    conda-forge
pkginfo                   1.5.0.1                    py_0    conda-forge
pluggy                    0.13.1           py37hc8dfbb8_1    conda-forge
poppler                   0.67.0               h14e79db_8    conda-forge
poppler-data              0.4.9                         1    conda-forge
postgresql                12.2                 h8573dbc_1    conda-forge
pre-commit                2.3.0            py37hc8dfbb8_0    conda-forge
proj                      7.0.0                h966b41f_3    conda-forge
prometheus_client         0.7.1                      py_0    conda-forge
prompt-toolkit            3.0.5                      py_0    conda-forge
psrchive                  2020.05.08       py37h33ec4a3_1    demorest
pthread-stubs             0.4               h14c3975_1001    conda-forge
ptyprocess                0.6.0                   py_1001    conda-forge
py                        1.8.1                      py_0    conda-forge
pycodestyle               2.5.0                      py_0    conda-forge
pycparser                 2.20                       py_0    conda-forge
pyepsg                    0.4.0                      py_0    conda-forge
pyflakes                  2.1.1                      py_0    conda-forge
pygments                  2.6.1                      py_0    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyproj                    2.6.1.post1      py37h34dd122_0    conda-forge
pyqt                      5.12.3           py37h8685d9f_3    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtchart                 5.12                     pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
pyrsistent                0.16.0           py37h8f50634_0    conda-forge
pyshp                     2.1.0                      py_0    conda-forge
pysocks                   1.7.1            py37hc8dfbb8_1    conda-forge
pytest                    5.4.2            py37hc8dfbb8_0    conda-forge
python                    3.7.6           h8356626_5_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
pytz                      2020.1             pyh9f0ad1d_0    conda-forge
pyyaml                    5.3.1            py37h8f50634_0    conda-forge
pyzmq                     19.0.1           py37hac76be4_0    conda-forge
qt                        5.12.5               hd8c4c69_1    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
readme_renderer           24.0                       py_0    conda-forge
requests                  2.23.0             pyh8c360ce_2    conda-forge
requests-toolbelt         0.9.1                      py_0    conda-forge
schwimmbad                0.3.1            py37hc8dfbb8_0    conda-forge
scipy                     1.4.1            py37ha3d9a3c_3    conda-forge
secretstorage             3.1.2            py37hc8dfbb8_1    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                46.2.0           py37hc8dfbb8_0    conda-forge
shapely                   1.7.0            py37hc88ce51_3    conda-forge
six                       1.14.0                     py_1    conda-forge
smmap                     3.0.4              pyh9f0ad1d_0    conda-forge
snowballstemmer           2.0.0                      py_0    conda-forge
sortedcontainers          2.1.0                      py_0    conda-forge
sphinx                    3.0.3                      py_0    conda-forge
sphinx_rtd_theme          0.4.3                      py_0    conda-forge
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    1.0.3                      py_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.4                      py_0    conda-forge
sqlite                    3.30.1               hcee41ef_0    conda-forge
stingray                  0.1              py37h5ca1d4c_0    conda-forge
tbb                       2018.0.5             h2d50403_0    conda-forge
tempo                     2020.03.26           h9ac9557_1    demorest
tempo-clockfiles          2020.05.07                    1    demorest
tempo2                    2019.01.1            h1c2f66e_1    demorest
terminado                 0.8.3            py37hc8dfbb8_1    conda-forge
testpath                  0.4.4                      py_0    conda-forge
tiledb                    1.7.7                h8efa9f0_1    conda-forge
tk                        8.6.10               hed695b0_0    conda-forge
toml                      0.10.0                     py_0    conda-forge
tornado                   6.0.4            py37h8f50634_1    conda-forge
tox                       3.15.0           py37hc8dfbb8_0    conda-forge
tqdm                      4.46.0             pyh9f0ad1d_0    conda-forge
traitlets                 4.3.3            py37hc8dfbb8_1    conda-forge
twine                     3.1.1                    py37_0    conda-forge
tzcode                    2020a                h516909a_0    conda-forge
uncertainties             3.1.2                    py37_0    conda-forge
urllib3                   1.25.9                     py_0    conda-forge
virtualenv                16.7.5                     py_0    conda-forge
wcwidth                   0.1.9              pyh9f0ad1d_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.34.2                     py_1    conda-forge
wmctrl                    0.3             py37hc8dfbb8_1002    conda-forge
xerces-c                  3.2.2             h8412b87_1004    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.9                h516909a_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.5                h516909a_0    conda-forge
yaml                      0.2.4                h516909a_0    conda-forge
zeromq                    4.3.2                he1b5a44_2    conda-forge
zipp                      3.1.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge
zstd                      1.4.4                h6597ccf_3    conda-forge


Details about conda and system ( conda info ):

     active environment : hese
    active env location : /Software/miniconda3/envs/hese
            shell level : 1
       user config file : /home/paulr/.condarc
 populated config files : /home/paulr/.condarc
          conda version : 4.8.3
    conda-build version : not installed
         python version : 3.7.6.final.0
       virtual packages : __glibc=2.17
       base environment : /Software/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Software/miniconda3/pkgs
                          /home/paulr/.conda/pkgs
       envs directories : /Software/miniconda3/envs
                          /home/paulr/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.3 requests/2.23.0 CPython/3.7.6 Linux/3.10.0-1127.el7.x86_64 centos/7.8.2003 glibc/2.17
                UID:GID : 7655:7650
             netrc file : None
           offline mode : False


activate/deactivate do not support csh and variants

Issue: When activating a conda environment in csh (or tcsh or other variants) with source <path>/profile.d/conda.csh, the environment variables for this shell are not set, causing any packages that depend on PROJ_LIB (e.g. basemap) to fail to import.

I'm happy to provide more details about the conda environment, etc. if they are relevant but i think the problem is fairly simply that there are only scripts for sh and not csh here:
https://github.com/conda-forge/proj.4-feedstock/tree/master/recipe/scripts

and added here:
https://github.com/conda-forge/proj.4-feedstock/blob/master/recipe/build.sh#L18-L19

Presumably a corresponding set of .csh scripts would take care of this issue?

PROJ: proj_create_from_database: Cannot find proj.db

Issue:
I am attempting to run gdal.Translate after installing gdal and rasterio from conda-forge. During the process I receive several errors regarding:
PROJ: proj_create_from_database: Cannot find proj.db


Environment (conda list):

(GDAL) PS C:\ProgramData\Anaconda3\envs\GDAL> conda list                                                                              # packages in environment at C:\ProgramData\Anaconda3\envs\GDAL:
#
# Name                    Version                   Build  Channel
affine                    2.3.0                      py_0    conda-forge
attrs                     19.3.0                     py_0    conda-forge
boost-cpp                 1.72.0               h0caebb8_0    conda-forge
bzip2                     1.0.8                hfa6e2cd_2    conda-forge
ca-certificates           2019.11.28           hecc5488_0    conda-forge
certifi                   2019.11.28       py38h32f6830_1    conda-forge
cfitsio                   3.470                hfa6e2cd_2    conda-forge
click                     7.0                        py_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
cligj                     0.5.0                      py_0    conda-forge
curl                      7.68.0               h4496350_0    conda-forge
expat                     2.2.9                he025d50_2    conda-forge
freetype                  2.10.0               h563cfd7_1    conda-forge
freexl                    1.0.5             hd288d7e_1002    conda-forge
gdal                      3.0.4            py38h2fee047_1    conda-forge
geos                      3.8.0                he025d50_1    conda-forge
geotiff                   1.5.1                h58edbdd_9    conda-forge
gettext                   0.19.8.1          hb01d8f6_1002    conda-forge
glib                      2.58.3          py38hc0c2ac7_1002    conda-forge
hdf4                      4.2.13            hf8e6fe8_1003    conda-forge
hdf5                      1.10.5          nompi_ha405e13_1104    conda-forge
icu                       64.2                 he025d50_1    conda-forge
intel-openmp              2020.0                      166
jpeg                      9c                hfa6e2cd_1001    conda-forge
kealib                    1.4.10            hf7dc31f_1005    conda-forge
krb5                      1.16.4               hdd46e55_0    conda-forge
libblas                   3.8.0                    15_mkl    conda-forge
libcblas                  3.8.0                    15_mkl    conda-forge
libcurl                   7.68.0               h4496350_0    conda-forge
libffi                    3.2.1             h6538335_1006    conda-forge
libgdal                   3.0.4                hd7a9a0e_1    conda-forge
libiconv                  1.15              hfa6e2cd_1005    conda-forge
libkml                    1.3.0             h7e985d0_1011    conda-forge
liblapack                 3.8.0                    15_mkl    conda-forge
libnetcdf                 4.7.3           nompi_hc957ea6_101    conda-forge
libpng                    1.6.37               h7602738_0    conda-forge
libpq                     12.2                 h795e76a_0    conda-forge
libspatialite             4.3.0a            hed33574_1035    conda-forge
libssh2                   1.8.2                h642c060_2    conda-forge
libtiff                   4.1.0                h21b02b4_3    conda-forge
libwebp                   1.0.2                hfa6e2cd_5    conda-forge
libxml2                   2.9.10               h9ce36c8_0    conda-forge
lz4-c                     1.8.3             he025d50_1001    conda-forge
m2w64-expat               2.1.1                         2
m2w64-gcc-libgfortran     5.3.0                         6
m2w64-gcc-libs            5.3.0                         7
m2w64-gcc-libs-core       5.3.0                         7
m2w64-gettext             0.19.7                        2
m2w64-gmp                 6.1.0                         2
m2w64-libiconv            1.14                          6
m2w64-libwinpthread-git   5.0.0.4634.697f757               2
m2w64-xz                  5.2.2                         2
mkl                       2020.0                      166
msys2-conda-epoch         20160418                      1
numpy                     1.18.1           py38hc71023c_0    conda-forge
openjpeg                  2.3.1                h57dd2e7_3    conda-forge
openssl                   1.1.1d               hfa6e2cd_0    conda-forge
pcre                      8.44                 h6538335_0    conda-forge
pip                       20.0.2                     py_2    conda-forge
poppler                   0.67.0               h1707e21_8    conda-forge
poppler-data              0.4.9                         1    conda-forge
postgresql                12.2                 hd6b8478_0    conda-forge
proj                      6.3.1                ha7a8c7b_1    conda-forge
pyparsing                 2.4.6                      py_0    conda-forge
python                    3.8.2           h5fd99cc_4_cpython    conda-forge
python_abi                3.8                      1_cp38    conda-forge
rasterio                  1.1.3            py38h2617b1b_0    conda-forge
setuptools                46.0.0           py38h32f6830_2    conda-forge
snuggs                    1.4.7                      py_0    conda-forge
sqlite                    3.30.1               hfa6e2cd_0    conda-forge
tbb                       2018.0.5             he980bc4_0    conda-forge
tiledb                    1.7.0                hffbbd95_2    conda-forge
tk                        8.6.10               hfa6e2cd_0    conda-forge
vc                        14.1                 h0510ff6_4
vs2015_runtime            14.16.27012          hf0eaf9b_1
wheel                     0.34.2                     py_1    conda-forge
wincertstore              0.2                   py38_1003    conda-forge
xerces-c                  3.2.2             h6538335_1004    conda-forge
xz                        5.2.4             h2fa13f4_1001    conda-forge
zlib                      1.2.11            h2fa13f4_1006    conda-forge
zstd                      1.4.4                hd8a0e53_1    conda-forge

Details about conda and system ( conda info ):
(GDAL) PS C:\ProgramData\Anaconda3\envs\GDAL> conda info                                                                              
     active environment : GDAL
    active env location : C:\ProgramData\Anaconda3\envs\GDAL
            shell level : 2
       user config file : C:\Users\opsNathanRaley\.condarc
 populated config files : C:\Users\opsNathanRaley\.condarc
          conda version : 4.8.2
    conda-build version : 3.18.9
         python version : 3.7.4.final.0
       virtual packages : __cuda=9.2
       base environment : C:\ProgramData\Anaconda3  (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:\ProgramData\Anaconda3\pkgs
                          C:\Users\opsNathanRaley\.conda\pkgs
                          C:\Users\opsNathanRaley\AppData\Local\conda\conda\pkgs
       envs directories : C:\ProgramData\Anaconda3\envs
                          C:\Users\opsNathanRaley\.conda\envs
                          C:\Users\opsNathanRaley\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.4 Windows/10 Windows/10.0.18362
          administrator : True
             netrc file : None
           offline mode : False

(GDAL) PS C:\ProgramData\Anaconda3\envs\GDAL> 

Possible incompatibility between rgdal and proj4

Issue:

I hope I'm in the right place :) rgdal seems to be looking for libproj.so.13, but only librproj.so 12 is present.

> library(rgdal)
Loading required package: sp
Error: package or namespace load failed for โ€˜rgdalโ€™ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/scr/broe.1/miniconda3/envs/r-spat/lib/R/library/rgdal/libs/rgdal.so':
  libproj.so.13: cannot open shared object file: No such file or directory

Listing of conda-env lib directory:

$ ls -1 <conda-env>/lib/libproj.*
libproj.a
libproj.so
libproj.so.12
libproj.so.12.0.0

And:

$ ls <conda-env>/lib/R/library/rgdal/libs
rgdal.so

Any help appreciated!


Environment (conda list):

# Name                    Version                   Build  Channel
proj4                     4.9.3                h470a237_8    conda-forge
r-rprojroot               1.3_2           r351h6115d3f_1001    conda-forge
gdal                      2.3.2            py36hb00a9d7_0    conda-forge
libgdal                   2.3.2                hc73897a_0    conda-forge
r-rgdal                   1.3_6            r351h285a78d_1    conda-forge


Details about conda and system ( conda info ):
active environment : r-spat
    active env location : /scr/broe.1/miniconda3/envs/r-spat
            shell level : 1
       user config file : /home/broe.1/.condarc
 populated config files : /home/broe.1/.condarc
          conda version : 4.5.12
    conda-build version : not installed
         python version : 2.7.14.final.0
       base environment : /scr/broe.1/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/bioconda/linux-64
                          https://conda.anaconda.org/bioconda/noarch
                          https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/linux-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /scr/broe.1/miniconda3/pkgs
                          /home/broe.1/.conda/pkgs
       envs directories : /scr/broe.1/miniconda3/envs
                          /home/broe.1/.conda/envs
               platform : linux-64
             user-agent : conda/4.5.12 requests/2.19.1 CPython/2.7.14 Linux/4.4.0-137-generic ubuntu/16.04 glibc/2.23
                UID:GID : 80004946:11003915
             netrc file : None
           offline mode : False

Make activate.sh posix compliant

I think recipe/scripts/activate.sh is being source and not executed by conda scripts, so the #!/bin/bash is ignored.
If conda is run from /bin/sh as it is the case in CI environments or docker builds, then bash syntax extensions cause issues.

Coud you please use the standard test syntax if [ -n "$PROJ_LIB" ]; then instead of if [[ -n "$PROJ_LIB" ]]; then?

cs2cs epsg file lookup error

I hope this is the right place for this bug report..

The cs2cs binary shipped with the proj package has a path lookup problem:

$ which cs2cs
/home/megies/anaconda/bin/cs2cs
$ PROJ_DEBUG=3 cs2cs +init=epsg:4326 +to +init=epsg:2975 
pj_open_lib(epsg): call fopen(/opt/conda/envs/_build/share/proj/epsg) - failed

Using from definition: init=epsg:4326 
Rel. 4.9.2, 08 September 2015
<cs2cs>: 
projection initialization failure
cause: no system list, errno: 2

program abnormally terminated

It is trying to lookup the epsg file under some temporary build-time path, it seems, while it should be looking it up under the environments share/proj directory. Forcing the correct path makes it work:

$ export PROJ_LIB=$(dirname $(dirname $(which proj)))/share/proj
$ PROJ_DEBUG=3 cs2cs +init=epsg:4326 +to +init=epsg:2975 
pj_open_lib(epsg): call fopen(/home/megies/anaconda/share/proj/epsg) - succeeded

pj_open_lib(epsg): call fopen(/home/megies/anaconda/share/proj/epsg) - succeeded

To fix this problem, the installed proj binary should lookup the correct path relative to it's own directory, I think.

OSX CMake cross-compiling confusion

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

When trying to do

find_package(PROJ CONFIG REQUIRED)

in an external library using OSX arm64 and PROJ 9.1.x or PROJ 9.2 from Conda Forge, I get the following complaint from CMake

CMake Error at CMakeLists.txt:4 (find_package):
  Could not find a configuration file for package "PROJ" that is compatible
  with requested version "".

  The following configuration files were considered but not accepted:

    /Users/hobu/miniforge3/envs/lapis/lib/cmake/proj/proj-config.cmake, version: 9.1.1 (cross-compiling = TRUE)

When I self-build my own PROJ 9.2 and install it, find_package succeeds as expected.

I think the hint about what's going on is

(cross-compiling = TRUE)

Is there something about how our cross-compiled OSX arm64 build is built that is confusing CMake when it writes its config files?

Installed packages

# packages in environment at /Users/hobu/miniforge3/envs/proj:
#
# Name                    Version                   Build  Channel
c-ares                    1.18.1               h3422bc3_0    conda-forge
ca-certificates           2022.12.7            h4653dfc_0    conda-forge
krb5                      1.20.1               h69eda48_0    conda-forge
lerc                      4.0.0                h9a09cb3_0    conda-forge
libcurl                   8.0.1                heffe338_0    conda-forge
libcxx                    16.0.1               h75e25f2_0    conda-forge
libdeflate                1.18                 h1a8c8d9_0    conda-forge
libedit                   3.1.20191231         hc8eb9b7_2    conda-forge
libev                     4.33                 h642e427_1    conda-forge
libjpeg-turbo             2.1.5.1              h1a8c8d9_0    conda-forge
libnghttp2                1.52.0               hae82a92_0    conda-forge
libsqlite                 3.40.0               h76d750c_0    conda-forge
libssh2                   1.10.0               h7a5bd25_3    conda-forge
libtiff                   4.5.0                h4f7d55c_6    conda-forge
libwebp-base              1.3.0                h1a8c8d9_0    conda-forge
libzlib                   1.2.13               h03a7124_4    conda-forge
ncurses                   6.3                  h07bb92c_1    conda-forge
openssl                   3.1.0                h03a7124_0    conda-forge
proj                      9.2.0                h13f728c_0    conda-forge
readline                  8.2                  h92ec313_1    conda-forge
sqlite                    3.40.0               h2229b38_0    conda-forge
xz                        5.2.6                h57fd34a_0    conda-forge
zstd                      1.5.2                hf913c23_6    conda-forge


### Environment info

```shell
active environment : proj
    active env location : /Users/hobu/miniforge3/envs/proj
            shell level : 2
       user config file : /Users/hobu/.condarc
 populated config files : /Users/hobu/miniforge3/.condarc
          conda version : 22.9.0
    conda-build version : not installed
         python version : 3.9.15.final.0
       virtual packages : __osx=13.2.1=0
                          __unix=0=0
                          __archspec=1=arm64
       base environment : /Users/hobu/miniforge3  (writable)
      conda av data dir : /Users/hobu/miniforge3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/hobu/miniforge3/pkgs
                          /Users/hobu/.conda/pkgs
       envs directories : /Users/hobu/miniforge3/envs
                          /Users/hobu/.conda/envs
               platform : osx-arm64
             user-agent : conda/22.9.0 requests/2.28.1 CPython/3.9.15 Darwin/22.3.0 OSX/13.2.1
                UID:GID : 501:20
             netrc file : None
           offline mode : False

pyproj and libtiff linking error on OSX Python 3.8

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Failed CI job for reference: https://github.com/pytroll/python-geotiepoints/actions/runs/6508775514/job/17705704726

It seems that on OSX (not sure arm or intel matters yet) with a Python 3.8 environment, pyproj gets a dylib reference error when loading its C extensions that are compiled against PROJ. Likely tied to #136 but my CI job that first failed was previously run a month ago so there could have been other changes causing this. Here's the error:

     from pyproj import Geod, Proj, transform
../../../miniconda3/envs/test-environment/lib/python3.8/site-packages/pyproj/__init__.py:49: in <module>
    import pyproj.network
../../../miniconda3/envs/test-environment/lib/python3.8/site-packages/pyproj/network.py:10: in <module>
    from pyproj._network import (  # noqa: F401 pylint: disable=unused-import
E   ImportError: dlopen(/Users/runner/miniconda3/envs/test-environment/lib/python3.8/site-packages/pyproj/_network.cpython-38-darwin.so, 0x0002): Library not loaded: '@rpath/libtiff.5.dylib'
E     Referenced from: '/Users/runner/miniconda3/envs/test-environment/lib/libproj.22.2.1.dylib'
E     Reason: tried: '/Users/runner/miniconda3/envs/test-environment/lib/libtiff.5.dylib' (no such file), '/Users/runner/miniconda3/envs/test-environment/lib/python3.8/site-packages/pyproj/../../../libtiff.5.dylib' (no such file), '/Users/runner/miniconda3/envs/test-environment/lib/python3.8/site-packages/pyproj/../../../libtiff.5.dylib' (no such file), '/Users/runner/miniconda3/envs/test-environment/bin/../lib/libtiff.5.dylib' (no such file), '/Users/runner/miniconda3/envs/test-environment/bin/../lib/libtiff.5.dylib' (no such file), '/usr/local/lib/libtiff.5.dylib' (no such file), '/usr/lib/libtiff.5.dylib' (no such file)

I don't have an OSX machine to test locally, but have asked some coworkers to run some tests for me to get more info. I'll list the information I do know below.

Installed packages

+ alabaster                            0.7.13  pyhd8ed1ab_0            conda-forge/noarch       18kB
    + aws-c-auth                            0.7.4  hbe6ead2_2              conda-forge/osx-64       89kB
    + aws-c-cal                             0.6.2  hfc10710_2              conda-forge/osx-64       41kB
    + aws-c-common                          0.9.3  h0dc2134_0              conda-forge/osx-64      203kB
    + aws-c-compression                    0.2.17  hd41bdd4_3              conda-forge/osx-64       18kB
    + aws-c-event-stream                    0.3.2  he52df9d_2              conda-forge/osx-64       47kB
    + aws-c-http                           0.7.13  hb43ddd7_2              conda-forge/osx-64      162kB
    + aws-c-io                            0.13.33  h2566903_0              conda-forge/osx-64      138kB
    + aws-c-mqtt                            0.9.7  h6b10715_0              conda-forge/osx-64      138kB
    + aws-c-s3                             0.3.17  h5800b94_4              conda-forge/osx-64       75kB
    + aws-c-sdkutils                       0.1.12  hd41bdd4_2              conda-forge/osx-64       47kB
    + aws-checksums                        0.1.17  hd41bdd4_2              conda-forge/osx-64       49kB
    + aws-crt-cpp                          0.24.2  hf47b73b_2              conda-forge/osx-64      276kB
    + aws-sdk-cpp                        1.11.156  hf61f2bb_4              conda-forge/osx-64        3MB
    + babel                                2.13.0  pyhd8ed1ab_0            conda-forge/noarch        7MB
    + bokeh                                 3.1.1  pyhd8ed1ab_0            conda-forge/noarch        6MB
    + brotli-python                         1.1.0  py38h940360d_1          conda-forge/osx-64      366kB
    + bzip2                                 1.0.8  h0d85af4_4              conda-forge/osx-64      159kB
    + c-ares                               1.20.1  h10d778d_0              conda-forge/osx-64      103kB
    + ca-certificates                   2023.7.22  h8857fd0_0              conda-forge/osx-64      150kB
    + cached-property                       1.5.2  hd8ed1ab_1              conda-forge/noarch        4kB
    + cached_property                       1.5.2  pyha770c72_1            conda-forge/noarch       11kB
    + certifi                           2023.7.22  pyhd8ed1ab_0            conda-forge/noarch      154kB
    + charset-normalizer                    3.3.0  pyhd8ed1ab_0            conda-forge/noarch       46kB
    + click                                 8.1.7  unix_pyh707e725_0       conda-forge/noarch       84kB
    + cloudpickle                           2.2.1  pyhd8ed1ab_0            conda-forge/noarch       28kB
    + codecov                              2.1.13  pyhd8ed1ab_0            conda-forge/noarch       22kB
    + colorama                              0.4.6  pyhd8ed1ab_0            conda-forge/noarch       25kB
    + configobj                             5.0.8  pyhd8ed1ab_0            conda-forge/noarch       37kB
    + contourpy                             1.1.1  py38h15a1a5b_1          conda-forge/osx-64      218kB
    + coverage                              6.5.0  py38hef030d1_1          conda-forge/osx-64      243kB
    + coveralls                             3.3.1  pyhd8ed1ab_0            conda-forge/noarch       17kB
    + cython                                3.0.3  py38hb2f96d7_0          conda-forge/osx-64        3MB
    + cytoolz                              0.12.2  py38hcafd530_1          conda-forge/osx-64      315kB
    + dask                               2023.5.0  pyhd8ed1ab_0            conda-forge/noarch        7kB
    + dask-core                          2023.5.0  pyhd8ed1ab_0            conda-forge/noarch      845kB
    + distributed                        2023.5.0  pyhd8ed1ab_0            conda-forge/noarch      768kB
    + docopt                                0.6.2  py_1                    conda-forge/noarch       15kB
    + docutils                             0.20.1  py38h50d1736_2          conda-forge/osx-64      707kB
    + exceptiongroup                        1.1.3  pyhd8ed1ab_0            conda-forge/noarch       19kB
    + freetype                             2.12.1  h60636b9_2              conda-forge/osx-64      599kB
    + fsspec                             2023.9.2  pyh1a96a4e_0            conda-forge/noarch      124kB
    + geos                                 3.12.0  he965462_0              conda-forge/osx-64        1MB
    + gflags                                2.2.2  hb1e8313_1004           conda-forge/osx-64       95kB
    + glog                                  0.6.0  h8ac2a54_0              conda-forge/osx-64      101kB
    + h5py                                 3.10.0  nompi_py38h7e95433_100  conda-forge/osx-64     1000kB
    + hdf5                                 1.14.2  nompi_hedada53_100      conda-forge/osx-64        4MB
    + idna                                    3.4  pyhd8ed1ab_0            conda-forge/noarch       57kB
    + imagesize                             1.4.1  pyhd8ed1ab_0            conda-forge/noarch       10kB
    + importlib-metadata                    6.8.0  pyha770c72_0            conda-forge/noarch       26kB
    + importlib_metadata                    6.8.0  hd8ed1ab_0              conda-forge/noarch        9kB
    + iniconfig                             2.0.0  pyhd8ed1ab_0            conda-forge/noarch       11kB
    + jinja2                                3.1.2  pyhd8ed1ab_1            conda-forge/noarch      101kB
    + krb5                                 1.21.2  hb884880_0              conda-forge/osx-64        1MB
    + lcms2                                  2.15  hd6ba6f3_3              conda-forge/osx-64      225kB
    + lerc                                  4.0.0  hb486fe8_0              conda-forge/osx-64      290kB
    + libabseil                        20230802.1  cxx17_h048a20a_0        conda-forge/osx-64        1MB
    + libaec                                1.1.2  he965462_1              conda-forge/osx-64       29kB
    + libarrow                             13.0.0  h73e7a6f_9_cpu          conda-forge/osx-64       20MB
    + libblas                               3.9.0  18_osx64_openblas       conda-forge/osx-64       15kB
    + libbrotlicommon                       1.1.0  h0dc2134_1              conda-forge/osx-64       67kB
    + libbrotlidec                          1.1.0  h0dc2134_1              conda-forge/osx-64       30kB
    + libbrotlienc                          1.1.0  h0dc2134_1              conda-forge/osx-64      299kB
    + libcblas                              3.9.0  18_osx64_openblas       conda-forge/osx-64       15kB
    + libcrc32c                             1.1.2  he49afe7_0              conda-forge/osx-64       20kB
    + libcurl                               8.4.0  h726d00d_0              conda-forge/osx-64      366kB
    + libcxx                               16.0.6  hd57cbcb_0              conda-forge/osx-64        1MB
    + libdeflate                             1.19  ha4e1b8e_0              conda-forge/osx-64       69kB
    + libedit                        3.1.20191231  h0678c8f_2              conda-forge/osx-64      105kB
    + libev                                  4.33  haf1e3a3_1              conda-forge/osx-64      101kB
    + libevent                             2.1.12  ha90c15b_1              conda-forge/osx-64      373kB
    + libffi                                3.4.2  h0d85af4_5              conda-forge/osx-64       51kB
    + libgfortran                           5.0.0  13_2_0_h97931a8_1       conda-forge/osx-64      110kB
    + libgfortran5                         13.2.0  h2873a65_1              conda-forge/osx-64        2MB
    + libgoogle-cloud                      2.12.0  h407922f_3              conda-forge/osx-64       31MB
    + libgrpc                              1.58.1  hecc90c7_2              conda-forge/osx-64        4MB
    + libjpeg-turbo                         3.0.0  h0dc2134_1              conda-forge/osx-64      580kB
    + liblapack                             3.9.0  18_osx64_openblas       conda-forge/osx-64       15kB
    + libnghttp2                           1.52.0  he2ab024_0              conda-forge/osx-64      613kB
    + libopenblas                          0.3.24  openmp_h48a4ad5_0       conda-forge/osx-64        6MB
    + libpng                               1.6.39  ha978bb4_0              conda-forge/osx-64      272kB
    + libprotobuf                          4.24.3  he0c2237_1              conda-forge/osx-64        2MB
    + libre2-11                        2023.06.02  h4694dbf_0              conda-forge/osx-64      183kB
    + libsqlite                            3.43.2  h92b6c6a_0              conda-forge/osx-64      885kB
    + libssh2                              1.11.0  hd019ec5_0              conda-forge/osx-64      260kB
    + libthrift                            0.19.0  h064b379_1              conda-forge/osx-64      325kB
    + libtiff                               4.6.0  h684deea_2              conda-forge/osx-64      267kB
    + libutf8proc                           2.8.0  hb7f2c08_0              conda-forge/osx-64       99kB
    + libwebp-base                          1.3.2  h0dc2134_0              conda-forge/osx-64      347kB
    + libxcb                                 1.15  hb7f2c08_0              conda-forge/osx-64      314kB
    + libzlib                              1.2.13  h8a1eda9_5              conda-forge/osx-64       59kB
    + llvm-openmp                          17.0.2  hff08bdf_0              conda-forge/osx-64      305kB
    + locket                                1.0.0  pyhd8ed1ab_0            conda-forge/noarch        8kB
    + lz4                                   4.3.2  py38h8021d85_1          conda-forge/osx-64       34kB
    + lz4-c                                 1.9.4  hf0c8a7f_0              conda-forge/osx-64      156kB
    + markupsafe                            2.1.3  py38hcafd530_1          conda-forge/osx-64       23kB
    + msgpack-python                        1.0.6  py38h15a1a5b_0          conda-forge/osx-64      187kB
    + ncurses                                 6.4  hf0c8a7f_0              conda-forge/osx-64      828kB
    + numpy                                1.24.4  py38h9a4a08f_0          conda-forge/osx-64        6MB
    + openjpeg                              2.5.0  ha4da562_3              conda-forge/osx-64      336kB
    + openssl                               3.1.3  h8a1eda9_0              conda-forge/osx-64        2MB
    + orc                                   1.9.0  hb037d9a_3              conda-forge/osx-64      423kB
    + packaging                              23.2  pyhd8ed1ab_0            conda-forge/noarch       49kB
    + pandas                                1.5.3  py38hec72209_1          conda-forge/osx-64       11MB
    + partd                                 1.4.1  pyhd8ed1ab_0            conda-forge/noarch       21kB
    + pillow                               10.0.1  py38h82baea6_2          conda-forge/osx-64       46MB
    + pip                                  23.2.1  pyhd8ed1ab_0            conda-forge/noarch        1MB
    + platformdirs                         3.11.0  pyhd8ed1ab_0            conda-forge/noarch       20kB
    + pluggy                                1.3.0  pyhd8ed1ab_0            conda-forge/noarch       23kB
    + pooch                                 1.7.0  pyhd8ed1ab_4            conda-forge/noarch       51kB
    + proj                                  8.2.1  hd69def0_0              pkgs/main/osx-64          3MB
    + psutil                                5.9.5  py38hcafd530_1          conda-forge/osx-64      366kB
    + pthread-stubs                           0.4  hc929b4f_1001           conda-forge/osx-64        6kB
    + pyarrow                              13.0.0  py38h906a081_9_cpu      conda-forge/osx-64        4MB
    + pygments                             2.16.1  pyhd8ed1ab_0            conda-forge/noarch      853kB
    + pykdtree                        1.3.7.post0  py38hbd87e4b_0          conda-forge/osx-64       63kB
    + pyproj                                3.3.0  py38h969db27_1          conda-forge/osx-64      476kB
    + pyresample                           1.26.1  py38hec72209_0          conda-forge/osx-64        2MB
    + pysocks                               1.7.1  pyha2e5f31_6            conda-forge/noarch       19kB
    + pytest                                7.4.2  pyhd8ed1ab_0            conda-forge/noarch      245kB
    + pytest-cov                            4.1.0  pyhd8ed1ab_0            conda-forge/noarch       25kB
    + python                               3.8.18  h5ba8234_0_cpython      conda-forge/osx-64       13MB
    + python-dateutil                       2.8.2  pyhd8ed1ab_0            conda-forge/noarch      246kB
    + python_abi                              3.8  4_cp38                  conda-forge/osx-64        6kB
    + pytz                           2023.3.post1  pyhd8ed1ab_0            conda-forge/noarch      187kB
    + pyyaml                                6.0.1  py38hcafd530_1          conda-forge/osx-64      162kB
    + re2                              2023.06.02  hd34609a_0              conda-forge/osx-64       27kB
    + readline                                8.2  h9e318b2_1              conda-forge/osx-64      256kB
    + requests                             2.31.0  pyhd8ed1ab_0            conda-forge/noarch       57kB
    + scipy                                1.10.1  py38h9cf86d3_3          conda-forge/osx-64       15MB
    + setuptools                           68.2.2  pyhd8ed1ab_0            conda-forge/noarch      464kB
    + shapely                               2.0.2  py38hc7ab945_0          conda-forge/osx-64      449kB
    + six                                  1.16.0  pyh6c4a22f_0            conda-forge/noarch       14kB
    + snappy                               1.1.10  h225ccf5_0              conda-forge/osx-64       35kB
    + snowballstemmer                       2.2.0  pyhd8ed1ab_0            conda-forge/noarch       59kB
    + sortedcontainers                      2.4.0  pyhd8ed1ab_0            conda-forge/noarch       26kB
    + sphinx                                7.1.2  pyhd8ed1ab_0            conda-forge/noarch        1MB
    + sphinxcontrib-applehelp               1.0.4  pyhd8ed1ab_0            conda-forge/noarch       29kB
    + sphinxcontrib-devhelp                 1.0.2  py_0                    conda-forge/noarch       23kB
    + sphinxcontrib-htmlhelp                2.0.1  pyhd8ed1ab_0            conda-forge/noarch       33kB
    + sphinxcontrib-jsmath                  1.0.1  pyhd8ed1ab_0            conda-forge/noarch       10kB
    + sphinxcontrib-qthelp                  1.0.3  py_0                    conda-forge/noarch       26kB
    + sphinxcontrib-serializinghtml         1.1.5  pyhd8ed1ab_2            conda-forge/noarch       28kB
    + sqlite                               3.43.2  h7461747_0              conda-forge/osx-64      883kB
    + tblib                                 2.0.0  pyhd8ed1ab_0            conda-forge/noarch       17kB
    + tk                                   8.6.13  hef22860_0              conda-forge/osx-64        3MB
    + toml                                 0.10.2  pyhd8ed1ab_0            conda-forge/noarch       18kB
    + tomli                                 2.0.1  pyhd8ed1ab_0            conda-forge/noarch       16kB
    + toolz                                0.12.0  pyhd8ed1ab_0            conda-forge/noarch       49kB
    + tornado                               6.3.3  py38hcafd530_1          conda-forge/osx-64      631kB
    + typing-extensions                     4.8.0  hd8ed1ab_0              conda-forge/noarch       10kB
    + typing_extensions                     4.8.0  pyha770c72_0            conda-forge/noarch       35kB
    + urllib3                               2.0.6  pyhd8ed1ab_0            conda-forge/noarch       98kB
    + wheel                                0.41.2  pyhd8ed1ab_0            conda-forge/noarch       57kB
    + xarray                             2023.1.0  pyhd8ed1ab_0            conda-forge/noarch      663kB
    + xorg-libxau                          1.0.11  h0dc2134_0              conda-forge/osx-64       13kB
    + xorg-libxdmcp                         1.1.3  h35c211d_0              conda-forge/osx-64       17kB
    + xyzservices                       2023.10.0  pyhd8ed1ab_0            conda-forge/noarch       36kB
    + xz                                    5.2.6  h775f41a_0              conda-forge/osx-64      238kB
    + yaml                                  0.2.5  h0d85af4_2              conda-forge/osx-64       84kB
    + zict                                  3.0.0  pyhd8ed1ab_0            conda-forge/noarch       36kB
    + zipp                                 3.17.0  pyhd8ed1ab_0            conda-forge/noarch       19kB

Environment info

I posted the CI job above. Not sure if this command is run as part of the github action. Still waiting on coworker help.

EPSG codes no longer work on Windows

Issue: I'm currently helping debug some stuff with ci-helpers and I finally got a Windows environment on travis to run my unit tests for pyresample. However, there are some tests failing that weren't failing on linux/osx earlier this morning (rerunning them now). I'm trying to track down what may have changed and hoping the people who deal with this feedstock will be the quickest solution. @snowman2 and @ocefpaf seems you've been dealing with the newer versions of PROJ, but this environment is still using the older 5.4.0. Here's what is installed:

    proj4-5.2.0                |    h6538335_1004         3.4 MB  conda-forge
    pyproj-1.9.6               |py36hfa6e2cd_1002         237 KB  conda-forge

When I do Proj("+init=EPSG:6932") with pyproj I get:

  File "c:\users\travis\build\pytroll\pyresample\pyresample\geometry.py", line 1041, in __init__
    proj = Proj(projection)
  File "C:\tools\miniconda3\envs\test\lib\site-packages\pyproj\__init__.py", line 362, in __new__
    return _proj.Proj.__new__(self, projstring)
  File "_proj.pyx", line 129, in _proj.Proj.__cinit__
RuntimeError: b'no arguments in initialization list'

My guess is that either PROJ or this feedstock changed the default to no longer the +init syntax (since I know it is being deprecated), but I'm having trouble tracking down where that happened. Any ideas?

Optional shift files?

Should we have an optional package for the grid shift files? See the "datumgrid" files at https://proj4.org/download.html#current-release These are quite useful and often needed, but users don't always know to fetch them. Some packages could optionally chose to depend on them, but they are quite large, and it would only take a package like GDAL or PDAL using them to functionally make them required anyway.

What should we do?

Having trouble with libproj.so

Noticed this in a TravisCI build of a module that uses rasterio

Build log here:
https://travis-ci.org/Geosyntec/gisutils/jobs/165940148#L684

$ python check_gisutils.py ${ARGS}
Traceback (most recent call last):
  File "check_gisutils.py", line 5, in <module>
    import gisutils
  File "/home/travis/build/Geosyntec/gisutils/gisutils/__init__.py", line 1, in <module>
    from . import raster
  File "/home/travis/build/Geosyntec/gisutils/gisutils/raster.py", line 3, in <module>
    import rasterio
  File "/home/travis/miniconda/envs/test/lib/python3.4/site-packages/rasterio/__init__.py", line 15, in <module>
    from rasterio._base import (
ImportError: libproj.so.9: cannot open shared object file: No such file or directory

I see this in a completely fresh environment locally with fiona:

conda create --name=proj python=3.4 fiona --channel=conda-forge --yes
source activate proj
python -c "import fiona"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/paul/miniconda/envs/proj/lib/python3.4/site-packages/fiona/__init__.py", line 69, in <module>
    from fiona.collection import Collection, BytesCollection, vsi_path
  File "/home/paul/miniconda/envs/proj/lib/python3.4/site-packages/fiona/collection.py", line 7, in <module>
    from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: libproj.so.9: cannot open shared object file: No such file or directory
(proj) paul@POR-PHOBSON10:/mnt/c/Users/phobson$

I cant reproduce on windows due to conda-forge/hdf5-feedstock#41

Relax PROJ pin?

PROJ is following a normal semver versioning scheme, but its pin in recipe.yml is

{{ pin_subpackage('proj', max_pin='x.x.x') }}

which prevents packages like libgdal from picking up the latest PROJ. Could this be relaxed to x.x?

gdal_translate has PROJ issues

Issue:

I installed GDAL (https://anaconda.org/conda-forge/gdal) successfully many times before, but now I am getting the following errors running gdal_translate:

ERROR 1: PROJ: pj_obj_create: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: createGeodeticReferenceFrame: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: proj_as_wkt: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: createGeodeticReferenceFrame: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: pj_obj_create: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: proj_as_wkt: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: proj_create_from_wkt: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: proj_create_from_wkt: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: pj_obj_create: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: proj_as_wkt: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: proj_as_wkt: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: proj_create_from_wkt: Open of /opt/anaconda/envs/gis/share/proj failed
ERROR 1: PROJ: proj_create_from_database: Open of /opt/anaconda/envs/gis/share/proj failed

I created the environment like this
conda create -n gis -c conda-forge python=3.7 gdal nco

Building PROJ with modern linux

Related; pyproj4/pyproj#933

PROJ 8.1 requires pread64 ref. The current builds for conda-forge don't seem to work.

There are 2 possible reasons:

  • conda-forge is building with a version of of linux before pread64
  • the sqlite package isn't built with the needed CFLAGS="-DHAVE_PREAD64 -DHAVE_PWRITE64" ref

Name should be proj4 or proj.4?

Long time ago, before conda-forge, we renamed proj4 to proj.4 to match defaults. See SciTools/conda-recipes-scitools#116 and ioos/conda-recipes#500

Now it seems that defaults renamed it back to proj4 and we have the same problem because this feedstock was based on the scitools package.

Not sure if we should rename it again but some consistency would be nice. Pinging @msarahan and @ccordoba12 in case you know the reasons for the re-rename.

BTW: proj.4 is the original name so maybe we should stick with that.

Accessing proj from pdal within qgis

Issue:
Hi!
I'm trying to run a pdal pipline in QGIS python console. When I invoke a pipeline with "spatialreference": or try to read from pg_pointcloud I get an error.

Traceback (most recent call last): File "C:\Users\ikmjo01\Anaconda3\envs\pdaltest\lib\code.py", line 90, in runcode exec(code, self.locals) File "<input>", line 1, in <module> File "<string>", line 20, in <module> File "C:\Users\ikmjo01\Anaconda3\envs\pdaltest\lib\site-packages\pdal\pipeline.py", line 40, in execute return self.p.execute() File "libpdalpython.pyx", line 166, in pdal.libpdalpython.PyPipeline.execute RuntimeError: Could not import coordinate system 'EPSG:3008': PROJ: proj_create_from_database: Cannot find proj.db.

If I use another pipeline that just read from a LAS-file without "spatialreference" it works in QGIS. The first pipeline works fine with "spatialreference" in Conda prompt.

Works in both QGIS and Conda prompt:

json = """ [ "C:/projekt/3d/las/6212_190.las", { "type":"filters.range", "limits":"Classification[2:2]" }, { "filename":"C:/projekt/3d/las/test.las", "type": "writers.las" } ] """ import pdal pipeline = pdal.Pipeline(json) count = pipeline.execute() arrays = pipeline.arrays metadata = pipeline.metadata log = pipeline.log print(count)

Works only Conda prompt:

json = """ [ { "type":"readers.las", "filename": "C:/projekt/3d/las/6212_190.las", "spatialreference":"EPSG:3008" }, { "type":"filters.range", "limits":"Classification[2:2]" }, { "filename":"C:/projekt/3d/las/test2.las", "type": "writers.las" } ] """ import pdal pipeline = pdal.Pipeline(json) count = pipeline.execute() arrays = pipeline.arrays metadata = pipeline.metadata log = pipeline.log print(count)

PDAL/python#59

Environment (conda list):

# packages in environment at C:\Users\ikmjo01\Anaconda3\envs\pdaltest:
#
# Name                    Version                   Build  Channel
boost-cpp                 1.72.0               h0caebb8_0    conda-forge
brotlipy                  0.7.0           py38h1e8a9f7_1000    conda-forge
bzip2                     1.0.8                hfa6e2cd_2    conda-forge
ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
certifi                   2020.4.5.1       py38h32f6830_0    conda-forge
cffi                      1.14.0           py38ha419a9e_0    conda-forge
cfitsio                   3.470                he774522_5    conda-forge
chardet                   3.0.4           py38h32f6830_1006    conda-forge
coverage                  5.1              py38h1e8a9f7_0    conda-forge
cryptography              2.9.2            py38hba49e27_0    conda-forge
curl                      7.69.1               h1dcc11c_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
entwine                   2.1.0                h6cf58e4_3    conda-forge
exiv2                     0.27.1               hfa2c1cf_0    conda-forge
expat                     2.2.9                he025d50_2    conda-forge
freetype                  2.10.1               ha9979f8_0    conda-forge
freexl                    1.0.5             hd288d7e_1002    conda-forge
future                    0.18.2           py38h32f6830_1    conda-forge
gdal                      3.0.4            py38h3ba59e7_9    conda-forge
geos                      3.8.1                he025d50_0    conda-forge
geotiff                   1.5.1               h3d29ae3_10    conda-forge
gettext                   0.19.8.1          hb01d8f6_1002    conda-forge
glib                      2.64.2               he4de6d7_0    conda-forge
gsl                       2.6                  h86b8168_0    conda-forge
hdf4                      4.2.13            hf8e6fe8_1003    conda-forge
hdf5                      1.10.6          nompi_ha405e13_100    conda-forge
httplib2                  0.17.3             pyh9f0ad1d_0    conda-forge
icu                       64.2                 he025d50_1    conda-forge
idna                      2.9                        py_1    conda-forge
intel-openmp              2020.0                      166
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
jpeg                      9c                hfa6e2cd_1001    conda-forge
jsoncpp                   1.8.4             h1ad3211_1002    conda-forge
kealib                    1.4.13               h3b59ab9_1    conda-forge
kiwisolver                1.2.0            py38heaebd3c_0    conda-forge
krb5                      1.17.1               hdd46e55_0    conda-forge
laszip                    3.4.3                h6538335_1    conda-forge
laz-perf                  1.4.4                ha925a31_0    conda-forge
libblas                   3.8.0                    15_mkl    conda-forge
libcblas                  3.8.0                    15_mkl    conda-forge
libclang                  9.0.1           default_hf44288c_0    conda-forge
libcurl                   7.69.1               h1dcc11c_0    conda-forge
libffi                    3.2.1             h6538335_1007    conda-forge
libgdal                   3.0.4                h6f60a84_9    conda-forge
libiconv                  1.15              hfa6e2cd_1006    conda-forge
libkml                    1.3.0             h7e985d0_1011    conda-forge
liblapack                 3.8.0                    15_mkl    conda-forge
libnetcdf                 4.7.4           nompi_h256d12c_104    conda-forge
libpng                    1.6.37               hfe6a214_1    conda-forge
libpq                     12.2                 hd9aa61d_1    conda-forge
libspatialindex           1.9.3                he025d50_3    conda-forge
libspatialite             4.3.0a            h51df0ed_1038    conda-forge
libssh2                   1.8.2                h642c060_2    conda-forge
libtiff                   4.1.0                h885aae3_6    conda-forge
libwebp-base              1.1.0                hfa6e2cd_3    conda-forge
libxml2                   2.9.10               h9ce36c8_0    conda-forge
libzip                    1.5.1             h8f0db0c_1005    conda-forge
lz4-c                     1.9.2                h62dcd97_1    conda-forge
m2w64-expat               2.1.1                         2
m2w64-gcc-libgfortran     5.3.0                         6
m2w64-gcc-libs            5.3.0                         7
m2w64-gcc-libs-core       5.3.0                         7
m2w64-gettext             0.19.7                        2
m2w64-gmp                 6.1.0                         2
m2w64-libiconv            1.14                          6
m2w64-libwinpthread-git   5.0.0.4634.697f757               2
m2w64-xz                  5.2.2                         2
markupsafe                1.1.1            py38h9de7a3e_1    conda-forge
matplotlib                3.2.1                         0    conda-forge
matplotlib-base           3.2.1            py38h1626042_0    conda-forge
mkl                       2020.0                      166
mock                      4.0.2            py38h32f6830_0    conda-forge
msys2-conda-epoch         20160418                      1
nitro                     2.7.dev6             he025d50_1    conda-forge
nose2                     0.9.2                      py_0    conda-forge
numpy                     1.18.4           py38h72c728b_0    conda-forge
openjpeg                  2.3.1                h57dd2e7_3    conda-forge
openssl                   1.1.1g               he774522_0    conda-forge
owslib                    0.19.2                     py_1    conda-forge
pcre                      8.44                 h6538335_0    conda-forge
pdal                      2.1.0                h71384ab_4    conda-forge
pip                       20.1               pyh9f0ad1d_0    conda-forge
plotly                    4.7.0              pyh9f0ad1d_0    conda-forge
poppler                   0.87.0               h0cd1227_1    conda-forge
poppler-data              0.4.9                         1    conda-forge
postgresql                12.2                 he14cc48_1    conda-forge
proj                      7.0.0                haa36216_3    conda-forge
psycopg2                  2.8.5            py38hba49e27_1    conda-forge
pycparser                 2.20                       py_0    conda-forge
pygments                  2.6.1                      py_0    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyproj                    2.6.1.post1      py38h1dd9442_0    conda-forge
pyqt                      5.12.3           py38h7ae7562_3    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtchart                 5.12                     pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
pysocks                   1.7.1            py38h32f6830_1    conda-forge
python                    3.8.2           h5fd99cc_7_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python-pdal               2.3.3            py38h6a11f7f_0    conda-forge
python_abi                3.8                      1_cp38    conda-forge
pytz                      2020.1             pyh9f0ad1d_0    conda-forge
pyyaml                    5.3.1            py38h9de7a3e_0    conda-forge
qca                       2.2.1                hd7ce7fb_3    conda-forge
qgis                      3.12.2           py38h488fe58_0    conda-forge
qjson                     0.9.0             hd7ce7fb_1006    conda-forge
qscintilla2               2.11.2           py38h19e3e1c_2    conda-forge
qt                        5.12.5               h7ef1ec2_0    conda-forge
qtkeychain                0.10.0               hd7ce7fb_0    conda-forge
qtlocation                5.12.5               he025d50_0    conda-forge
qwt                       6.1.4             hd7ce7fb_1005    conda-forge
qwtpolar                  1.1.1                hd7ce7fb_7    conda-forge
requests                  2.23.0             pyh8c360ce_2    conda-forge
retrying                  1.3.3                      py_2    conda-forge
setuptools                46.1.3           py38h32f6830_0    conda-forge
sip                       4.19.22          py38hb99c5c2_0    conda-forge
six                       1.14.0                     py_1    conda-forge
sqlite                    3.30.1               hfa6e2cd_0    conda-forge
tbb                       2018.0.5             he980bc4_0
tiledb                    1.7.7                h0b90766_1    conda-forge
tk                        8.6.10               hfa6e2cd_0    conda-forge
tornado                   6.0.4            py38hfa6e2cd_0    conda-forge
urllib3                   1.25.9                     py_0    conda-forge
vc                        14.1                 h869be7e_1    conda-forge
vs2015_runtime            14.16.27012          h30e32a0_2    conda-forge
wheel                     0.34.2                     py_1    conda-forge
win_inet_pton             1.1.0                    py38_0    conda-forge
wincertstore              0.2                   py38_1003    conda-forge
xerces-c                  3.2.2             h6538335_1004    conda-forge
xz                        5.2.5                h2fa13f4_0    conda-forge
yaml                      0.2.4                he774522_0    conda-forge
zlib                      1.2.11            h2fa13f4_1006    conda-forge
zstd                      1.4.4                h9f78265_3    conda-forge


Details about conda and system ( conda info ):
     active environment : pdaltest
    active env location : C:\Users\ikmjo01\Anaconda3\envs\pdaltest
            shell level : 3
       user config file : C:\Users\ikmjo01\.condarc
 populated config files : C:\Users\ikmjo01\.condarc
          conda version : 4.8.3
    conda-build version : 3.18.11
         python version : 3.7.6.final.0
       virtual packages : __cuda=10.1
       base environment : C:\Users\ikmjo01\Anaconda3  (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\ikmjo01\Anaconda3\pkgs
                          C:\Users\ikmjo01\.conda\pkgs
                          C:\Users\ikmjo01\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\ikmjo01\Anaconda3\envs
                          C:\Users\ikmjo01\.conda\envs
                          C:\Users\ikmjo01\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.3 requests/2.22.0 CPython/3.7.6 Windows/10 Windows/10.0.17763
          administrator : False
             netrc file : None
           offline mode : False

Broken build latest v5.2.0 for Windows?

Issue: Referring to conda-forge/geonum-feedstock#6: I think the latest build of v5.2.0 for Windows (h6538335_1002) has a problem with respect to where shared data files are getting installed. I installed into a new env:

conda create -n proj4_520_cf_test python=3 proj4=5.2.0
conda activate proj4_520_cf_test

Shared datafiles (e.g. epsg, required by basemap) are installed directly into dir:

Anaconda3\envs\proj4_520_cf_test\Library\share

Shouldn't they rather be installed into:

Anaconda3\envs\proj4_520_cf_test\Library\share\proj

(which is also where basemap is looking for it)?


Environment (conda list):
$ conda list
# Name                    Version                   Build  Channel
ca-certificates           2019.3.9             hecc5488_0    conda-forge
certifi                   2019.3.9                 py37_0    conda-forge
openssl                   1.1.1b               hfa6e2cd_2    conda-forge
pip                       19.1.1                   py37_0    conda-forge
proj4                     5.2.0             h6538335_1002    conda-forge
python                    3.7.3                hb12ca83_0    conda-forge
setuptools                41.0.1                   py37_0    conda-forge
sqlite                    3.28.0               hfa6e2cd_0    conda-forge
vc                        14.1                 h21ff451_3    anaconda
vs2015_runtime            15.5.2                        3    anaconda
wheel                     0.33.4                   py37_0    conda-forge
wincertstore              0.2                   py37_1002    conda-forge

Details about conda and system ( conda info ):
$ conda info
     active environment : proj4_520_cf_test
    active env location : C:\Users\Jonas\Anaconda3\envs\proj4_520_cf_test
            shell level : 3
       user config file : C:\Users\Jonas\.condarc
 populated config files : C:\Users\Jonas\.condarc
          conda version : 4.6.14
    conda-build version : 3.18.1
         python version : 3.7.3.final.0
       base environment : C:\Users\Jonas\Anaconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/anaconda/win-64
                          https://conda.anaconda.org/anaconda/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/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\Jonas\Anaconda3\pkgs
                          C:\Users\Jonas\.conda\pkgs
                          C:\Users\Jonas\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Jonas\Anaconda3\envs
                          C:\Users\Jonas\.conda\envs
                          C:\Users\Jonas\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.6.14 requests/2.22.0 CPython/3.7.3 Windows/10 Windows/10.0.17134
          administrator : False
             netrc file : None
           offline mode : False

PROJ_LIB not set in Windows bash or powershell

I noticed some strange behavior with pyproj 1.9.6 using PROJ 5.2.0 on Windows and tracked it down to a problem with the activate scripts for bash and powershell (if meant to be supported). This doesn't seem to be a problem for newer versions of PROJ (greater than 5.2.0), but since not all of my dependencies were with newer versions of PROJ I'm a little stuck. I'm guessing PROJ >5.2 does a better job finding the PROJ directory? Or maybe there is a patch in the build to point it to the right place?

A simple python example:

conda create -y -n test python=3.7 pyproj rasterio cartopy gdal
conda activate test
from pyproj import Proj; pj = Proj({'proj': 'eqc', 'lon_0': 0.0, 'lat_0': 0.0})"

This will produce:

(test) PS C:\Users\User> python -c "from pyproj import Proj; pj = Proj({'proj': 'eqc', 'lon_0': 0.0, 'lat_0': 0.0})"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\User\Miniconda3\envs\test\lib\site-packages\pyproj\__init__.py", line 362, in __new__
    return _proj.Proj.__new__(self, projstring)
  File "_proj.pyx", line 129, in _proj.Proj.__cinit__
RuntimeError: b'major axis or radius = 0 or not given'

If you then set PROJ_LIB, it works fine. Powershell example:

Set-Item Env:PROJ_LIB "C:\Users\User\Miniconda3\envs\test\Library\share"

This is also happening for me on Travis CI for one of my projects where travis defaults to using git bash for Windows execution. I think the easiest fix may be to change the last elif of the activate.sh to an else here but it would have to be backported to PROJ 5.2.0 to fix the issue I'm seeing.

I'm not an expert on PROJ or Windows so let me know what doesn't make sense and what is unreasonable.


Environment (conda list proj):
$ conda list proj
# packages in environment at C:\Users\User\Miniconda3\envs\test:
#
# Name                    Version                   Build  Channel
proj4                     5.2.0             h6538335_1005    conda-forge
pyproj                    1.9.6           py37hfa6e2cd_1002    conda-forge

Proj prints out the batch code on CMD each time I execute a conda command

Issue: Each time I execute a successful conda command, it then prints the following code on the CMD. This is an examplary CMD output, I only entered the conda install command, rest was automatically:

(this_env) C:\>conda install qt
Collecting package metadata (current_repodata.json): done
Solving environment: done

# All requested packages already installed.

C:\>if exist C:\Users\myuser\.conda\envs\this_env\Library\share\proj\copyright_and_licenses.csv (
rem proj-data is installed because its license was copied over

)  else ()

(this_env) C:\>

This was first reported in conda/conda#9838. I was able to trace the content back to this file, which is why I decided to open this issue here too. For me it seems like a conda bug as well, because it should never print code on the cmd?

This did occur after updating to proj version 7.


Environment (conda list):
$ conda list
# Name                    Version                   Build  Channel
# Sorry, I had to censor a lot of packages because there were some company internal packages in there and I don't want to be doxxed
numpy                     1.18.1           py38ha749109_1    conda-forge
openjpeg                  2.3.1                h57dd2e7_3    conda-forge
openssl                   1.1.1f               hfa6e2cd_0    conda-forge
packaging                 20.1                       py_0    conda-forge
pandas                    1.0.3            py38hbe40bda_0    conda-forge
pcre                      8.44                 h6538335_0    conda-forge
pip                       20.0.2                     py_2    conda-forge
proj                      7.0.0                hfe17d32_2    conda-forge
pycodestyle               2.5.0                      py_0    conda-forge
pycparser                 2.20                       py_0    conda-forge
pygments                  2.6.1                      py_0    conda-forge
pylint                    2.4.4                    py38_0    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyproj                    2.6.0            py38h1d58662_1    conda-forge
pyqt                      5.12.3           py38h6538335_1    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
pysocks                   1.7.1            py38h32f6830_1    conda-forge
python                    3.8.2           h5fd99cc_5_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
pytz                      2019.3                     py_0    conda-forge
qt                        5.12.5               h7ef1ec2_0    conda-forge
requests                  2.23.0             pyh8c360ce_2    conda-forge
rope                      0.16.0                     py_0    conda-forge
rtree                     0.9.4            py38h7ad75cc_1    conda-forge
scipy                     1.3.2            py38h582fac2_0    conda-forge
setuptools                46.1.3           py38h32f6830_0    conda-forge
# And censored again, i think only the proj and python version should be relevant

Details about conda and system ( conda info ):
$ conda info
# Again had to remove some lines, sorry
          conda version : 4.7.12
    conda-build version : 3.18.8
         python version : 3.7.4.final.0
       virtual packages :
               platform : win-64
             user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Windows/10 Windows/10.0.17763
          administrator : False
             netrc file : None
           offline mode : False

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.