Setup Mac for Machine Learning with TensorFlow in 13 minutes (works for all M1, M2)

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии • 345

  • @D12075
    @D12075 2 года назад +36

    This is the best environment setup tutorial I've ever seen. I just got my personal MacBook Air M1 ~30 min ago and I'm already up and running with TF on the GPU. Well done, sir!

    • @mrdbourke
      @mrdbourke  2 года назад

      Thank you Daniel! Enjoy!

    • @MrPanda-gf6iu
      @MrPanda-gf6iu 2 года назад

      I wish I discovered this earlier, I wasted all day trying to setup a docker.

    • @yvankoabiloa9490
      @yvankoabiloa9490 Год назад

      ​@@mrdbourke when I try to use my apple gpu with pytorch on jupyter notebook, it said that my kernel died. How can I make my kernel works without this thing happen?
      PS: I try to use a transformer model to train on an algorithm to detect things on images

    • @drhafez0
      @drhafez0 Год назад

      Can help me decide, is MacBook air m1 good for starting on the ai and ML filed , or better to get a Nvidia GPU laptop ?

    • @atharvmukane4768
      @atharvmukane4768 10 месяцев назад

      Please reply to this.I'm buying m2 air now

  • @sanumioluwafemi7247
    @sanumioluwafemi7247 18 дней назад +1

    First time using MacBook and that's an M4 Pro. Your tutorial works perfectly! Thank you so much

  • @modoulaminceesay9211
    @modoulaminceesay9211 2 года назад +1

    Thanks!

  • @GangstTheEr
    @GangstTheEr 2 года назад +1

    There are dozens of videos that I have not been able to utilize, this one is so useful. Thank you!

    • @mrdbourke
      @mrdbourke  2 года назад

      Thank you! Glad you enjoyed!

  • @maheemahee6011
    @maheemahee6011 2 года назад +1

    You saved my £1500 man i was about to break my mac pro and wanted to get windows
    You are such a beauty thank you very much everything worked on my mac

  • @maximbeekenkamp3342
    @maximbeekenkamp3342 2 года назад

    Literally the only guide on the whole internet that actually works

  • @karanhadiyal65
    @karanhadiyal65 Год назад +1

    Thank you very much. I was trying to install tensorflow for two days, i couldn't find any way, your video solved my problem. Thank you very very much.

  • @jimmye1205
    @jimmye1205 2 года назад +10

    WOW!! Speechless literally I was just about to give up and start doing Machine Learning on my old pc if it were not for this I would have been coding on a toaster.
    Thank you Daniel very though rough video and very helpful.

  • @edhead76
    @edhead76 8 месяцев назад

    and now my M2Pro chip comes to life in tensorFlow. Thanks a million, man!!

  • @chenzihao6142
    @chenzihao6142 2 года назад

    Dear Sir,I am an international student at UOM,and I was doing preview for the 2nd year study,your video helped me a lot on tensorflow!!thank you!

    • @mrdbourke
      @mrdbourke  2 года назад

      You’re welcome Chen!

  • @BradenLimb
    @BradenLimb 2 года назад +3

    Thanks Daniel! After trying multiple other tutorials I was going to give up, but I got TensorFlow working with this tutorial!

  • @OtRatsaphong
    @OtRatsaphong 2 года назад +4

    Thank you Daniel! I bought the M1 MBP so that I could learn and experiment. Successfully installed and tested TensorFlow-metal. Enrolled in your TemsorFlow Developer Certificate course. Great course, great explanations of concepts and exercises!

  • @irshadgirach2213
    @irshadgirach2213 Год назад +2

    You are a life saver man! Had been stuck trying to get tensor flow working on my m1(I'm new to Python and ML) and after trying out countless ways I finally found your video. Thanks a ton!

  • @sportherz
    @sportherz 2 года назад +2

    amazing, I tried to get all this installed for the last few days and failed, with the video it was so easy. Thank you so much!

  • @GuyThompsonFWTX
    @GuyThompsonFWTX 3 года назад +4

    Still waiting on my M1 Max to show up after ordering the week after the release. Thanks for these videos. Would love to see more about how you setup you dev environment in general.

    • @mrdbourke
      @mrdbourke  3 года назад

      Woah! They must be popular if you still don’t have it… as for my dev setup I usually make a Conda environment (similar to the video) for each different project. The environment lives inside the project folder so everything for a project is in one place.

    • @matija-ziberna
      @matija-ziberna 3 года назад

      Into my third week:)

    • @0x007A
      @0x007A 3 года назад

      @@mrdbourke what are your thoughts on using containers to isolate each development tool from the host computer? I have been using containerized Python, pip, pipenv, pylint, and Jupyter to (1) ensure the same development environment is easily reproducible and (2) avoid "polluting" the host computer with globally-installed development tools and libraries.

  • @kunupat
    @kunupat Год назад +1

    Thanks! These instructions worked on M3 Pro as well! You saved my day!

  • @bacon_sammich2845
    @bacon_sammich2845 Год назад

    Thanks this worked better than the other solutions I've seen on RUclips

  • @shouryabhosale4636
    @shouryabhosale4636 7 месяцев назад

    thanks a lot for this video, i tried many diff videos on yt and yet none of them worked but i successfully installed tf using ur video, really glad i fond this video

  • @saigowthambabuamburi6158
    @saigowthambabuamburi6158 3 года назад +4

    Thank you so much daniel....i have been trying from the past 4 months to install tensorflow on mac....this really helped me a lot :-))

    • @mrdbourke
      @mrdbourke  3 года назад +1

      You’re welcome Sai!

  • @evanortiz8561
    @evanortiz8561 2 года назад

    BRO YOU JUST SAVED ME DAYS OF RESEARCH. THANK YOU SO MUCH

  • @hantaojiang297
    @hantaojiang297 Год назад

    Best tutorial ever! Now I can finally use my mac to do the deep learning locally. Thank you so much!

  • @AravindG11
    @AravindG11 3 года назад +17

    Thanks Daniel, this was very helpful. Can you also make a similar tutorial on setting up PyTorch on M1 Macs? That would be super helpful.

    • @Anonymous-vh9tc
      @Anonymous-vh9tc 3 года назад +1

      PyTorch GPU doesn’t work and will never work on M1, cpu version can be installed follow their getting started guide

    • @mrdbourke
      @mrdbourke  3 года назад +7

      Let me look into the best setup for PyTorch on M1!

    • @AravindG11
      @AravindG11 3 года назад

      @@mrdbourke Thanks man, I will be waiting for the PyTorch setup tutorial.

    • @trefoilz7355
      @trefoilz7355 3 года назад +1

      @@mrdbourke waiting for PyTorch and Transformers as well! I have troubles with those two as well.

    • @aimanyounis8387
      @aimanyounis8387 3 года назад

      @@trefoilz7355 Man I hope there is! , to avoid the disconnection on google colab.

  • @65_dhyaneshdikkar49
    @65_dhyaneshdikkar49 Год назад

    gone through many tutorials but found this one the best....and works,, so, I am subscribing you...

  • @emanuelmhlanga
    @emanuelmhlanga 2 года назад

    Hey man. You saved my life. I am very grateful for your help. I ended up using my old windows laptop for my project because tensorflow was not running on my m1.

  • @Om-mb8cv
    @Om-mb8cv Год назад

    Awesome Video Daniel !! Such a crisp explanation for the process

  • @rich4rd636
    @rich4rd636 3 года назад

    bought the mac pro 14 the same day you release this video. Thanks so much for this video

    • @mrdbourke
      @mrdbourke  3 года назад

      You’re welcome Rich! Enjoy your new computer

  • @pankajshaw674
    @pankajshaw674 3 года назад

    I recently purchased macbook air. I was facing difficulty in installing ML libraries. This is very helpful. Thanks :)

    • @mrdbourke
      @mrdbourke  3 года назад

      Hey Pankaj! Glad to hear :) did you get it all setup?

  • @olivias1966
    @olivias1966 Год назад

    Only thing that worked for me after multiple hours!! Thank you so much!!!

    • @mrdbourke
      @mrdbourke  Год назад

      Glad it worked Olivia! Happy machine learning!

  • @alialmalki2750
    @alialmalki2750 3 года назад

    The legend back again. Thank you Daniel!!

    • @mrdbourke
      @mrdbourke  3 года назад +1

      You’re welcome Ali! Plenty more videos to come :)

  • @krishnakanth4055
    @krishnakanth4055 2 года назад

    Best video! The only video all things worked On M1 Mac as per 2022

  • @이형준-i1v
    @이형준-i1v 3 года назад +2

    Thank you for your detail explanations.
    But I have a problem to use jupyter notebook. When I type "jupyter notebook" like you (11:15), occured.
    Someone says its reason is UTF-8 encoding, but i can't solve the problem though i changed the setting.
    If you know anything about this, could you tell me?
    Again, thanks a lot for the video!

  • @amithbk12man
    @amithbk12man 3 года назад

    Really helpful !! Will stay tuned to more of your videos.

  • @islamicinterestofficial
    @islamicinterestofficial Год назад

    At 11:15 my jupyter notebook was opening but not creating any new file. So I installed two more packages and the issue was gone : pip install chardet cchardet
    Now again run "jupyter notebook" and it will allow you to create new file. Cheers

  • @vlademirzago
    @vlademirzago 3 года назад +1

    As always great content sir... kudos !!! My new machine arrives this week, very excited to reproduce this tutorial on that.

    • @mrdbourke
      @mrdbourke  3 года назад +2

      Thank you Vlademir! Enjoy your new machine

  • @palahnuk1
    @palahnuk1 Год назад

    Daniel - sincere thanks for sharing your hard won knowledge and skills. You are an open and supportive person. Cheers ! ... Well Done !!

  • @SaqrThabet
    @SaqrThabet Год назад +1

    It is an incredible video as it is the first time to successfully download tensorflow libraries on my mac. Unfortunately, the step when I am supposed to successfully run the code on Jupyter notebook did not work (1st create new python files leads to: "500: Internal Server")(2nd if the 1st step worked using: "pip instal --upgarde nbconvert", then when executing the code libraries like numpy are not found). These libraries such as numpy, pandas, and matplotlib could be imported successfully if I opened the python files using visual studio code, except for tensorflow. I'm still looking for an explanation and a solution for such problem.

  • @bierfassner2253
    @bierfassner2253 2 года назад

    Omg thanks ive struggled for so long to get this running 🏃
    But you came to save my in the Mac terminal lost souls

  • @gregumstead6103
    @gregumstead6103 9 месяцев назад +1

    I have an M3 Max and the metal install fails. Is there an updated process? I get the following
    python -m pip install tensorflow-metal
    ERROR: Could not find a version that satisfies the requirement tensorflow-metal (from versions: none)
    ERROR: No matching distribution found for tensorflow-metal

  • @shadyzahed3424
    @shadyzahed3424 2 года назад

    Thanks a million, after spending several hours trying to solve it, I finally managed through you. Cheers :)

    • @mrdbourke
      @mrdbourke  2 года назад

      You’re welcome Shady! Glad you got it working!

  • @siddharth4171
    @siddharth4171 Год назад +1

    Everything worked but when i try to create a new python file in jupyter as shown, it says "500 internal server error" how to fix this?

  • @andresfelipericoavella4985
    @andresfelipericoavella4985 3 месяца назад

    wauuu excellent video,Thanks a Trillon Daniel,
    blessings to you.

  • @galaxys3844
    @galaxys3844 11 месяцев назад +1

    ModuleNotFoundError: No module named 'tensorflow'
    can you please reply. while i am running the code
    import numpy as np
    import pandas as pd
    import sklearn
    import tensorflow as tf
    import matplotlib.pyplot as plt
    # Check for TensorFlow GPU access
    print(f"TensorFlow has access to the following devices:
    {tf.config.list_physical_devices()}")
    # See TensorFlow version
    print(f"TensorFlow version: {tf.__version__}")

  • @satvikbisht
    @satvikbisht Год назад

    Hey , Can you make one more video regarding the installation with the updated instructions. I think there have been few changes in the last year.

  • @likhithraj4239
    @likhithraj4239 2 года назад +3

    Hi Daniel, thank you for the Video, after following the instructions while connecting the Jupiter notebook I am getting error "RuntimeError Traceback (most recent call last)
    RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe
    ---------------------------------------------------------------------------
    ImportError Traceback (most recent call last)
    ImportError: numpy.core.multiarray failed to import
    The above exception was the direct cause of the following exception:
    SystemError Traceback (most recent call last)
    SystemError: returned a result with an error set
    The above exception was the direct cause of the following exception:
    " Request you please advise

  • @harrivayrynen
    @harrivayrynen 3 года назад +2

    Thank you for this. I have to try this with my M1 MacMini. Bought it about 6 months ago and I was disappointed how hard it was to make it work with ML/DL libraries. M1 has been mainly collecting dust. Time to do upgrade to OSX and try your step by step video. Maybe there is still some problems, but month by month we get new libraries which support ARM better. (Now I do not remember which libraries were hard to get going on 6 months ago, maybe it was gym and ml-agents, mainly reinforcement stuff)

    • @mrdbourke
      @mrdbourke  3 года назад +3

      Hey Harri, I was the same when the M1 first came out. But now I find it works basically the same as all of the other machines I do machine learning on. Especially with TensorFlow-macos and TensorFlow-metal, installing these were a breeze to get TensorFlow running on the GPU

    • @nathanlewis42
      @nathanlewis42 3 года назад

      @@mrdbourke I just installed on a M1 Mac mini and it doesn't work. The import tensorflow as tf line in the notebook gives the error: dlopen ........ Symbol not found: _OBJC_CLASS_$_MPSGraphCompilationDescriptor

  • @magnets8264
    @magnets8264 Год назад +1

    hey Daniel, I m having problem in installing tensorflow-text please can u make a video on it

  • @islamicinterestofficial
    @islamicinterestofficial Год назад

    Thank you so much for the video. I love it

  • @irfanyaqub9643
    @irfanyaqub9643 3 года назад

    Well, i hVe learned alot from you. I have took your lectures from udemy.. i am really thankful for that. Stay blessed and keep it up.

    • @mrdbourke
      @mrdbourke  3 года назад

      Thank you Irfan! Keep learning legend

  • @kabala369
    @kabala369 2 года назад

    Thank you so much Daniel. Very happy and grateful to you 😊👌🏼👍🏼

  • @champinmythought
    @champinmythought Год назад +2

    I completed all the steps until the "jupyter notebook" script. However, when I created and entered a new python notebook "500: Internal Server Error" appeared. What could be the reason and how can I fix this?

  • @Satoshi_Nguyen
    @Satoshi_Nguyen 2 года назад +2

    Hi Daniel, thanks for this comprehensive tutorial. I got some questions about creating an environment:
    1. Is it a good practice to create an environment on specific directory for every project? Or we create different environments on the same directory like /Users/username/.
    2. If I install different environment on different specific directories, do I have to go install again all Tensorflow dependencies for every single one of them?
    Thanks.

    • @mrdbourke
      @mrdbourke  2 года назад +1

      Hey Hoang, you’re welcome legend!
      1. I personally usually create an environment for every project. Or I setup one universal environment for playing around with TensorFlow or something and do lots of projects inside that universal environment.
      2. Usually with every new environment you install the dependencies you’d like to use in it. Perhaps there might be a way to link an existing install of TensorFlow to that new environment but I’m not 100% sure on this.

  • @Coolgamer322
    @Coolgamer322 Год назад

    I keep getting
    "ERROR: Could not find a version that satisfies the requirement tensorflow-metal (from versions: none"
    :(
    I am on python 3.8.15

  • @alwaysontop828
    @alwaysontop828 Год назад +1

    Hi, i followed exactly how you did, i got this message: 500: Internal Server Error, what to do? 😢

  • @kevochi09
    @kevochi09 2 года назад

    Thanks so much Dan, you are the best. Life saver than a CIU

    • @mrdbourke
      @mrdbourke  2 года назад

      You’re welcome Russell!

  • @michaelbouril5278
    @michaelbouril5278 2 года назад

    Seriously appreciate this video! Thank you

    • @mrdbourke
      @mrdbourke  2 года назад +1

      You’re welcome Michael! Happy machine learning :)

  • @lorre1924
    @lorre1924 3 месяца назад

    Many thanks for the helpful tutorial

  • @mdjuhaeradittya
    @mdjuhaeradittya Год назад

    Thanks a lot! It worked on my Mac.

  • @hugopristauz3620
    @hugopristauz3620 Год назад

    excellent job - helping a lot 🙂

  • @AmandeepSingh-mh8ff
    @AmandeepSingh-mh8ff 3 года назад +1

    Thanks for the awesome tutorial!
    Just a few questions, if you don't mind:
    1. Do I need to activate/deactivate the env every time I want to work on my ML/DL projects?
    2. When I want to open Jupyter notebook to work on my existing ML/DL project, do I need to do so by activating the env inside the tensorflow_test folder every time?
    3. Is is good practice to have multiple envs for multiple projects? Will it 'waste' (because of redundant packages) storage on my Mac?
    4. Will this work with VS Code? I wanted to try out the GitHub Copilot feature...
    5. If I need to install a package, do I just pip install in the home directory, or first activate the env and then pip install the package?
    6. Is there is a reason why you chose Homebrew over Macports?
    Again, thanks a lot for the much needed tutorial!

    • @kobold2376
      @kobold2376 3 года назад +2

      1. yes everytime you open the terminal you usually start in your base env
      2. the env has nothing to do with the folder, after you activate the env you can change your directory
      3.yes it best practice, because you may need different packages version for different projects, of course there is redundant, but less problems
      4. -
      5. first activate the env you want it to be installed the do the rest, you can use "conda install pandas" or something like this as well
      6.-
      you could have also asked google

    • @mrdbourke
      @mrdbourke  3 года назад +3

      Yo yo! You're welcome. I'll answer your questions.
      1. Yes, for specific environments + projects you'll need to activate the environment to continue working on the project. You don't necessarily need to deactivate it (if you're going to come back to it).
      2. Yes. If you want to work on a Jupyter Notebook within the project and have access to the packages there, you should activate the environment.
      3. Here's what I do: 1x large environment for hacking around/hobby projects + 1x environment for every new larger project. If I don't use an environment in a few months, I delete it (but I also export the packages to a YAML file). Google "conda export environment packages to YAML".
      4. Yes it will. Activate the environment and project folder through VS Code's terminal.
      5. If you want to install the package in the environment, the environment should be active. If you just want to install the package globally, you can run pip install without and activate environment.
      6. I have never heard of Macports (this isn't saying anything against it). But I have used Homebrew for many years and have the most experience with it.
      Let me know if you have any follow ups.

    • @AmandeepSingh-mh8ff
      @AmandeepSingh-mh8ff 3 года назад

      @@mrdbourke Thanks for the detailed response! I am waiting on my Macbook Pro 14 inch base model. Was hopeful for a Christmas delivery, but looks like it'll be delivered around mid-January. Regardless, I will be following your tutorial and then follow up on the 10 hour stream. Thanks a lot!

    • @AmandeepSingh-mh8ff
      @AmandeepSingh-mh8ff 3 года назад

      @@kobold2376 Thanks for the response. Just got back after a hiatus and saw your answer.
      True, I could have just Googled everything, and I am sure I will when I am setting up my Macbook when it is finally delivered.
      Anyway, thanks!

    • @0x007A
      @0x007A 3 года назад

      @@mrdbourke pipenv has greatly streamlined the process of creating and activating virtual environments as well as installing Python libraries. within a project's virtual environment.

  • @vladislavshevtsov3567
    @vladislavshevtsov3567 Год назад

    Great tutorial, however I would not limit the virtual env within a folder, the better option would be to install a global virtual env using conda.

  • @YoungMoneyInvestments
    @YoungMoneyInvestments Год назад

    Such a helpful video. Can't thank you enough.

    • @mrdbourke
      @mrdbourke  Год назад

      Glad you enjoyed legend!

  • @luissousa3165
    @luissousa3165 2 года назад

    Im getting this error:
    could not find a version that satisfies the requiremnt tensorflow-macos (from versions:none)

  • @romakhajiev9535
    @romakhajiev9535 Год назад

    I couldn't open jupyter notebook after installing it. It says "zsh: command not found: jupyter"

  • @sudiptoshuvro1594
    @sudiptoshuvro1594 9 месяцев назад

    I did everything and everything goes well. However, while I start training, the kernel becomes dead. Any solution that?

  • @joseptrevuelta6604
    @joseptrevuelta6604 2 года назад +1

    @Daniel Bourke. Excellent tutorial. It worked perfectly. I'm using R for some CNN. Can you make a video on the TensorFlow, Keras, and R integration?

  • @lakshitkava
    @lakshitkava 2 года назад +1

    Can We change the Name of the folder from “tensorflow-test” to by renaming that folder (any number of times I want ) , after doing all the process successfully?
    Does it create any conflict?
    Thank you Sir for giving such a nice and simple explanation

    • @mrdbourke
      @mrdbourke  2 года назад +1

      Yes you can, you can name the folder however you want. Though if you create it as “tensorflow-test” and setup the environment with “conda create -prefix ./env” the env will rename at the original path (e.g. “tensorflow-test/env”)
      If you want to change the directory name *after* you made the env, you might have to look into renaming the Conda env path too

  • @anapaunovic8405
    @anapaunovic8405 Год назад

    I download Miniforge 3 but in terminal it states there is no such file or directory

  • @dayaalex8693
    @dayaalex8693 Год назад

    Worked for me, i even run a computer vision code for segmenting roads in video files. Just had to ' conda install opencv'

  • @sreedhardhulkhed9779
    @sreedhardhulkhed9779 Год назад

    Very nice video. Is possible to make a video on Windows Installation

  • @ManuelBarros64
    @ManuelBarros64 2 года назад

    Great and clear instructions !! Thank you a lot. :-))

  • @RakibHasan-nq8df
    @RakibHasan-nq8df Год назад

    In this way, for every project should i have to create a new directory and set environment? Can you please show how to set up a an universal environment and play around different projects

  • @saswatabiswas
    @saswatabiswas 2 года назад

    the jupyter is not importing pandas or numpy or anything else. shows IMPORT ERROR. please help

  • @mohamedalryah287
    @mohamedalryah287 3 года назад

    thanks a lot. it helped me to get my macbook successfully work

    • @mrdbourke
      @mrdbourke  3 года назад

      Stoked to hear Mohamed!

  • @lukasznowarkiewicz
    @lukasznowarkiewicz Год назад

    Basically wonderful tutorial Thanks a lot!

  • @chunchili
    @chunchili 3 месяца назад

    many thanks for your video, I have a question, how can we reload conda after we reboot the mac.

  • @maryzakiandourrugrats4671
    @maryzakiandourrugrats4671 Год назад

    i am getting this "error: externally-managed-environment" its really frustrating me.

  • @maheshbabukamepalli3488
    @maheshbabukamepalli3488 Год назад

    Hi Sir, could you please let us know how to install tf-models-official.
    thanks.

  • @tomhommola4988
    @tomhommola4988 Год назад +1

    If I follow these steps and open up jupyter notebook from the terminal it works but then creating a new file in this directory throws a 500: INTERNAL SERVER ERROR message. If I try opening jupyter notebook from my anaconda environment it works and I can create a new file but when I try to import tensorflow it tells me he doesn't know that module. Anyone else got a similar problem and can help me out? Thank you in advance

  • @Sina-kh6ip
    @Sina-kh6ip Год назад

    i tried to install another library like seaborn opencv tranformers gymnasium its not worked

  • @Kartikflow
    @Kartikflow Год назад

    its working pretty good but i have question i have exit the terminal after all this and then when i open the terminal and type jupyter notebook it said invalid command could you please help me with this ?

  • @adityanarayangupta1
    @adityanarayangupta1 2 года назад +3

    Hi Daniel, I recently purchased my Macbook Air M1, I tried running your process and it got executed successfully. At the last I have below given results, please suggest what needs to be corrected here:-
    ---------------------------------------------------------------------------
    ModuleNotFoundError Traceback (most recent call last)
    Input In [1], in ()
    2 import pandas as pd
    3 import sklearn
    ----> 4 import tensorflow as tf
    5 import matplotlib.pyplot as plt
    7 # Check for TensorFlow GPU access
    ModuleNotFoundError: No module named 'tensorflow'
    Please help, Thanks in Advance :)

  • @samuelrodriguezagudelo3614
    @samuelrodriguezagudelo3614 Год назад

    THANKS! GREAT VIDEO

  • @vandit_quantum
    @vandit_quantum 2 года назад

    Hi, Daniel, I am getting some errors like
    2022-12-24 01:24:04.858171: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled.
    2022-12-24 01:24:06.472059: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at xla_ops.cc:418 : NOT_FOUND: could not find registered platform with id: 0x14fd11150
    can you help me out please?

  • @williamwhitehead374
    @williamwhitehead374 Год назад

    You're awesome! Thank you so much

  • @bhaskarjitborah112
    @bhaskarjitborah112 Год назад

    What is the total size of the whole installation on SSD ?

  • @msodev
    @msodev 2 года назад

    Could you show us how to clean your HOME directory? After doing all this plus some vim config and stuff, the HOME directory gets messy as fuu

  • @monibraps
    @monibraps 10 месяцев назад

    life saver. Thank you

  • @samhong6709
    @samhong6709 2 года назад +1

    Thanks a million Daniel. Though, I have one question to ask,
    Is there any reason that you downloaded Miniforge at the Home directory instead of the root directory?
    when I've compared the anaconda location with my other intel devices (where I used brew install) they just downloaded Under the root/opt directory and there seems to be a little difference in making new environments with the following common command
    "conda create --name env_name python==version"

  • @gerocastano8
    @gerocastano8 Год назад

    Is there a way to use Machine Learning with Tensorflow on the GPU inside of VSCode?

  • @sebastianmoya1639
    @sebastianmoya1639 2 года назад +1

    thanks thanks thanks ! amazing ! just one question. How do I into to env in different way? I can not use " Conda activate env", only Conda activate Users/.../env

    • @mrdbourke
      @mrdbourke  2 года назад +1

      You have to make sure you’re in the right folder (where your env is). E.g. if your env is in “TensorFlow-test” folder you need to be in that folder to use “conda activate ./env”

  • @TheRcortezk9
    @TheRcortezk9 3 года назад

    This would have saved me a lot of time. I eventually got it set up.

  • @qspit
    @qspit 3 года назад +1

    Great content! Why not installing miniforge using brew?

    • @mrdbourke
      @mrdbourke  3 года назад +2

      You can do that yes with "brew install miniforge", however I wanted to link to the Miniforge website in the tutorial so someone knows where it comes from.

    • @qspit
      @qspit 3 года назад

      @@mrdbourke, thanks. That's how I did it, I was wondering if maybe it would cause some package compatibility issues on M1

  • @incredible792
    @incredible792 2 года назад

    chmod: Unable to change file mode on /Users/aurnob/Downloads/Miniforge3-MacOSX-arm64.sh: Operation not permitted
    showing this..help me out!

  • @ZilgashXXXXX
    @ZilgashXXXXX 2 года назад

    Hi Daniel, i followed all the steps, but when i import tensorflow as tf, it still wrote Error: Initialization Failed. How do I solve for this?

  • @bw7112
    @bw7112 2 года назад

    I tried to install tensorflow in the folder you named in GIT, it didn't work saying that tensorflow module cannot be found. Then I installed it in main folder, it worked. How is that possible?

  • @videshdarshan4358
    @videshdarshan4358 3 года назад

    Hi Daniel,
    Thank you for this video. I have one question How to install other package when needed.
    Can you please tell me.

  • @sebastianstarklink9438
    @sebastianstarklink9438 3 года назад +1

    Thank you so much for making this video, it's exactly what I've been looking for. Just received my new macbook pro and can't wait to get it set up. :-)
    One question, if I want to use PyCharm as my IDE can I just select the virtual environment we have created in this video in PyCharm and TensorFlow will still use the GPU?

    • @mrdbourke
      @mrdbourke  3 года назад

      You're welcome Sebastian! How did the setup go? And yes, you can still use a GPU in PyCharm with an environment active

  • @noelsajenmathew5472
    @noelsajenmathew5472 5 месяцев назад

    will this also use the nueral engine in M2

  • @istvantoth5466
    @istvantoth5466 2 года назад

    I forgot also the question; to install Miniforge I have to conda deactivate the (base) env, right?

  • @travelingking8916
    @travelingking8916 3 года назад

    I tried tried your way 4 to 5 times but even after installing it shows module not found on m1 macbook air