1 (edited by kapqa 18-02-2021 22:15:35)

Topic: Problem Python3.8 / Kubuntu 21.04

Hello ,

i have installed a newer Ubuntu /(kubuntu 21.04).

Problem is that it has Python3.9 (default) and Python3.10 and it does not seem to install Libpython3.8 via PPA.

Is there a quick solution for that or do i need to downgrade in order to be able to use SVPLinux on recent Kubuntu?

Thank you very much.

2 (edited by kapqa 19-02-2021 18:55:14)

Re: Problem Python3.8 / Kubuntu 21.04

actually, for some reason or another,

svptube would not function neither on kubuntu 20.04.

maybe i did something wrong during the installation?

the problem is , svptube would not show the link, would not parse the link somehow, although this time python3.8 (libpython3.8) is installed.

it is with Kubuntu (KDE) and Nvidia proprietary graphics driver.

Thank you very much.

EDIT: it seems to function after an reboot! Links are parsed correctly. Also the frame-output-dropping when moving window from on monitor to another seem fixed. Great!

Re: Problem Python3.8 / Kubuntu 21.04

it seems the upcoming Debian 11 (Bullseye) and Ubuntu are based on Python3.9 and not shipping with Python3.8.

Please let know on how to build on those OS, thank you very much.

Re: Problem Python3.8 / Kubuntu 21.04


Re: Problem Python3.8 / Kubuntu 21.04

thank you,

this seems feasible on ubuntu,
still have to find a way for debian 11.

Re: Problem Python3.8 / Kubuntu 21.04

download, build, install...

you probably shouldn't install not-yet-released Ubuntu if you don't know how to build things hmm

Re: Problem Python3.8 / Kubuntu 21.04

tried with this trick here to install python3.8 on debian 11
https://linuxize.com/post/how-to-instal … debian-10/

however, vapoursynth still points to python3 which is python3.9 sad

still a newbie,...

Re: Problem Python3.8 / Kubuntu 21.04

tried to switch to python3.8 with this help here

https://linuxconfig.org/how-to-change-f … bian-linux

but vaporsynth complains

make -j4
  CXXLD    libvapoursynth-script.la
  CXXLD    libexprfilter.la
  CXXLD    libvapoursynth_avx2.la
  CCLD     libeedi3.la
  CXXLD    libmiscfilters.la
  CCLD     libmorpho.la
  CXXLD    libremovegrain.la
  CCLD     libvinverse.la
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pythonrun.o): warning: relocation against `_Py_UnhandledKeyboardInterrupt' in read-only section `.text.unlikely'
/usr/bin/ld: /usr/local/lib/libpython3.8.a(capsule.o): relocation R_X86_64_PC32 against symbol `PyCapsule_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

Re: Problem Python3.8 / Kubuntu 21.04

if mpv & vapoursynth works via 3.9 then leave it
only svptube needs 3.8

Re: Problem Python3.8 / Kubuntu 21.04

make -j6
  CXX      src/core/libexprfilter_la-exprfilter.lo
  CYTHON   src/cython/vapoursynth.c
  CXX      src/vspipe/vspipe.o
  CXX      src/vsscript/libvapoursynth_script_la-vsscript.lo
  CXX      src/core/libvapoursynth_la-boxblurfilter.lo
  CXX      src/core/libvapoursynth_la-cachefilter.lo
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/rich/Programs/vapoursynth/src/cython/vapoursynth.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
  CXX      src/core/libvapoursynth_la-cpufeatures.lo
  CXX      src/core/libvapoursynth_la-genericfilters.lo
  CXX      src/core/kernel/libvapoursynth_la-cpulevel.lo
  CXX      src/core/kernel/libvapoursynth_la-generic.lo
  CC       src/core/kernel/libvapoursynth_la-merge.lo
src/core/kernel/merge.c: In function ‘vs_mask_merge_premul_word_c’:
src/core/kernel/merge.c:178: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas]
  178 | #pragma warning(push)
src/core/kernel/merge.c:179: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas]
  179 | #pragma warning(disable:4146)
src/core/kernel/merge.c:185: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas]
  185 | #pragma warning(pop)
  CC       src/core/kernel/libvapoursynth_la-planestats.lo
  CC       src/core/kernel/libvapoursynth_la-transpose.lo
  CXX      src/core/libvapoursynth_la-lutfilters.lo
  CC       src/core/libvapoursynth_la-mergefilters.lo
  CC       src/core/libvapoursynth_la-reorderfilters.lo
  CXX      src/core/libvapoursynth_la-settings.lo
  CC       src/core/libvapoursynth_la-simplefilters.lo
  CXX      src/core/libvapoursynth_la-textfilter.lo
  CXX      src/core/libvapoursynth_la-vsapi.lo
  CXX      src/core/libvapoursynth_la-vscore.lo
  CXX      src/core/libvapoursynth_la-vslog.lo
  CXX      src/core/libvapoursynth_la-vsresize.lo
  CXX      src/core/libvapoursynth_la-vsthreadpool.lo
  CXX      src/core/kernel/x86/libvapoursynth_la-generic_sse2.lo
  CC       src/core/kernel/x86/libvapoursynth_la-merge_sse2.lo
  CC       src/core/kernel/x86/libvapoursynth_la-planestats_sse2.lo
  CC       src/core/kernel/x86/libvapoursynth_la-transpose_sse2.lo
  CXX      src/core/kernel/x86/libvapoursynth_avx2_la-generic_avx2.lo
  CC       src/core/kernel/x86/libvapoursynth_avx2_la-merge_avx2.lo
  CC       src/core/kernel/x86/libvapoursynth_avx2_la-planestats_avx2.lo
  CC       src/filters/eedi3/libeedi3_la-eedi3.lo
  CXX      src/filters/misc/libmiscfilters_la-miscfilters.lo
  CC       src/filters/morpho/libmorpho_la-morpho.lo
  CC       src/filters/morpho/libmorpho_la-morpho_filters.lo
src/filters/misc/miscfilters.cpp: In function ‘void averageFramesFloatSSE2(const {anonymous}::AverageFrameData*, const VSFrameRef* const*, VSFrameRef*, int, const VSAPI*)’:
src/filters/misc/miscfilters.cpp:480:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
  480 |     for (int i = 0; i < numSrcs; ++i)
      |                     ~~^~~~~~~~~
  CC       src/filters/morpho/libmorpho_la-morpho_selems.lo
  CXX      src/filters/removegrain/libremovegrain_la-clense.lo
  CXX      src/filters/removegrain/libremovegrain_la-removegrainvs.lo
  CXX      src/filters/removegrain/libremovegrain_la-repairvs.lo
  CXX      src/filters/removegrain/libremovegrain_la-shared.lo
  CXX      src/filters/removegrain/libremovegrain_la-verticalcleaner.lo
  CC       src/filters/vinverse/libvinverse_la-vinverse.lo
  CC       src/filters/vivtc/libvivtc_la-vivtc.lo
  CC       src/cython/vapoursynth_la-vapoursynth.lo
  CXXLD    libvapoursynth-script.la
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pythonrun.o): warning: relocation against `_Py_UnhandledKeyboardInterrupt' in read-only section `.text.unlikely'
/usr/bin/ld: /usr/local/lib/libpython3.8.a(capsule.o): relocation R_X86_64_PC32 against symbol `PyCapsule_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:1190: libvapoursynth-script.la] Error 1
make: *** Waiting for unfinished jobs....