[Baypiggies] Baypiggies Digest, Vol 151, Issue 5

Manu Suryavansh suryavanshi.manu at gmail.com
Sat May 26 02:56:00 EDT 2018


 Hi,
I was able to install Kivy on windows 10 and Python 3.6 (64bit). I
downloaded the whl from here - https://pypi.org/project/Kivy/#files. I also
installed kivy_examples - https://pypi.org/project/Kivy-examples/#files.

After this when I tried to run it it gave this error -

[CRITICAL          ] [Window      ] Unable to find any valuable Window
provider at all!.

So I found on SO
<https://stackoverflow.com/questions/40697876/kivy-unable-to-get-a-window-abort>
 that we also need to install these three packages (these must be installed
in administrator mode so on windows open cmd as administrator) -
pip install kivy.deps.sdl2 kivy.deps.glew pypywin32

After this I was able to run an example - (C:\users\user_name\Appdata\
Local\Programs\Python\Python36\share\kivy-example\demo\showcase\main.py)

python share\kivy-examples\demo\showcase\main.py

Also has there been a talk on Pytorch?

Regards,
Manu

On Fri, May 25, 2018 at 11:11 AM, <baypiggies-request at python.org> wrote:

> Send Baypiggies mailing list submissions to
>         baypiggies at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.python.org/mailman/listinfo/baypiggies
> or, via email, send a message with subject or body 'help' to
>         baypiggies-request at python.org
>
> You can reach the person managing the list at
>         baypiggies-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Baypiggies digest..."
>
>
> Today's Topics:
>
>    1.  Looking to Hire Python QA or Jupyter/R? (Glen Jarvis)
>    2.  Does anyone know Kivy? (Glen Jarvis)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 25 May 2018 13:12:30 -0400
> From: Glen Jarvis <glen at glenjarvis.com>
> To: Bay Piggies <baypiggies at python.org>
> Subject: [Baypiggies] Looking to Hire Python QA or Jupyter/R?
> Message-ID:
>         <TF1Bez5d0nC2mn1IFQrJvG-zQSl1Bh43C4uU1jFMYoBytuIvtTMC0V2X-
> bbBWzPSynhzOnih4OE85ZnYeoQoX3FpVslGVw9qZwwHq7fzXqU=@glenjarvis.com>
>
> Content-Type: text/plain; charset="utf-8"
>
> One of the things that we always try to do during our meetings is hook up
> people who are looking for work and people who are looking to hire.
>
> I didn't see anyone looking to hire last night, but there were at least
> two people looking for work.
>
> If you are looking to hire either of these positions, I will introduce you
> (off list). Please contact me off list and I'll forward the Pythonista's
> info to you.
>
> * Python/R/Jupyter
> * Software QA Contractor (experience w/ Apple and Intel)
>
> Kindest Regards,
>
> Glen Jarvis
> --
> I use these email security features:
> - PGP keys / Keybase:  https://keybase.io/glenjarvis
> - One name: https://onename.com/glenjarvis
> - ProtonMail (https://protonmail.com/) for end-to-end encryption
> - Lavabit (glenjarvis at lavabit.com) for end-to-end encryption
> - SPF, DKIM, and DMARC DNS (glenjarvis.com)
> - DMARC policy of 'reject' (to reject all mails that don't pass security)
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.python.org/pipermail/baypiggies/
> attachments/20180525/8389678d/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 25 May 2018 14:02:15 -0400
> From: Glen Jarvis <glen at glenjarvis.com>
> To: Bay Piggies <baypiggies at python.org>
> Subject: [Baypiggies] Does anyone know Kivy?
> Message-ID:
>         <_KXYjNAVI1OUqDf5RzeAv3CZgJuPs2t-4-LcSzQ-
> QE2H0N2UM7GF69EXwzUkVOkDAm4l5L3oGe8IBxmvUldp5pYXVA4JqMSxelNGoF6vXbo=@
> glenjarvis.com>
>
> Content-Type: text/plain; charset="utf-8"
>
> I've heard a lot of great rumblings about Kivy lately. Does any know this
> well enough (or want to know this well enough) to give a talk?
>
> Several people in the audience have asked me if someone was going to speak
> on this.
>
> I've not used it before but it looked super interesting. So, I created  a
> sandbox and checked to see what was involved (not reading any docs at all,
> but rolling up my sleeves and seeing what would come out):
>
> python3 -m venv venv
>
> source venv/bin/activate
>
> pip install --upgrade pip
>
> pip install kivy
>
> Discovered first dependency: `No module named 'Cython'`
>
> pip install Cython
>
> pip install kivy
>
> It looks like there may be some dependencies (possibly OS Dependencies).
> From this top level, I assume Kivy didn't have the Cython dependency in
> it's setup.py. There are probably other dependencies as well (and it could
> be that this simply is a Python 2.7 project and not yet Python 3 compatible
> (I didn't check)).  My five minute time-box is up. I imagine the install
> docs will help a person get started.
>
> I'm curious if others have installed Kivy. Has anyone tried to port an app
> to either an Android or iPhone? Has anyone built a desktop app?  How does
> it package - as an installable DMG for OSX for example?  Or, is this
> packaging left to the developer?
>
> I'd be very interested in a talk on the subject if someone is willing to
> make one...
>
> Output from my last (pip install kivy) before my timebox ran out:
>
>         cythoning /private/var/folders/35/lz6t83p56nd8td64ghzt12tm0000gn
> /T/pip-install-7ganudps/kivy/kivy/graphics/svg.pyx to
> /private/var/folders/35/lz6t83p56nd8td64ghzt12tm0000gn
> /T/pip-install-7ganudps/kivy/kivy/graphics/svg.c
>
>      Error compiling Cython file:
>
>      ------------------------------------------------------------
>
>      ...
>
>                      end = time()
>
>                      Logger.debug("Svg: Loaded {} in
> {:.2f}s".format(filename, end - start))
>
>                  finally:
>
>                      fd.close()
>
>          cdef void reload(self) except *:
>
>              ^
>
>      ------------------------------------------------------------
>
>      kivy/graphics/svg.pyx:469:9: Signature not compatible with previous
> declaration
>
>      Error compiling Cython file:
>
>      ------------------------------------------------------------
>
>      ...
>
>              cpdef flag_update(self, int do_parent=?, list _instrs=?)
>
>          ELSE:
>
>              cpdef flag_update(self, int do_parent=?)
>
>          cdef void flag_update_done(self)
>
>          cdef void set_parent(self, Instruction parent)
>
>          cdef void reload(self)
>
>                         ^
>
>      ------------------------------------------------------------
>
>      kivy/graphics/instructions.pxd:36:20: Previous declaration is here
>
>     building 'kivy.graphics.svg' extension
>
>     clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common
> -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/
> MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -I/Applications/Xcode.app/
> Contents/Developer/Platforms/MacOSX.platform/Developer/
> SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers
> -arch x86_64 -I/private/var/folders/35/lz6t83p56nd8td64ghzt12tm0000gn
> /T/pip-install-7ganudps/kivy/kivy/include -I/private/var/folders/35/
> lz6t83p56nd8td64ghzt12tm0000gn/T/pip-install-7ganudps/kivy/kivy/include
> -I/usr/local/include -I/usr/local/opt/openssl/include
> -I/usr/local/opt/sqlite/include -I/Users/glenjarvis/Desktop/kivy_example/venv/include
> -I/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/include/python3.6m
> -c /private/var/folders/35/lz6t83p56nd8td64ghzt12tm0000gn
> /T/pip-install-7ganudps/kivy/kivy/graphics/svg.c -o
> build/temp.macosx-10.13-x86_64-3.6/privat
>  e/var/folders/35/lz6t83p56nd8td64ghzt12tm0000gn
> /T/pip-install-7ganudps/kivy/kivy/graphics/svg.o
> -F/Applications/Xcode.app/Contents/Developer/Platforms/
> MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks
>
>     /private/var/folders/35/lz6t83p56nd8td64ghzt12tm0000gn
> /T/pip-install-7ganudps/kivy/kivy/graphics/svg.c:1:2: error: Do not use
> this file, it is the result of a failed Cython compilation.
>
>     #error Do not use this file, it is the result of a failed Cython
> compilation.
>
>      ^
>
>     1 error generated.
>
>      error: command 'clang' failed with exit status 1
>
>     ----------------------------------------
>
> Command "/Users/glenjarvis/Desktop/kivy_example/venv/bin/python3 -u -c
> "import setuptools, tokenize;__file__='/private/var/folders/35/
> lz6t83p56nd8td64ghzt12tm0000gn/T/pip-install-7ganudps/kivy/setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
> /private/var/folders/35/lz6t83p56nd8td64ghzt12tm0000gn
> /T/pip-record-ubo6z31o/install-record.txt --single-version-externally-managed
> --compile --install-headers /Users/glenjarvis/Desktop/
> kivy_example/venv/include/site/python3.6/kivy" failed with error code 1
> in /private/var/folders/35/lz6t83p56nd8td64ghzt12tm0000gn
> /T/pip-install-7ganudps/kivy/
>
> Cheers,
>
> Glen Jarvis
> --
> I use these email security features:
> - PGP keys / Keybase:  https://keybase.io/glenjarvis
> - One name: https://onename.com/glenjarvis
> - ProtonMail (https://protonmail.com/) for end-to-end encryption
> - Lavabit (glenjarvis at lavabit.com) for end-to-end encryption
> - SPF, DKIM, and DMARC DNS (glenjarvis.com)
> - DMARC policy of 'reject' (to reject all mails that don't pass security)
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.python.org/pipermail/baypiggies/
> attachments/20180525/4d602e19/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> https://mail.python.org/mailman/listinfo/baypiggies
>
>
> ------------------------------
>
> End of Baypiggies Digest, Vol 151, Issue 5
> ******************************************
>



-- 
Regards,
Manu Suryavansh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20180525/f942ce26/attachment-0001.html>


More information about the Baypiggies mailing list