Python Testing with pytest, Second Edition: cards pip install error (page 12)

#book-python-testing-with-pytest-second-edition

Hi. Thanks for writing the book. I am just learning so this might just of been an issue for me but I figured I would post anyway as it is currently in beta.

$ cd /path/to/code

$ python -m venv venv

$ source venv/bin/activate

(venv) $ pip install ./cards_proj/

When installing the cards project for chapter 2 on page 31. I get a error that there is no README.md file.

Error: flit_core.inifile.ConfigError: Description file README.md does not exist

Adding an empty file with a title of README.md to the cards_proj directory fixes the issue and allows you to run the install.

2 Likes