Runtime error with python 3.10.0 - undefined symbol: _PyGen_Send
See original GitHub issueInstalling using pip
completes successfully, but trying to use the module fails.
>>> import geopandas
>>> world = geopandas.read_file(geopandas.datasets.get_path("naturalearth_lowres"))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/chaz/.local/lib/python3.10/site-packages/geopandas/io/file.py", line 166, in _read_file
_check_fiona("'read_file' function")
File "/home/chaz/.local/lib/python3.10/site-packages/geopandas/io/file.py", line 80, in _check_fiona
raise ImportError(
ImportError: the 'read_file' function requires the 'fiona' package, but it is not installed or does not import correctly.
Importing fiona resulted in: /home/chaz/.local/lib/python3.10/site-packages/fiona/ogrext.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send
CentOS 7 64bit Linux 3.10.0-1160.42.2.el7.x86_64 proj 8.1.1 gdal 3.3.2 fiona 1.8.20 python 3.10.0
Issue Analytics
- State:
- Created 2 years ago
- Reactions:9
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Runtime Error: Undefined Symbol - ADocLib
Runtime error with python 3.10.0 undefined symbol : PyGenSend #1043.Installing using pip completes successfully but trying to use the module fails.
Read more >1895315 – Cython generates Python 3.10 incompatible code ...
Bug 1895315 - Cython generates Python 3.10 incompatible code: undefined ... undefined symbol: _PyGen_Send error: Bad exit status from /var/tmp/rpm-tmp.
Read more >Import error of Python 3.10.6 / PyQt5.QtWidgets - Stack Overflow
I am trying to build a python application using QtWidgets. ... I get an error. ... undefined symbol: _ZdlPvm, version Qt_5.
Read more >runtime symbol lookup error - Google Groups
I try to use google-glog 0.3.3 in Linux Mint 17.1 as simple as follows, #include <glog/logging.h> int main(int argc, char* argv[]) ...
Read more >Issue 34028: Python 3.7.0 wont compile with SSL Support 1.1 ...
h for all versions of OpenSSL 1.1.0. Could not build the ssl module! Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with ......
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 FreeTop 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
Top GitHub Comments
Install from github Fiona-2.0.dev0 works for me.
python -m pip install git+https://github.com/Toblerity/Fiona.git
For the record, the issue with
_PyGen_Send
was discovered with https://github.com/cython/cython/issues/3876 and is fixed as of cython version 0.29.22