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 python —version.
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.
INSTALACIÓN EN MACOS
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 python — version 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:
1 |
python3 –-version |
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:
1 |
sudo easy_install pip |
Y podemos comprobar que se ha instalado correctamente con el siguiente comando:
1 |
pip --version |
INSTALACIÓN EN LINUX
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:
1 2 |
sudo apt-get install build-essential checkinstall sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev |
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.
1 2 |
cd /usr/src sudo wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz |
En caso de no tener instalado wget tendremos que ejecutar antes el siguiente comando:
1 |
sudo apt-get install wget |
Después de esto lo descomprimiremos:
1 |
sudo tar xzf Python-3.6.4.tgz |
El siguiente paso es proceder a su compilación en el sistema:
1 2 3 |
cd Python-3.6.4 sudo ./configure --enable-optimizations sudo make altinstall |
Por último comprobaremos que la instalación se ha efectuado correctamente ejecutando el comando:
1 |
python3.6 -V |
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:
1 |
pip3.6 -V |
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.
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!
It's difficult to find well-informed people for this subject,
however, you sound like you know what you're talking about!
Thanks
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!!
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.
Ahaa, its good conversation regarding this article at this
place at this weblog, I have read all that, so now me also commenting here.
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!!
Thanks very nice blog!
Order custom essays <a href="https://customessaywriterbyz.com/">customessaywriterbyz.com</a> custom essay writer
Dissertation template <a href="https://dissertationhelpvfh.com/">https://dissertationhelpvfh.com/</a> dissertation editing services reviews
Buy essays online <a href="https://buyessayhelpbtg.com/">https://buyessayhelpbtg.com/</a> buy custom essay online
Help with scholarship essays <a href="https://essayhelpbgs.com/">essayhelpbgs.com</a> i need help on writing
an essay
Service essay <a href="https://essaywritingservicesjy.com/">https://essaywritingservicesjy.com/</a> community service essays
Buying research papers <a href="https://researchpaperssfk.com/">researchpaperssfk.com</a> buy research paper
no plagiarism
Writing a graduate thesis <a href="https://thesiswritinghelpsjj.com/">https://thesiswritinghelpsjj.com/</a> thesis proposals
Thesis services <a href="https://thesisbyd.com/">https://thesisbyd.com</a> thesis help free
Find someone to write my paper <a href="https://writemypaperbuyhrd.com/">https://writemypaperbuyhrd.com/</a> how to
write my paper
Pingback: cialis in action
Pingback: augmentin in china
Pingback: cialis samples
Pingback: roman viagra
Pingback: viagra for sale
Pingback: side effects to cephalexin 500 mg
Pingback: ciprofloxacin for gum infection
Pingback: does oxybutynin work for men
Pingback: long term effects of tizanidine
Pingback: aripiprazole dopamine agonist
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="https://observer.com/2020/01/cbd-oil-near-me">cbd oil near me</a>
Pingback: does allopurinol affect the kidneys
Order cialis <a href="https://tadafcialirx.com/">tadafcialirx.com</a> cialis 5mg
Generic for cialis <a href="https://cialmenon.com/">cialmenon.com</a> side effects
of cialis
Cialis 5mg <a href="https://vipmenciall.com/">vipmenciall.com</a> cialis generic name
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="https://observer.com/2020/10/cbd-products">cbd oil products</a>
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="https://observer.com/2020/10/cbd-tincture">cbd tincture</a>
Pingback: amiodarone alternatives
Pingback: amitriptyline buy
Viagra canada <a href="https://viagstorerx.com/">viagstorerx.com</a> best
place to buy viagra online
Is viagra government funded <a href="https://xviagrnorx.com/">https://xviagrnorx.com</a> how
to use viagra for best results
How long for cialis to work <a href="https://gocialirx.com/">https://gocialirx.com</a> cialis
daily
Pingback: amlodipine 5 mg cost
How long does viagra stay in your system <a href="https://atviagrmenrx.com/">https://atviagrmenrx.com/</a> cialis vs
viagra
Pingback: ampicillin vs amoxicillin
Pingback: abilify and adderal
Pingback: atorvastatin 15mg
Pingback: azithromycin breastfeeding
Pingback: is baclofen used recreationally
Pingback: cirtrizine and baclofen
Pingback: wellbutrin adhd
Pingback: buspar and sleep apnea
Pingback: ambien with buspirone
Pingback: is carvedilol a blood thinner
Pingback: is celebrex or tramadol safer
Pingback: celexa and pancreatic
Pingback: cheap viagra generic
Pingback: viagra mistake
Pingback: sildenafil dosage
Pingback: low cost viagra
Pingback: cialis for bph
Pingback: online viagra in india
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="https://www.medicaldaily.com/best-cbd-oil-uk-457875">best CBD oil in UK</a>
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="https://www.islandecho.co.uk/best-cbd-oil-uk-2021/">best CBD oils UK</a>
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="https://www.yours.co.uk/wellbeing/health/cbd-oil-uk/">CBD oils UK</a>
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="https://www.manchestereveningnews.co.uk/special-features/best-cbd-oil-uk-top-19424798">best CBD oil UK</a>
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="https://www.birminghammail.co.uk/special-features/best-cbd-oil-uk-19439649">best CBD oil in UK</a>
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
growth.
Feel free to visit my page :: <a href="https://www.liverpoolecho.co.uk/special-features/best-cbd-oil-uk-2021-19427273">best CBD oil in UK</a>
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="https://www.mirror.co.uk/lifestyle/health/best-cbd-oil-uk-2021-23153703">CBD oil UK</a>
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="https://www.dailystar.co.uk/health/best-cbd-oil-uk-2021-23153473">CBD oils UK</a>
Pingback: 10 mg of cialis
Pingback: sister slips brother viagra