Closed atanasj closed 6 years ago
Do you have homebrew python 3 and does pip3 say that setuptools is installed?
On Jan 17, 2018 18:17, "atanasj" notifications@github.com wrote:
When trying to install ocrmypdf, I get an error. Please see below for the extract.
atanass-mbp:~ atanas$ brew install ocrmypdf ==> Installing ocrmypdf from jbarlow83/ocrmypdf ==> Downloading https://files.pythonhosted.org/packages/c2/69/d250b73cab334a0760 Already downloaded: /Users/atanas/Library/Caches/Homebrew/ocrmypdf-5.5.tar.gz ==> Downloading https://files.pythonhosted.org/packages/d4/0c/9840c08189e0308733 Already downloaded: /Users/atanas/Library/Caches/Homebrew/ocrmypdf--homebrew-virtualenv-15.1.0.tar.gz ==> python3 -c import setuptools... --no-user-cfg install --prefix=/tmp/ocrmypdf Last 15 lines from /Users/atanas/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-20180118-29983-4vfasj/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
Is there something I'm doing wrong?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jbarlow83/homebrew-ocrmypdf/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvcMy2FxloV63ZokYutVAArmERSGVNAks5tLqnDgaJpZM4RiSLf .
There was some problem with python 3 and and pip3. I ran the command brew postinstall python
that I found here: https://github.com/Homebrew/legacy-homebrew/issues/33897. This is resolved now, thanks for your help... and a great package!!
I had the same mistake what helped:
And it work! Greets Fred
When trying to install
ocrmypdf
, I get an error. Please see below for the extract.Is there something I'm doing wrong?