

Here it becomes obvious how practical virtual environments can be.

We want to use a modern Python version 3.8, but some packages might not be fully available or tested in Python 3.9. This will come in very handy to try out new libraries/packages/tools, without breaking you working installation. You can create a several distinct environments, with different Python version, and with different packages to be installed. Ĭonda basically represents a typical Python virtualenv command. output below Volume in drive C is Windows Volume Serial Number is 5E4 C - FED5 Directory of C :\ Users\ Alexander\ geopython2021 15 : 00.

It makes life much easier when installing new tools on your Python to play with.Ĭ : cd C :\ Users\ Alexander\ geopython2021 dir. Languages for large-scale data processing, predictive analytics, and scientific computing, that aims to simplify package management and deployment. We highly recommend using Miniconda or Anaconda which is an open source distribution of the Python and R programming Even though it is possible to install Python from their homepage, Out installing Python and all those modules into your own computer. Well, first you need to install Python and necessary Python modules that are used to perform various GIS-tasks. How to start doing GIS with Python on a computer? This section only for general info if you want to install Python on your own computer, and for remote students. If you are attending the course in the University computer lab, please jump to Creating environments and install packages to create the working environment. In the University computer lab you DO NOT have to install Anaconda or Miniconda or any other Python distribution. Alternative installation method for Conda environments.Creating environments and install packages.Installation and setup for Python with Miniconda.After doing this you can restart your shell and conda will be ready to go. The following snippet will create a directory to install miniconda into, download the latest python 3 based install script for Linux 64 bit, run the install script, delete the install script, then add a conda initialize to your bash or zsh shell.

Installing miniconda on Linux can be a bit tricky the first time you do it completely from the terminal. I still like its environment manager, which installs to a global directory rather than a local directory for your project. These days windows are much better than it was back then at compiling c-extensions. It made it much easier to install the data science stack on windows a few years ago. It comes with its own environment manager and has eased the install process for many that do not have a way to compile c-extensions. It's a slimmed-down version of their very popular anaconda distribution. Miniconda is a python distribution from continuum.
