Unable to install pyproj on mac pro m1
See original GitHub issueCode Sample, a copy-pastable example if possible
Not being able to install pyproj on an m1 mac using pip install pyproj
Here’s the error
Building wheels for collected packages: pyproj
Building wheel for pyproj (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyproj (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
PROJ_DIR is set, using existing PROJ installation..
running bdist_wheel
running build
running build_py
running build_ext
building 'pyproj._geod' extension
pyproj/_geod.c:704:10: fatal error: 'geodesic.h' file not found
#include "geodesic.h"
^~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyproj
Failed to build pyproj
ERROR: Could not build wheels for pyproj, which is required to install pyproject.toml-based projects
Problem description
I was successfully able to install proj using brew but can’t seem to get this to work
Installation method
- pip
Conda environment information (if you installed with conda):
Environment (
conda list
):
$ conda list proj
Details about
conda
and system ( conda info
):
$ junaidq1@gmail.com
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Impossible to install PYPROJ (M1 Mac mini Mac OS Monterey)
Hi, impossible to install pyproj. python3 -m pip install pyproj --user on a M1 Mac mini running Monterey 12.
Read more >Error installing geopandas in python on mac m1
I'm able to "brew install proj" successfully but I get an error on the "pip install pyproj" step. this is the traceback I...
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 >Installation - pyproj 3.4.1 documentation - GitHub Pages
The easiest methods for installing pyproj are: Use pip to install the binary wheels on PyPI: ... pyproj 3+ wheels do not include...
Read more >How to install Tensorflow on the Apple M1 Notebook
Meanwhile, I've managed to get Tensorflow working on a MacPro M1 - NO ... I'm getting a lenghty error but also cannot install...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
After reading the documentation about installing from source, the following worked for me:
pyproj==3.3.1
was just released and wheels shouldn’t be downloaded for Mac M1 anymore.This should work:
If it doesn’t please let us know.