Python 3.9 Support for Fiona Package

Joel Breazeale joel.breazeale@gmail.com
Tue Sep 12 05:27:57 GMT 2023


I am attempting to use the fiona package.  This code works on Python on a
Linux box.  The code starts out:

#!/usr/bin/python
import sys
import fiona
import shapely
import os
. . .


The error I'm getting from the import is:

Traceback (most recent call last):
  File "/home/Joel/bin/inshape1.py", line 3, in <module>
    import fiona
  File "/cygdrive/c/Python39/Lib/site-packages/fiona/__init__.py", line 46,
in <module>
    _delvewheel_init_patch_1_3_7()
  File "/cygdrive/c/Python39/Lib/site-packages/fiona/__init__.py", line 34,
in _delvewheel_init_patch_1_3_7
    os.add_dll_directory(libs_dir)
AttributeError: module 'os' has no attribute 'add_dll_directory'


I am looking for advice to get past this problem.  Thank you!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 88867 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20230912/b4cc3122/attachment-0001.obj>


More information about the Cygwin mailing list