Installation module 'pyproj' - 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: Installation module 'pyproj' (/thread-41675.html) |
Installation module 'pyproj' - QuentinR - Feb-28-2024 Hello everybody, I have an issue with the module 'pyproj'. I installed it with the command prompt. C:\------------------\Local\Programs\Python\Python38-32>pip install pyproj Requirement already satisfied: pyproj in c:\------------------\local\programs\python\python38-32\lib\site-packages (3.5.0) Requirement already satisfied: certifi in c:\------------------\appdata\local\programs\python\python38-32\lib\site-packages (from pyproj) (2024.2.2) At the begining of my programm i write : import pyproj But when I run, I have this message : " ModuleNotFoundError: No module named 'pyproj' " I don't see how I can fix it ! Thanks a lot ! Quentin RE: Installation module 'pyproj' - snippsat - Feb-28-2024 From command line(do this) eg cmd: # Check Python C:\>python --version Python 3.12.0 # Check pip C:\>pip --version pip 23.2.1 from C:\Python312\Lib\site-packages\pip (python 3.12) # Install C:\>pip install pyproj --upgrade Collecting pyproj ...... Downloading pyproj-3.6.1-cp312-cp312-win_amd64.whl (6.1 MB) ---------------------------------------- 6.1/6.1 MB 10.8 MB/s eta 0:00:00 Installing collected packages: pyproj Successfully installed pyproj-3.6.1 # Test that it work C:\>python Python 3.12.0 (tags/v3.12.0:0fb18b0, Oct 2 2023, 13:03:39) [MSC v.1935 64 bit ( AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import pyproj >>> pyproj.__version__ '3.6.1' >>> exit() C:\>So if work like this from command line and not eg a Editor/Ide. Then you most give path to correct Python Interpreter in Editor/Ide all has option for this.So your path is c:\------------------\local\programs\python\python38-32\python to correct Python Interpreter.Also Python 3.8 is starting to get old,you should upgrade to eg Python 3.12. |