ModuleNotFoundError: No module named 'pyproj._network'

See original GitHub issue

My answers begin with “–”.

Error is that, I got : “ModuleNotFoundError: No module named ‘pyproj._network’”

  1. I install pyproj as follows, in Windows shell:

pip install pyproj Requirement already satisfied: pyproj in c:\users\mirouser\appdata\local\programs\python\python37\lib\site-packages (3.2.1) Requirement already satisfied: certifi in c:\users\mirouser\appdata\local\programs\python\python37\lib\site-packages (from pyproj) (2021.5.30)

  1. After import pyproj, I’ve got:

import pyproj Traceback (most recent call last): File “<stdin>”, line 1, in <module> File “C:\Users\Mirouser\AppData\Local\Programs\Python\Python37\Lib\site-packages\pyproj_init_.py”, line 49, in <module> import pyproj.network File “C:\Users\Mirouser\AppData\Local\Programs\Python\Python37\Lib\site-packages\pyproj\network.py”, line 10, in <module> from pyproj._network import ( # noqa: F401 pylint: disable=unused-import ModuleNotFoundError: No module named ‘pyproj._network’

Installation method/steps

  • Installation method: – pip
  • How did you install PROJ? Where is it installed? – on Windows, via CMD (shell)
  • Please provide all commands/steps you used to install pyproj and PROJ – pip install pyproj

Environment Information

  • pyproj version you are attempting to install – 3.2.1
  • PROJ version (Execute proj command and give version here.) – NameError: name ‘proj’ is not defined
  • Python version (python -c "import sys; print(sys.version.replace('\n', ' '))") – 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
  • Operation System Information (python -c "import platform; print(platform.platform())") – Windows-10-10.0.19041-SP0

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
snowman2commented, Apr 28, 2022
1reaction
snowman2commented, Apr 28, 2022

From: https://pyproj4.github.io/pyproj/stable/installation.html

Windows wheels are from: https://www.lfd.uci.edu/~gohlke/pythonlibs/

Many binaries depend on numpy+mkl and the current Microsoft Visual C++ Redistributable for Visual Studio 2015-2022 for Python 3, or the Microsoft Visual C++ 2008 Redistributable Package x64, x86, and SP1 for Python 2.7.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'pyproj.crs. ...
I am trying to import a networkx graph object as a pickle using nx.read_gpickle, and am getting an error that pyproj.crs package does...
Read more >
ImportError: 'No module named pyproj' - python
I'm running Mac OS X with native Python 2.6.1 installed. Later today installed GDAL complete pkg, and added the program to the shell...
Read more >
getting error after install: "ImportError: No module named ...
Any thoughts? I ran the following: clone github repo or download source release at http://python.org/pypi/pyproj. python setup.py build ...
Read more >
ModuleNotFoundError: No module named 'pyproj'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'pyproj' How to remove the ModuleNotFo.
Read more >
pyproj4-pyproj/community
Getting "ModuleNotFoundError: No module named 'pyproj._network'" when importing the pyproj for further use. Can anyone tell me the exact issue ...
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