Python Forum
pyproj Issue - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: pyproj Issue (/thread-24013.html)



pyproj Issue - OldSubSailor - Jan-27-2020

Howdy,
I do not know where this goes, so I will try asking here, nor do really know what I am asking. I ran a python install script for Ortho4XP, and in the past it worked just fine. I had to reinstall things and based on the below, I think that pyproj was installed.
Building wheels for collected packages: pyproj
Building wheel for pyproj (PEP 517) ... done
Created wheel for pyproj: filename=pyproj-2.4.2.post1-cp38-cp38-macosx_10_9_x86_64.whl size=385564 sha256=5590f032c922289e6cd25a8292f300631f29d4c3cbf3d275893fcd63f46c4afe
Stored in directory: /private/var/folders/81/dknbj9t122v60nzlhfx5sspc0000gn/T/pip-ephem-wheel-cache-tw9j0q8o/wheels/cd/4d/b5/3ee84377669dbd035549164debd46ef4b88baabb8c99f8900e
Successfully built pyproj


Seeing as how things worked a while ago, I am led to believe that pyproj.crs was installed as part of this process. However, now I get an error messages that reports it as "missing":
Traceback (most recent call last):
File "Ortho4XP_v130.py", line 9, in <module>
import O4_Imagery_Utils as IMG
File "./src/O4_Imagery_Utils.py", line 14, in <module>
import O4_Geo_Utils as GEO
File "./src/O4_Geo_Utils.py", line 2, in <module>
import pyproj
File "/usr/local/lib/python3.7/site-packages/pyproj/__init__.py", line 81, in <module>
from pyproj.crs import CRS # noqa: F401
ModuleNotFoundError: No module named 'pyproj.crs'

I tried doing a command line search for pyproj.crs, and it does not appear to anywhere.

I am wondering if there was some sort of update to pyproj and the pyproj.crs module got left out.
I would appreciate your help.