Error: Expected in: flat namespace occuring out of the blue
See original GitHub issueHi. When I download pyproj (MAC M1 chip, Big Sur 11.0.1) on python in a VENV folder it works originally then always seems to come up with the following error:
Traceback (most recent call last):
line 3, in <module>
File "/Users/jackbarrett/Documents/Uni/2022sem1/Spatial info programming/code/A1(current)/venv/lib/python3.8/site-packages/pyproj/__init__.py", line 49, in <module>
import pyproj.network
File "/Users/jackbarrett/Documents/Uni/2022sem1/Spatial info programming/code/A1(current)/venv/lib/python3.8/site-packages/pyproj/network.py", line 10, in <module>
from pyproj._network import ( # noqa: F401 pylint: disable=unused-import
[ImportError: dlopen(/Users/jackbarrett/Documents/Uni/2022sem1/Spatial info programming/code/A1(current)/venv/lib/python3.8/site-packages/pyproj/_network.cpython-38-darwin.so, 2): Symbol not found: _proj_context_is_network_enabled](https://www.google.com/search?q=python%20ImportError:%20dlopen(/Users/jackbarrett/Documents/Uni/2022sem1/Spatial%20info%20programming/code/A1(current)/venv/lib/python3.8/site-packages/pyproj/_network.cpython-38-darwin.so,%202):%20Symbol%20not%20found:%20_proj_context_is_network_enabled)
Referenced from: /Users/jackbarrett/Documents/Uni/2022sem1/Spatial info programming/code/A1(current)/venv/lib/python3.8/site-packages/pyproj/_network.cpython-38-darwin.so
Expected in: flat namespace
in /Users/jackbarrett/Documents/Uni/2022sem1/Spatial info programming/code/A1(current)/venv/lib/python3.8/site-packages/pyproj/_network.cpython-38-darwin.so
Really frustrating me, any ideas. Thanks. I have the latest proj downloaded with brew and pyproj via pip
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
What does "Symbol not found / Expected in: flat namespace ...
It means the symbol wasn't found. · @immibis I think that gcc expected gcc code and it found clang code instead, and that...
Read more >macOS | Apple Developer Forums
It is a very simple app that just draws a blue screen but when ran on Catalina, ... not found: _TF_AllocateOutput, Expected in:...
Read more >XSL Transformations (XSLT) Version 3.0 - W3C
By default, dynamic errors occurring during streamed processing are fatal: they typically cause the transformation to fail immediately.
Read more >Dell EMC PowerEdge Servers Troubleshooting Guide
How to find out missing licenses. ... Troubleshooting blue screen errors or ... Damage due to servicing that is not authorized by Dell...
Read more >KEPServerEX Manual - Kepware
OS Error = '<error reason>'. 284. The OPC .NET server failed to start because it is not installed. Please rerun the installation. 284....
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
Yes, I also wondered about that.
So next step would be to ignore the wheel, right?
I’m getting a weird ascii decode error within pip, so I disable PEP517 for legacy build behaviour:
However I’m hitting the same issue as before:
ImportError ... pyproj/_network.pypy39-pp73-darwin.so, 0x0006): symbol not found in flat namespace '_proj_context_is_network_enabled'
Any solution to this? I am running into same issue with Mac M1 Monterey