Python: Cómo instalar Python 3.6 en MacOs y Linux

Llevábamos mucho tiempo sin publicar ningún tutorial porque hemos andado muy liados y hemos estado aprendiendo nuevos lenguajes y tecnologías para ofreceros nuevo tutoriales dicho esto empecemos con la nueva serie de tutoriales de Python.

Hoy lo que os vamos a enseñar hoy aquí es a instalar Python 3.6 en MacOs y Linux.

Primero comprobaremos que versión tenemos instalada en nuestra máquina, si es que hay alguna, para ello abriremos el terminal y teclearemos pythonversion.

Imagen del terminal de MacOs

Si como aparece aquí nuestra versión es 2.x.x os aconsejamos instalar la versión 3.x.x, aunque son totalmente diferentes la una de la otra, así que os vamos a enseñar cómo hacerlo.


Primero para instalar debemos ir a la página de descargas del lenguaje y le daremos a descargar la última versión estable que aparezca en la página de descargas oficial (en el momento de escribir este tutorial es la 3.6.4).

Una vez terminada la descarga, pincharemos en el archivo .pkg descargado y seguiremos los pasos habituales de instalación. Cuando termine la instalación podemos volver al Terminal para comprobar que todo ha ido bien. Volveremos a teclear pythonversion y veremos que … no ha cambiado nada: el Terminal nos sigue diciendo que tenemos la versión 2.X.X. ¿Qué hemos hecho mal? Nada. Simplemente ya tenemos dos versiones del lenguaje pero dado que la versión 2 sigue siendo la versión por defecto, al escribir python a secas estamos invocando a la versión 2.X.X del lenguaje. Si queremos invocar la nueva versión que hemos instalado tendremos que escribir:

Con este comando veremos si hemos completado la instalación correctamente,la versión que nos debería devolver el terminal es las 3.6.4. Hasta aquí buen trabajo si lo has conseguido.

Además de esto instalaremos pip que es un sistema de gestión de paquetes utilizado para instalar y administrar paquetes en Python, de la siguiente forma:

Y podemos comprobar que se ha instalado correctamente con el siguiente comando: 


Para la instalación en Linux tomamos como referencia Ubuntu y la instalaremos mediante comandos del terminal.

El primer paso para ello es instalar los paquetes necesarios para poder instalarlo en nuestra máquina:

El segundo paso para continuar con nuestra instalación es descargarlo de su página oficial para ello nos moveremos a la carpeta src dentro de la carpeta usr y descargaremos el archivo .tgz que contiene el compilador.

En caso de no tener instalado wget tendremos que ejecutar antes el siguiente comando: 

Después de esto lo descomprimiremos: 

El siguiente paso es proceder a su compilación en el sistema: 

Por último comprobaremos que la instalación se ha efectuado correctamente ejecutando el comando: 

Esto también configurará pip para la instalación futura de módulos del lenguaje y podemos comprobar su instalación de la siguiente forma:  

Bueno y con esto estará finalizada la instalación también en Linux.

Hasta aquí llega el primer tutorial de nuestra serie de Python, en el próximo tutorial os enseñaremos que son los entornos virtuales y como utilizarlos para trabajar con este lenguaje tan útil. Si queréis también podéis visitar nuestra sección de tutoriales para ver nuestros anteriores entradas sobre el nuevo lenguaje oficial de Android Kotlin.


Creado por

Iván Fernández

