Git Product home page Git Product logo

Comments (6)

liwenjie0728 avatar liwenjie0728 commented on May 18, 2024

i meet the same problem,Do you solve this problem?

from icloud_photos_downloader.

jondwan avatar jondwan commented on May 18, 2024

I am getting a similar error - running this on 'Ubuntu 14.04 LTS' and also have 'Python 2.7.6'

Traceback (most recent call last):
  File "./download_photos.py", line 13, in <module>
    from authentication import authenticate
  File "/home/jon/plex/icloud_photos_downloader/authentication.py", line 3, in <module>
    from pyicloud import PyiCloudService
  File "/usr/local/lib/python2.7/dist-packages/pyicloud/__init__.py", line 2, in <module>
    from pyicloud.base import PyiCloudService
  File "/usr/local/lib/python2.7/dist-packages/pyicloud/base.py", line 19, in <module>
    from pyicloud.services import (
  File "/usr/local/lib/python2.7/dist-packages/pyicloud/services/__init__.py", line 7, in <module>
    from pyicloud.services.account import AccountService
  File "/usr/local/lib/python2.7/dist-packages/pyicloud/services/account.py", line 31, in <module>
    @six.python_2_unicode_compatible
AttributeError: 'module' object has no attribute 'python_2_unicode_compatible'

from icloud_photos_downloader.

evenwebb avatar evenwebb commented on May 18, 2024

I have also been having the same problem.

Same error, OS and Python as @jondwan

from icloud_photos_downloader.

ndbroadbent avatar ndbroadbent commented on May 18, 2024

I've been able to solve some pip issues by running sudo pip uninstall pyicloud, and then running sudo pip install -r requirements.txt.

Could you please run /usr/bin/env python --version, and make sure that returns the correct version of Python?

from icloud_photos_downloader.

jondwan avatar jondwan commented on May 18, 2024

My version of python is 2.7.6 - i tried the above with no luck

from icloud_photos_downloader.

ndbroadbent avatar ndbroadbent commented on May 18, 2024

Hello, I've decided to copy my pyicloud fork into this project (under ./vendor/pyicloud-0.9.1.zip), and I've updated the requirements.txt to point to this zip file.

First, please uninstall any existing versions of pyicloud: sudo pip uninstall pyicloud. Then confirm it's not installed by running pip list | grep pyicloud (output should be empty.)

Then you can install the fixed version by running: sudo pip install -r requirements.txt.

Finally, running pip list | grep pyicloud should show:

$ pip list | grep pyicloud
pyicloud                      0.9.1

There's a few different ways to install Python 2 or 3, and different versions of pip. So make sure you're using the right version of pip. (On my system, I have to run pip3 for the Python 3 version.)

Closing this for now, but please let me know if anyone is still running into issues, and I'll try to help you figure it out!

from icloud_photos_downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.