Python Forum
Installation module 'pyproj'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installation module 'pyproj'
#1
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
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  pyproj Issue OldSubSailor 0 1,612 Jan-27-2020, 07:09 PM
Last Post: OldSubSailor
  [Python 3.6.4/Windows] Problem with module installation and SSL didier31 3 20,723 Feb-20-2018, 08:57 PM
Last Post: sparkz_alot
  Module Dependency installation error draems 10 10,268 Feb-12-2017, 08:18 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020