Python 3.9 Support for Fiona Package

Ken Brown kbrown@cornell.edu
Tue Sep 12 19:49:28 GMT 2023


On 9/12/2023 1:27 AM, Joel Breazeale via Cygwin wrote:
> 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",

This file appears to be part of Python for Windows, not Cygwin's Python. 
  Do you have an environment variable set that's causing python to 
search /cygdrive/c/Python39/Lib/site-packages?

Ken


More information about the Cygwin mailing list