public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: Joel Breazeale <joel.breazeale@gmail.com>, cygwin@cygwin.com
Subject: Re: Python 3.9 Support for Fiona Package
Date: Tue, 12 Sep 2023 15:49:28 -0400	[thread overview]
Message-ID: <3ab41c2c-81d0-4526-bee3-bba08b7d8363@cornell.edu> (raw)
In-Reply-To: <CALUJTM7Y-w5O8_=o1RQb73TVq+fZWZSjS=X96H1pmVCJKiURPQ@mail.gmail.com>

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

      reply	other threads:[~2023-09-12 19:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-12  5:27 Joel Breazeale
2023-09-12 19:49 ` Ken Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ab41c2c-81d0-4526-bee3-bba08b7d8363@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    --cc=joel.breazeale@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).