Skip to content

Issue importing _thread in rrule.py #9

Closed

Description

@cgrin

The following code on line 14 of rrule.py

from six.moves import _thread 

Is resulting in an import error on OS X Yosemite in Python 2.7.6. Reverting to

import thread as _thread

results in a working dateutil.

Activity

  1. jarondl commented on Dec 17, 2014

    @jarondl
    Member

    What version of six do you have? Might be related to #6

  2. cgrin commented on Dec 17, 2014

    @cgrin
    Author

    A ha! pip had installed 1.8 to /Library/Python/2.7/site-packages, but version 1.4 was being sourced from /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python.

  3. WangWenchao commented on May 9, 2015

    @WangWenchao

    I meet this today, and i have install six 1.9.0 ,how to resolve?

  4. jarondl commented on May 12, 2015

    @jarondl
    Member

    @WangWenchao , can you try to run this command and tell us the output?

    python -c 'import six; print(six.__version__)'
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions