chychkan / DeepFaceLab_MacOS

Run DeepFaceLab on MacOS
GNU General Public License v3.0
266 stars 65 forks source link

Installation on M1 is a mess - updated steps required #127

Open marshalleq opened 1 year ago

marshalleq commented 1 year ago

Hi this is not meant to be a negative post, but just to point out all the docs and so on need to be updated for M1. There are long threads of possible fixes which may or may not have been applied in any particular order (or at all), in getting to success which has worked (probably) for someone but not all or maybe most people. I'm still trying. No luck.

I think it's to do with zero'ing in on what versions of python are required to be installed / tensor flow also, and the steps to rectify that via editing the scripts provided. Each time I think I've gotten a win, another error pops up about the next thing - hence the request for an updated guide with steps. If I manage to succeed I will share it here, otherwise hopefully someone else will do so, or the maintainer of this repository perhaps.

DmitriyMorozov commented 8 months ago

Hi this is not meant to be a negative post, but just to point out all the docs and so on need to be updated for M1. There are long threads of possible fixes which may or may not have been applied in any particular order (or at all), in getting to success which has worked (probably) for someone but not all or maybe most people. I'm still trying. No luck.

I think it's to do with zero'ing in on what versions of python are required to be installed / tensor flow also, and the steps to rectify that via editing the scripts provided. Each time I think I've gotten a win, another error pops up about the next thing - hence the request for an updated guide with steps. If I manage to succeed I will share it here, otherwise hopefully someone else will do so, or the maintainer of this repository perhaps.

I see I'm not the only one who got stuck after running ./scripts/0_setup.sh Got ERROR: Could not find a version that satisfies the requirement tensorflow-macos==2.7.0 (from versions: none) ERROR: No matching distribution found for tensorflow-macos==2.7.0

So the issue is somewhere in python version<->tensorflow loop and from what I've read on this subject there is no clear advice on how to resolve this. Tried switching python versions and different tensorflow packs but nothing worked.

Hope someday someone gets through this issue and shares some instruction.