jbarlow83 / homebrew-ocrmypdf

OCRmyPDF homebrew testing private tap
https://github.com/jbarlow83/OCRmyPDF
MIT License
2 stars 0 forks source link

ModuleNotFoundError: No module named 'setuptools' #7

Closed freddey closed 6 years ago

freddey commented 6 years ago

.$ brew install ocrmypdf ==> Installing ocrmypdf from jbarlow83/ocrmypdf ==> Downloading https://files.pythonhosted.org/packages/c2/69/d250b73cab334a07608715db2f41bbf3d1e69e3f097042baec5cbf Already downloaded: /Users/friedemann/Library/Caches/Homebrew/ocrmypdf-5.5.tar.gz ==> Downloading https://files.pythonhosted.org/packages/d4/0c/9840c08189e030873387a73b90ada981885010dd9aea134d6de30c Already downloaded: /Users/friedemann/Library/Caches/Homebrew/ocrmypdf--homebrew-virtualenv-15.1.0.tar.gz ==> python3 -c import setuptools... --no-user-cfg install --prefix=/tmp/ocrmypdf--homebrew-virtualenv-20180119-19656 Last 15 lines from /Users/friedemann/Library/Logs/Homebrew/ocrmypdf/01.python3: python3 -c import setuptools, tokenize file = 'setup.py' exec(compile(getattr(tokenize, 'open', open)(file).read() .replace('\r\n', '\n'), file, 'exec')) --no-user-cfg install --prefix=/tmp/ocrmypdf--homebrew-virtualenv-20180119-19656-dxedss/target --single-version-externally-managed --record=installed.txt

Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'setuptools'

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/jbarlow83/homebrew-ocrmypdf/issues

jbarlow83 commented 6 years ago

Same as issue #6

freddey commented 6 years ago

I had the same mistake what helped:

  1. Deinstall python and python 3 brew remove python // brew remove python3
  2. Neuinstallation von python 3 brew install python3
  3. install ocrmypdf brew install ocrmypdf

And it work! Greets Fred