Skip to content

line 3: 76717 Illegal instruction: 4 --> 2.2rc3 will not install on M1 Macs #1380

@backyardbiomech

Description

@backyardbiomech

Describe the bug

Base on my own tests, and two reports on gitter, there is an anaconda conflict between packages on m1 Macs that prevents importing deeplabcut in pythonw. Tested on conda 4.10.1 and 4.10.3, installing python.app from default and conda-forge.

Desktop (please complete the following information about your system):

  • OS: macOS Big Sur 11.4
  • DeepLabCut Version 2.2rc3
  • GPU TYPE: M1 Mac ...so?

To Reproduce
Steps to reproduce the behavior, i.e.:

  1. Download DEEPLABCUT.yaml
  2. conda env create -f DEEPLABCUT.yaml
  3. condo activate DEEPLABCUT
  4. conda install python.app
  5. pythonw -m deeplabcut
  6. see error below
TRACEBACK

% pythonw -m deeplabcut
/Users/brandonjackson/opt/miniconda3/envs/dlc22rc3/bin/pythonw: line 3: 76717 Illegal instruction: 4  /Users/brandonjackson/opt/miniconda3/envs/dlc22rc3/python.app/Contents/MacOS/python "$@"

No deeplabcut GUI shows. This same error occurs, and pythonw crashes in the terminal back to zsh, when trying to import deeplabcut in pythonw.

Metadata

Metadata

Assignees

No one assigned

    Labels

    InstallationWORK IN PROGRESS!developers are currently working on this feature... stay tuned.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions