Skip to content

import six.moves.copyreg as copyreg error #91

Description

@Congee

ENV: Mac OS X 10.10, System shipped Python 2.7, six 10.10.0
In this file, I need to replace import six.moves.copyreg as copyreg with from six.moves import copyreg
/Library/Python/2.7/site-packages/google/protobuf/internal/python_message.py

Activity

  1. ebrevdo commented on Nov 10, 2015

    @ebrevdo
    Contributor

    Our current suggestion for dealing with incompatible versions of six is to either use a brew install of python, or install the tensorflow package inside a virtualenv. The virtualenv will guarantee that you install and see the correct version of six. See common problems

  2. Congee commented on Nov 11, 2015

    @Congee
    Author

    Thanks for your advice. :D

  3. added a commit that references this issue on Mar 9, 2016
  4. added a commit that references this issue on Jun 28, 2017
  5. samin-batra commented on Nov 12, 2017

    @samin-batra

    When I try to run the classify_image.py file, it shows an error that six.moves module is not found, even though I have the latest version of the module 'six' installed.
    Can anyone help?

  6. added a commit that references this issue on Nov 5, 2018
  7. added 2 commits that reference this issue on Dec 6, 2019
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