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

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to