Kedro install, fix Python gotcha’s…

So in part 1 of this thrilling series I installed Kedro on Windows but got an error when trying to run Kedro with the Kedro Info command:

Problems with anyconfig

The last line appears to be the issue “No module named ‘anyconfig’

It turns out anyconfig is a Python module Kedro makes use of, so I did the obvious thing & re-installed it (pip install anyconfig)

Its already installed…. but a suspicious warning…

So — the system thinks its already there but there is a suspicious warning message about project “unknown”

WARNING: Generating metadata for package anyconfig produced metadata for project name unknown. Fix your #egg=anyconfig fragments.

A bit of Googling later & it looks like its an installer issue — not only does PIP need to be up to date but setup tools as well. So, running:

…upgrades the install tools. Then we can use PIP to install the anyconfig module again — no errors this time 🙂

Now to try Kedro again…..

BOOM! It works!

Next — getting to grips with actually using Kedro…

Leave a Reply