Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to install cython for python3.x .I have an ubuntu installation with python 2.6, 2.7 and 3.2 on it. Trying to apt-get the cython package installs pymodules only in 2.x versions. Is there a way to target a specific version?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

According to the Cython Wiki, you have a few choices for installing. One of them is:

sudo apt-get install python-dev build-essential

You can also download the latest version from Cython. Just untar/unzip the package, and then run (as superuser/sudo/root):

python install
share|improve this answer
The apt-get command did not install cython. I suppose that I should browse the cython source code for available options. As for the second, the python alias is bound to python2.7, should I try something like python3.2 install ? – kaiseroskilo Feb 11 '12 at 19:11
@kaiseroskilo you could try that, I don't believe it matters, it seems – Simon Sheehan Feb 11 '12 at 19:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.