pyprind icon indicating copy to clipboard operation
pyprind copied to clipboard

pip install pyprind, then "ModuleNotFoundError: No module named 'pyprind'"

Open alberto56 opened this issue 5 years ago • 2 comments

To reproduce:

  • Download the dev/1 branch of https://github.com/dcycle/docker-compresspdf
  • Run ./test.sh

The result is:

...
  import os, datetime, sys, glob, re, subprocess, pyprind, time
ModuleNotFoundError: No module named 'pyprind'

Even though in the Dockerfile I am clearly installing pyprind.

Any help on debugging this is greatly appreciated.

alberto56 avatar Jun 01 '20 00:06 alberto56

I think this could be an issue related to the particular docker container? Does it have instructions for installing pyprind? Haven't used that particular docker container, and it maybe something the maintainers need to fix on their end. Pyprind can be installed via

pip install pyprind

rasbt avatar Jun 01 '20 02:06 rasbt

Thanks, I opened https://github.com/docker-library/python/issues/491 to track this with the Docker image maintainers.

alberto56 avatar Jun 01 '20 13:06 alberto56