doctr: Error when installing requirement on a M1 MacBook

šŸ› Bug

When I try to install the requirements to run doctr on my M1 MacBook, I get an ModuleNotFoundError: No module named '_ctypes'. I installed the additional packages required for macOS users.

https://user-images.githubusercontent.com/1170989/133793566-a8b97c2c-55a7-4129-bd95-a4c6535f9798.mp4

To Reproduce

Steps to reproduce the behavior:

  1. pip install -r requirements.txt

Expected behavior

No error when installing the packages.

Environment

DocTR version: N/A TensorFlow version: N/A PyTorch version: N/A (torchvision N/A) OpenCV version: N/A OS: Mac OSX 11.5.2 Python version: 3.7 Is CUDA available (TensorFlow): N/A Is CUDA available (PyTorch): N/A CUDA runtime version: Could not collect GPU models and configuration: Could not collect Nvidia driver version: Could not collect cuDNN version: Could not collect How you installed DocTR (conda, pip, source): I did not, I’m trying to use the code from the repository I cloned

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (13 by maintainers)

Most upvoted comments

sounds like a lot of trouble šŸ˜