Skip to content

Alpine with proj executable not found. Please set the PROJ_DIR variable #582

@maynewong

Description

@maynewong

Dockerfile

FROM python3.7-alpine

RUN apk add proj proj-dev
RUN pip install pyproj

get error

  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python /usr/local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp_8k0qhw3
       cwd: /tmp/pip-install-zzif953y/pyproj
  Complete output (1 lines):
  proj executable not found. Please set the PROJ_DIR variable.For more information see: https://pyproj4.github.io/pyproj/stable/installation.html
  ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python /usr/local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp_8k0qhw3 Check the logs for full command output.

apk add proj installed PROJ sucessful, but I can‘t get PROJ_DIR

Metadata

Metadata

Assignees

No one assigned

    Labels

    installation-issuesIssue related to installation problems.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions