Code Monkey home page Code Monkey logo

Comments (8)

beaufour avatar beaufour commented on June 2, 2024

Hi

The easiest way to install the script is via pip or easy_install. I would suggest pip where you can just do

> pip install flickr_download

https://pip.pypa.io/en/stable/quickstart/

from flickr-download.

emmtte avatar emmtte commented on June 2, 2024

Thanks for your help but version PyYAML==3.11 give me error
I use a Raspberry Pi and have this error

Collecting pyyaml==3.11
  Using cached PyYAML-3.11.zip
Installing collected packages: pyyaml
  Running setup.py install for pyyaml ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-to2_8ufy/pyyaml/setup.py';f=ge
tattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --recor
d /tmp/pip-mj9baz9w-record/install-record.txt --single-version-externally-managed --compile:

Could you please change your setup.py with PyYAML==3.12 because this version work
Thanks

from flickr-download.

beaufour avatar beaufour commented on June 2, 2024

Ah. I'll have to test 3.12 first, but you can install it locally if you just check out the source, edit setup.py to use that version, and then do python setup.py install. Does that work for you?

from flickr-download.

emmtte avatar emmtte commented on June 2, 2024

No not working with lot of errors.

Installed /usr/local/lib/python2.7/dist-packages/flickr_download-0.2.16-py2.7.egg
Processing dependencies for flickr-download==0.2.16
Searching for PyYAML==3.12
Reading https://pypi.python.org/simple/PyYAML/
Best match: PyYAML 3.12
Downloading https://pypi.python.org/packages/6b/f0/a0250248ea260d55748fff586d89a32afbb22656f4498b08d2636a48d4ec/PyYAML-3.12.zip#md5=aa5e762e79b19bb80dbcf04f82178832
Processing PyYAML-3.12.zip
Writing /tmp/easy_install-4J_iGP/PyYAML-3.12/setup.cfg
Running PyYAML-3.12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-4J_iGP/PyYAML-3.12/egg-dist-tmp-lF8CFJ
In file included from ext/_yaml.c:271:0:
ext/_yaml.h:6:0: warning: "PyUnicode_FromString" redefined
 #define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
 ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:281:0: note: this is the location of the previous definition
 # define PyUnicode_FromString PyUnicodeUCS4_FromString
 ^

from flickr-download.

beaufour avatar beaufour commented on June 2, 2024

based on #20 it seems like you solved your problems?

from flickr-download.

emmtte avatar emmtte commented on June 2, 2024

Not solve on Raspberry Pi
I use your script on google cloud shell by default

from flickr-download.

beaufour avatar beaufour commented on June 2, 2024

I changed to PyYAML in version v0.2.16, which is also uploaded to PyPi now.

from flickr-download.

emmtte avatar emmtte commented on June 2, 2024

Ok, thanks again I need to try this

from flickr-download.

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.