69 comentarios en “Python: Cómo instalar Python 3.6 en MacOs y Linux

  1. Jerrold

    My partner and I absolutely love your blog and find almost all of your
    post's to be just what I'm looking for. Do you offer guest
    writers to write content for yourself? I wouldn't mind producing
    a post or elaborating on a few of the subjects you write about here.
    Again, awesome weblog!

  2. Rene

    It's difficult to find well-informed people for this subject,
    however, you sound like you know what you're talking about!


    What's up, I check your blog regularly. Your story-telling style is awesome,
    keep it up!


    Hi, i think that i saw you visited my web site thus i came to “return the favor”.I'm attempting to find things to enhance my site!I
    suppose its ok to use some of your ideas!!

  5. Genesis

    Simply desire to say your article is as astounding.
    The clearness in your post is simply excellent and i could assume you are
    an expert on this subject. Fine with your permission allow
    me to grab your RSS feed to keep updated with forthcoming post.

    Thanks a million and please continue the gratifying work.

  6. Neuinfektionen leben.

    Ahaa, its good conversation regarding this article at this
    place at this weblog, I have read all that, so now me also commenting here.

  7. 바카라사이트

    Good web site you have got here.. It's hard to find high quality writing like yours nowadays.
    I truly appreciate individuals like you! Take care!!

  8. help writing essay

    Help with scholarship essays <a href=""></a&gt; i need help on writing
    an essay

  9. Pingback: cialis in action

  10. Pingback: augmentin in china

  11. Pingback: cialis samples

  12. Pingback: roman viagra

  13. Pingback: viagra for sale

  14. Pingback: side effects to cephalexin 500 mg

  15. Pingback: ciprofloxacin for gum infection

  16. Pingback: does oxybutynin work for men

  17. Pingback: long term effects of tizanidine

  18. Pingback: aripiprazole dopamine agonist

  19. cbd oil near me

    Cannabidiol, or CBD as it is likewise understood, is a crucial active ingredient in organic marijuana.

    Cannabidiol is called an extremely effective natural treatment
    for a selection of disorders including cancer,
    seizures, nausea or vomiting, AIDS, stress and anxiety and also glaucoma.
    It has actually been found to efficiently relieve the signs of queasiness, radiation treatment as well as menopause.
    The vast majority of medical cannabis users do not recognize concerning this obscure
    yet extremely helpful herb, not to mention how to get it.
    If you have been recommended making use of cannabidiol, find out a few things about this miraculous substance prior to you acquire it from the regional medication store.

    Here is my blog post :: <a href="">cbd oil near me</a>

  20. Pingback: does allopurinol affect the kidneys

  21. cbd oil products

    Can you believe that there are several CBD products
    on the market today that are likely to help people who have chronic diseases
    such as cancer, HIV/AIDS, MS, Leukemia, depression, epilepsy,
    and more? Well, there are really some products
    out there that are thought to assist these conditions, nonetheless it should be observed that despite the fact that
    the statements may be real, the science behind CBD isn't perfectly
    known at the moment. However, a lot of leading medical centers around the globe are leaning towards CBD as a potential "cure" for
    several sorts of ailments. The only problem is, we just don't know how it
    works or what it will do for us. Hopefully, within the next several years we will get more information.

    My web page :: <a href="">cbd oil products</a>

  22. cbd tincture

    CBD tinctures have quickly become a popular alternative to pharmaceutical medications for conditions like arthritis, chronic pain, nausea,
    seizures and much more. Because they're completely natural, in addition they carry no unwanted effects and can not damage
    the liver or other organs as some other pharmaceuticals can do.
    Since CBD can be an ingredient within nature,
    it bears no adverse unwanted effects, making it among the safest prescription medications available today.
    This is especially true when using CBD as a natural treatment for an ailment since CBD is so effective at fighting illness
    at its root.

    Also visit my webpage <a href="">cbd tincture</a>

  23. Pingback: amiodarone alternatives

  24. Pingback: amitriptyline buy

  25. viagra generic

    Viagra canada <a href=""></a&gt; best
    place to buy viagra online

  26. over the counter viagra

    Is viagra government funded <a href=""></a&gt; how
    to use viagra for best results

  27. Pingback: amlodipine 5 mg cost

  28. natural viagra for men

    How long does viagra stay in your system <a href=""></a&gt; cialis vs

  29. Pingback: ampicillin vs amoxicillin

  30. Pingback: abilify and adderal

  31. Pingback: atorvastatin 15mg

  32. Pingback: azithromycin breastfeeding

  33. Pingback: is baclofen used recreationally

  34. Pingback: cirtrizine and baclofen

  35. Pingback: wellbutrin adhd

  36. Pingback: buspar and sleep apnea

  37. Pingback: ambien with buspirone

  38. Pingback: is carvedilol a blood thinner

  39. Pingback: is celebrex or tramadol safer

  40. Pingback: celexa and pancreatic

  41. Pingback: cheap viagra generic

  42. Pingback: viagra mistake

  43. Pingback: sildenafil dosage

  44. Pingback: low cost viagra

  45. Pingback: cialis for bph

  46. Pingback: online viagra in india

  47. best CBD oil in UK

    Cannabidiol or CBD is just one of the most important
    compounds in cannabis. It is believed that it is the most safe and also most reliable natural
    substance yet discovered in nature. It is also referred to
    as the CBD and also is a cousin of tetrahydrocannabinol, which is
    likewise called THC. Current studies have revealed that cannabidiol has many
    more wellness benefits than previously believed. Below are five facts connected to CBD oil
    and also our health and wellness.

    Here is my web page; <a href="">best CBD oil in UK</a>

  48. best CBD oils UK

    Cannabidiol or CBD is just one of one of the most essential substances in marijuana.
    It is believed that it is the best as well as most efficient all-natural
    substance yet located in nature. It is additionally referred to as the CBD and also is a cousin of tetrahydrocannabinol, which is additionally called THC.
    Current studies have exposed that cannabidiol has many more wellness advantages than formerly
    thought. Below are five realities related to CBD oil as well as our health and wellness.

    My blog post: <a href="">best CBD oils UK</a>

  49. CBD oils UK

    Cannabidiol, or CBD as it is additionally known, is just one of
    two chemicals discovered in cannabis, the other one being THC.
    Cannabidiol, like THC, operates as a psychedelic medicine,
    however does not produce a "high" in the manner in which marijuana does.

    Rather, CBD has actually been shown to safeguard the human nervous system
    and also might even avoid the advancement of specific sorts of
    cancer cells. Along with its prospective anti-cancer abilities, cannabidiol has likewise
    been revealed to ease the symptoms of inflammation and discomfort related to joint inflammation, and also it may also assist to enhance the health of
    those with glaucoma. Learn more about the healing benefits of CBD oil by following the web links below.

    My website … <a href="">CBD oils UK</a>

  50. best CBD oil UK

    Cannabidiol or CBD is the lesser-known of all the recognized cannabis compounds.
    Cannabidiol is unidentified phytochemicals, discovered in 1940.
    It makes up more than 40% of the whole plant's overall dry essence and also is just one of one of the most crucial plant parts for medical cannabis.
    In spite of its possible significance in the medical marijuana market,
    very little is recognized regarding this amazing phytochemical.
    This is the emphasis of this post.

    Also visit my homepage … <a href="">best CBD oil UK</a>

  51. best CBD oil in UK

    Cannabidiol, better called CBD oil, is among the
    most encouraging new herbs for joint inflammation. What
    is it as well as what does it do? Exactly how can we utilize it safely as well as properly?
    As more information concerning cannabidiol emerges, we
    will certainly learn more about it as well as exactly
    how it might aid reduce a few of the signs and symptoms connected with joint inflammation. If you, or a person you understand, are suffering from arthritis,
    don't wait – this write-up may have the ability to help you find the
    relief you require!

    Here is my homepage … <a href="">best CBD oil in UK</a>

  52. best CBD oil in UK

    Cannabidiol or CBD is just one of the most important materials in cannabis, and it
    is accountable for the healing residential properties discovered in the cannabis plant.
    Cannabidiol is also described as CBD, or cannabidiol.
    Cannabidiol has actually been commonly identified for
    many years, and has been the topic of lots of clinical researches.
    Due to the fact that CBD is an exceptionally crucial and also beneficial
    compound for medical use, it is not generally accessible in recreational
    cannabis. New methods are being created to generate CBD for usage in products currently under

    Feel free to visit my page :: <a href="">best CBD oil in UK</a>

  53. CBD oil UK

    Cannabidiol, or CBD oil, is a new substance that has shown assurance for treating patients with persistent pain. It was originally found by mishap: in 1940, a drug
    store discovered that including a compound to
    a cannabis bud can trigger a total cessation of nerve signals in the mind, thus
    allowing a client suffering from extreme pain to ease his or her suffering
    by quiting the nerve signals being stimulated.
    This discovery caused the research of CBD, which
    when used as an essence from the cannabis plant, has actually been located to
    successfully eliminate pain with no side effects. As a result of
    these promising results, researchers are now looking into CBD for its possible usage in treating a variety
    of conditions.

    Here is my site :: <a href="">CBD oil UK</a>

  54. CBD oils UK

    Cannabidiol, or CBD as it is also recognized, is just one of 2
    chemicals discovered in cannabis, the various other one being THC.

    Cannabidiol, like THC, works as a psychoactive medication, however does not create a "high" in the manner in which marijuana does.

    Instead, CBD has actually been shown to protect the human nerve system as well as may also protect against the development
    of certain sorts of cancer cells. Along with its prospective anti-cancer abilities, cannabidiol has additionally been shown to relieve the symptoms of
    inflammation as well as pain associated with arthritis, as well as
    it might even help to boost the wellness of those with
    glaucoma. Find out more regarding the healing benefits of
    CBD oil by adhering to the links below.

    Also visit my web page – <a href="">CBD oils UK</a>

  55. Pingback: 10 mg of cialis

  56. Pingback: sister slips brother viagra

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Este sitio utiliza cookies para mejorar los servicios que se ofrecen. Si continúa navegando está dando su consentimiento para la aceptación de las mencionadas cookies y la aceptación de nuestra política de cookies

Aviso de cookies