Skip to content

How to run doctr on M1 Mac #749

Answered by adesgautam
adesgautam asked this question in Q&A
Discussion options

You must be logged in to vote

I figured out to run it somehow, try the following:

  • Install Anaconda x86_64 from here
Anaconda3-2021.11-MacOSX-x86_64.pkg

It will ask you to install Rosetta2, just allow it.

  • Open terminal & create an env using the same python version:
conda create --name tfmac python=3.8.5
conda activate tfmac
pip install tensorflow-2.4.1-py3-none-any.whl
  • Install doctr & dependencies:
pip install python-doctr==0.4.1
pip install tensorflow_addons==0.15.0
  • Install Cairo & Pango (only for doctr):
conda install -c anaconda cairo
conda install -c anaconda pango

T…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@fg-mindee
Comment options

@adesgautam
Comment options

@DRTorresRuiz
Comment options

@felixdittrich92
Comment options

Answer selected by fg-mindee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: bug Something isn't working topic: build Related to dependencies and build os: mac Involving Apple MAC users
4 participants