
brian-m-ops
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.
Marked As Solved

brianokken
Thanks for bringing this up, and coming up with a workaround.
Looks like I forgot to push the README.md file into the repo.
The workaround: add a /cards_proj/README.md file (can be empty) works great.
But I’ll include a proper README.md on the next update.
Popular Prag Prog topics










Other popular topics










Latest in PragProg
Latest (all)
Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /js
- /rails
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /opensuse
- /centos
- /ash
- /php
- /deepseek
- /zig
- /scala
- /html
- /debian
- /nixos
- /lisp
- /agda
- /sublime-text
- /textmate
- /react-native
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /manjaro
- /django
- /spring
- /diversity
- /lua
- /nodejs
- /slackware
- /c
- /julia
- /neovim