Skip to content

Update the YAML file for Apple Silicon (M1, M2, M3) Macs, new working environment file below. #2590

@slagathor69

Description

@slagathor69

Is your feature request related to a problem? Please describe.
The current yaml file does not correctly install on Apple Silicon Macs using anaconda. There are pandas, tables, tensorflow, and other errors when trying to run.

Describe the solution you'd like
I have created an updated yaml file that works on Apple Silicon Macs that I recommend to be added to installation instructions with the added bonus of working with Python 3.10.

Describe alternatives you've considered
I tried original way and after a lot of troubleshooting was able to create a functional, simpler yaml environment file for installing DeepLabCut seamlessly on Apple Silicon Macs (I have not tested it however on any Intel Macs).

Additional context
Updated YAML File below:

name: deeplabcut
channels:
  - conda-forge
  - defaults
dependencies:
  - python=3.10
  - pip
  - ipython
  - jupyter
  - python.app
  - ffmpeg
  - pytables
  - pandas
  - pip:
    - tensorflow
    - tensorflow-macos==2.9.0
    - tensorflow-metal==0.5.0
    - "deeplabcut[gui,apple_mchips]"
    - deeplabcut==2.3.9

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency fileenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions