Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fiona Import Error #60

Closed
apiszcz opened this issue Aug 22, 2013 · 3 comments
Closed

Fiona Import Error #60

apiszcz opened this issue Aug 22, 2013 · 3 comments

Comments

@apiszcz
Copy link

apiszcz commented Aug 22, 2013

Windows, Python 2.7, ..?

ImportError: cannot import name string_types

Traceback (most recent call last):
File "E:\p\pythonlib\learn\gdaltest.py", line 9, in
import fiona
File "..\lib\fiona__init__.py", line 69, in
from six import string_types
ImportError: cannot import name string_types

@sgillies
Copy link
Member

Have you installed six and argparse? As it says in the README, you have to install these separately on Windows:

https://github.com/Toblerity/Fiona/blob/master/README.rst#requirements

@apiszcz
Copy link
Author

apiszcz commented Aug 22, 2013

yes, but apparently not correctly. I can import it, however when fiona
attempts to use it, I see the error.

On Thu, Aug 22, 2013 at 11:59 AM, Sean Gillies notifications@github.comwrote:

Have you installed six and argparse? As it says in the README, you have to
install these separately on Windows:

https://github.com/Toblerity/Fiona/blob/master/README.rst#requirements


Reply to this email directly or view it on GitHubhttps://github.com//issues/60#issuecomment-23101710
.

@sgillies
Copy link
Member

I'm closing this as it's not a Fiona bug. Once you get Fiona and six properly installed into the same Python 2.7 environment, it will work. I'm not a Windows user and so I'm not going to be able to help you troubleshoot. Sorry :(

http://www.lfd.uci.edu/~gohlke/pythonlibs/#six

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants