question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proj executable not found. Please set PROJ_DIR variable.

See original GitHub issue

I am installing pyproj in docker with RUN pip install -U pyproj ,but error occurred as below

Collecting pyproj
  Downloading https://files.pythonhosted.org/packages/7f/d9/62db3608c734fdd02cb5113a89f377a8b012d14beaee6525afc029b590d4/pyproj-2.1.2.tar.gz (492kB)
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  Complete output from command /usr/bin/python /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpgCAiiM:
  Proj executable not found. Please set PROJ_DIR variable.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
MikeDoescommented, Mar 14, 2022

Having the same issue currently

0reactions
snowman2commented, Mar 27, 2019

Feel free to reopen if your issue persists. Closing as resolution found.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linux pip install gives "Proj executable not found. Please set ...
Linux pip install gives "Proj executable not found. Please set PROJ_DIR variable." #477 ... installation-issues Issue related to installation ...
Read more >
PyProj package installation PROJ_DIR variable - Stack Overflow
I am attempting to install pyproj , although am getting a Proj executable not found. Please set PROJ_DIR variable error.
Read more >
Installation - pyproj 3.5.0.dev0 documentation - GitHub Pages
This enables installing pyproj when the PROJ executables are not present but the header files exist. PROJ_DIR#. This is the path to the...
Read more >
Solving pyproj install error — ERROR: PROJ_DIR dir not ...
When I tried to install psycopg2, I faced this problem. ( in mac pro M1) ld: library not found for -lssl clang: error:...
Read more >
Unable to install proj related Python packages in a Linux ...
Please set the PROJ_DIR variable. For more information see: https://pyproj4.github.io/pyproj/stable/installation.html ---------- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found