Pyside2: pip install vs. building from source

373 views
Skip to first unread message

Brent Villalobos

unread,
Dec 13, 2019, 2:07:26 PM12/13/19
to vfx-platfo...@googlegroups.com
We're building packages for the VFX2019 platform and I'm currently encountering issues with building pyside2-5.12.  As a more general question, how are you all consuming pyside2?  Is anyone building it from source or is everyone consuming the wheel files from pypi?

I followed the instructions on this page for building pyside2-5.12 from source:

Towards the end of the build, I run into this error:
**Skiping copy tree /usr/pic1/work/CM-14954/pyside/build/gcc-6.3/temp/pyside-setup/pyside2_install/py2.7-qt5.12.6-64bit-release/lib/python2.7/site-packages/pyside2uic to /usr/pic1/work/CM-14954/pyside/build/gcc-6.3/temp/pyside-setup/build/lib.linux-x86_64-2.7/pyside2uic. Source does not exists. filter=None. ignore=None.

The last time I built pyside2 from source (5.6), it built just fine.  I don't see any bug tickets about this so I think I'm doing something wrong.  Has anyone else encountered this build issue?  Should I even be attempting to build from source or is the recommended way of using pyside2 doing a pip install?

Aloys Baillet

unread,
Dec 13, 2019, 2:14:06 PM12/13/19
to vfx-platform-discuss
Hi Brent,

I believe there's an issue when installing PySide in "parallel", there's a race condition somewhere in their cmake setup...
I've got a branch of the ASWF Docker that should be merged soon that builds Qt and PySide from source with the correct compilers on Linux: https://github.com/aloysbaillet/aswf-docker/blob/split-packages/scripts/base/build_pyside.sh

Cheers,

Aloys

Brent Villalobos

unread,
Dec 13, 2019, 3:07:24 PM12/13/19
to Aloys Baillet, vfx-platform-discuss
Thanks Aloys.  After looking at your build script, I tried building the source from the download tarball, not from the github repository clone as the instructions referenced.  That makes all the difference and the builds are successful now.
-Brent

--
You received this message because you are subscribed to the Google Groups "vfx-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vfx-platform-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vfx-platform-discuss/218a3f39-52d0-43fb-8bdc-229ce02bbcf6%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages