upgrade cython3 on ubuntu 18.04?

519 views
Skip to first unread message

richard kuenz

unread,
Jun 5, 2020, 9:05:18 AM6/5/20
to cython-users
Hello,

i'd like to use the svp4linux app on ubuntu 18.04.

the build instructions include ways to build mpv with vaporsynth support and to get vaporsynth support cython3 => 0.28 is needed however in Ubuntu repositories for 18.04 LTS only 0.26 is present.

How could i upgrade the cython3 package to successfully build mpv with vaporsynth support?


Tried with

sudo pip3 install cython3


but this would not function.


Thank you very much.

Stefan Behnel

unread,
Jun 5, 2020, 1:52:04 PM6/5/20
to cython...@googlegroups.com
Am 5. Juni 2020 13:45:40 MESZ schrieb richard kuenz:
>i'd like to use the svp4linux app on ubuntu 18.04.
>
>the build instructions include ways to build mpv with vaporsynth
>support
>and to get vaporsynth support cython3 => 0.28 is needed however in
>Ubuntu
>repositories for 18.04 LTS only 0.26 is present.
>
>How could i upgrade the cython3 package to successfully build mpv with
>vaporsynth support?
>
>Tried with
>
>sudo pip3 install cython3

Almost. Try cython instead of cython3.

Stefan

richard kuenz

unread,
Jun 6, 2020, 1:51:01 AM6/6/20
to cython-users
yes, thank , this i had

and resulted in

Cython version 0.29.19


however the building instructions ask for *cython3* and this package is also present in 18.04 so i guess it must be cython3 instead of cython?

sorry but iam no expert just trying to use the said program.

da-woods

unread,
Jun 6, 2020, 5:42:40 AM6/6/20
to cython...@googlegroups.com
I think you should interpret the instructions as "Cython built for Python3" (which you'll get if you use pip3 to install it).

Cython version 3 is in development, but the version numbers start with "3", not "0.28". So it doesn't mean that.
--

---
You received this message because you are subscribed to the Google Groups "cython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cython-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cython-users/1381b2fc-f283-4698-9f8b-9190157ac6b9o%40googlegroups.com.


Stefan Behnel

unread,
Jun 6, 2020, 8:01:22 AM6/6/20
to cython...@googlegroups.com
richard kuenz schrieb am 05.06.20 um 23:18:
> the building instructions ask for *cython3* and this package is
> also present in 18.04 so i guess it must be cython3 instead of cython?

Cython itself isn't Py2/Py3 version specific. It's usually just a tool that
you run with whatever Python version you have available. Some code might
have a direct dependency on it, though, so pip-install it into the Python
runtime that you use for running the software.

The reason why there is a "cython3" package in Ubuntu is (I think!) that it
allows the "cython" and "cython3" packages to depend on the python2 and
python3 packages respectively, so that you automatically get the right
Python installed with it if it's not there yet. But since you already seem
to have the Python version installed that you want, you really don't need
to care about that. And it does not affect pip/pip3 at all, since that has
its own version resolution and just installs the package into the Python
runtime that you started pip with.

Stefan

richard kuenz

unread,
Jun 6, 2020, 11:47:20 AM6/6/20
to cython-users
Yes, thank you very much, you are right, the guide states:

# Cython for Python3. !!! Vapoursynth requires Cython >= 0.28 !!!
sudo apt-get install cython3



so i guess that by installing the Cython via pip3 this requirement is satisfied.
The error i get (SvpTube not picking up links) must be then connected with some other step.

Thank you again Stefan Behnel and Da-Wood;


This is the newer guide but it won't suffice for 18.04 (at least on my computer)

https://www.svp-team.com/wiki/SVP:Linux

On Saturday, 6 June 2020 11:42:40 UTC+2, da-woods wrote:
I think you should interpret the instructions as "Cython built for Python3" (which you'll get if you use pip3 to install it).

Cython version 3 is in development, but the version numbers start with "3", not "0.28". So it doesn't mean that.



On 05/06/2020 22:18, richard kuenz wrote:
yes, thank , this i had

and resulted in

Cython version 0.29.19


however the building instructions ask for *cython3* and this package is also present in 18.04 so i guess it must be cython3 instead of cython?

sorry but iam no expert just trying to use the said program.

On Friday, 5 June 2020 15:05:18 UTC+2, richard kuenz wrote:
Hello,

i'd like to use the svp4linux app on ubuntu 18.04.

the build instructions include ways to build mpv with vaporsynth support and to get vaporsynth support cython3 => 0.28 is needed however in Ubuntu repositories for 18.04 LTS only 0.26 is present.

How could i upgrade the cython3 package to successfully build mpv with vaporsynth support?


Tried with

sudo pip3 install cython3


but this would not function.


Thank you very much.
--

---
You received this message because you are subscribed to the Google Groups "cython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cython...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages