1

I need an specific version of python in my host.

I know deadsnakes ppa but, but cosmic repository branch is not available.

Are there any alternative?

  • You might be able to compile it yourself locally rather easily with pyenv. – Byte Commander Feb 12 '19 at 13:00
  • I'm currently using the 18.04 version... I hope everyithing goes ok. – ssoto Feb 19 '19 at 7:37
1

I'd give Miniconda a try, been using it for months and it's awesome. You can install almost any version of Python on virtual envs, without messing with the system itself or the vanilla Python installed on your Ubuntu.

Just download the Miniconda3 sh script installer for Linux and execute it on a terminal, because it will ask some questions like where to install it and so on: https://docs.conda.io/en/latest/miniconda.html

| improve this answer | |
  • I'm not sure miniconda features. Are you using it to use pip install dependencies too? – ssoto Mar 21 '19 at 12:18
  • @ssoto yes, it works perfectly fine. Just connect to a desired virtual env and running pip will use the pip of that environment. You can also install dependencies through Conda, but not all of them are available through there. – David Lor Mar 22 '19 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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