Using anaconda
René Dohmen
March 09, 2021
1 min

I used python in a variety of ways in the last 15 years. Back in the days you just worked with a system python but nowadays you have to think about stuff like virtual env, testing your software against multiple python versions and the ever evolving eco system on your Mac, Windows or Linux computer.

There are also use cases for older python installs; Some of the stuff I run on Amazon serverless still uses python 3.7. One the mac, with Homebrew, mac this easily gets very messy as homebrew upgrades stuff without warning and hasn’t a decent python selection system. Mac ports can work ok, but if you use a lot of python in your day job I think Anaconda is really nice as it makes it easy to manage a couple of standalone python interpreters for your projects.

Let’s say you need a python3.7 env for a project: my-project

This will create a completely stand alone python installation that is isolated from all other python environments you could possibly have on your machine. So it’s perfectly fine to install pip package without using a virtual env.

This could be a bit of an overkill, every complete python install will use disk space. If you need python3.7 for multiple projects and you will be using a virtual env for these project you’re probably totally fine with:

Of course anaconda has a lot of more options as it also enables the developer to install all the tensorflow goodies combined with lot of standalone packages for complexer python setups.

If you feel that anaconda’s graphical install is too bloated for your taste you can also install only miniconda; which only install the CLI tools.

Related Posts

Deploy FastAPI on Amazon Serverless
May 15, 2021
5 min
© 2021, All Rights Reserved.
Powered by formatics

Quick Links

Advertise with usAbout UsContact Us

Social Media