TUTORIAL / Mike Müller / Functional Python

Publicado el: 04 junio 2021
en el canal de: PyCon US
4,511
54

I will use a JupyterLab for the tutorial because it makes a very good teaching tool. You are welcome to use the setup you prefer, i.e editor, IDE, REPL. If you also like to use a JupyterLab, I recommend conda for easy installation. Similarly to virtualenv, conda allows creating isolated environments but allows binary installs for all platforms.

There are two ways to install Jupyter via conda:

1. Use Minconda. This is a small install and (after you installed it)
you can use the command conda to create an environment:
conda create -n pycon2021py39 python=3.9
Now you can change into this environment:
conda activate pycon2021py39. The prompt should change to (pycon2021py39).
Now you can install JupyterLab: conda install jupyterlab.

2. Install Anaconda and you are ready to go if you don't mind installing
lots of packages from the scientific field.

3. Install the dependencies:
Jupyter Lab 2 conda install jupyterlab
more_itertools conda more_itertools
toolz conda install toolz

4. Hint: You do all this in one command:
conda create -n pycon2021py39 python=3.9 jupyterlab more-itertools toolz

You can create a comparable setup with virtual environments and pip, if you prefer.

WORKING WITCH CONDA ENVIRONMENTS
After creating a new environment, the system might still work with some stale settings. Even when the command which tells you that you are using an executable from your environment, this might actually not be the case. If you see strange behavior using a command line tool in your environment, use hash -r and try again.


En esta página del sitio puede ver el video en línea TUTORIAL / Mike Müller / Functional Python de Duración hora minuto segunda en buena calidad , que subió el usuario PyCon US 04 junio 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 4,511 veces y le gustó 54 a los espectadores. Disfruta viendo!