Skip to Content
Python para Excel
book

Python para Excel

by Felix Zumstein
September 2024
Intermediate to advanced
338 pages
9h 21m
Spanish
O'Reilly Media, Inc.
Content preview from Python para Excel

Apéndice A. Entornos Conda

En el Capítulo 2, introduje los entornos Conda explicando que (base) al principio de un indicador de Anaconda representa el entorno Conda actualmente activo con el nombre base. Anaconda requiere que trabajes siempre en un entorno activado, pero la activación se realiza automáticamente para el entorno base cuando inicias el Prompt de Anaconda en Windows o el Terminal en macOS. Trabajar en con entornos Conda te permite separar adecuadamente las dependencias de tus proyectos: si quieres probar una versión más reciente de un paquete como pandas sin cambiar tu entorno base, puedes hacerlo en un entorno Conda separado. En la primera parte de este apéndice, te guiaré a través del proceso de creación de un entorno Conda llamado xl38 en el que instalaremos todos los paquetes en la versión que yo los utilicé para escribir este libro. Esto te permitirá ejecutar los ejemplos de este libro tal cual, aunque algunos paquetes hayan publicado nuevas versiones con cambios de ruptura entretanto. En la segunda parte, te mostraré cómo desactivar la activación automática del entorno base si no te gusta el comportamiento por defecto.

Crear un nuevo entorno Conda

Ejecuta el siguiente comando en tu Prompt de Anaconda para crear un nuevo entorno con el nombre xl38 que utilice Python 3.8:

(base)> conda create --name xl38 python=3.8

Al pulsar Intro, Conda imprimirá lo que va a instalar en el nuevo entorno y te pedirá que lo confirmes:

Proceed ([y]/n)?

Pulsa Intro para confirmar ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Extending Excel with Python and R

Extending Excel with Python and R

Steven Sanderson, David Kun
Python para DevOps

Python para DevOps

Noah Gift, Kennedy Behrman, Alfredo Deza, Grig Gheorghiu

Publisher Resources

ISBN: 9781098199678