2021, Installing TensorFlow 2.4, Keras, & Python 3.8 in Mac OSX Intel
Вставка
- Опубліковано 6 лис 2024
- In this video, I update on how to install TensorFlow 2.4, Keras and Python 3.8 on Mac OSX. I performed this on an Intel Mac, I will probably update in the future when I obtain an M1. See comments for some special instructions for M1's that might be necessary.
This video is about Intel Macs, for an M1 Mac, refer to:
• 2021, Installing Tenso...
Code link:
github.com/jef...
** Follow Me on Social Media!
GitHub: github.com/jef...
Twitter: / jeffheaton
Instagram: / jeffheatondotcom
Discord: / discord
Patreon: / jeffheaton
If you have an M1 Mac, I have an updated video for that. ua-cam.com/video/_CO-ND1FTOU/v-deo.html
not working on macbook m1. I get error. "The kernel appears to have died. It will restart automatically."
This is exactly what I need. Thank you so much !
This worked well for me! I already had anaconda installed but made sure to update from bash to zsh (also included the .zprofile), followed the tutorial with no issues.
Great video, works in one go . Thanks for such a community help .
Please cover M1 with TF
hi, thank you for the instruction, but it has not worked for the m1 MacBook. it said that "zsh: illegal hardware instruction python" and dead kernel. Can you help me with it?
have a look in the video at 2:30
doesnt work for me too on the m1 macbook
@@amireshaq hi, try it too but it does not work
@@amireshaq he's just talking about using -zsh there, which OP is clearly using.
Worked for me, thanks!
Please cover about the same topic on M1
can you do a tutorial for use m1 with neural engine?
not working on older mac either.
Worked for me but make sure you update from bash to zsh
Didn't work in the Macbook Air (M1,2020). I got error "The kernel appears to have died. It will restart automatically."
I have problem with the AVX2 FMA instruction...this not solve this problem, do you know how to solve it in MacOs BigSur??
Thank you!
Anaconda for MacBook M1 chip will be better or Miniconda?
Thank you very much !
I followed step by step and face the following error:numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject. Alr reinstall numpy and same error. Any help would be appreciated.
I have a problem. At the end, I paste the code and run it in the jupyter. But I have an error which says dead kernel. It restarts and then same thing. How can I solve this?
Hi! When I run the final code this message appears. How do I correct this?
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
how do you make python 3 as default version. my computer still show python 2.7
miniconda is good but it doesn't have mediaipie, I try so hard but it not work
Why do I need a conda-thing? Isn't a -mvenv enough?
I want to deregister the conda tensor flow env. In other words, I want to reverse the command "python -m ipykernel install --user --name tensorflow --display-name "Python 3.8 (tensorflow)" pls help thx
Hello, please teach tensorFlow Sharp Tensor Library in C # environment in Windows Form environment.
I installed this on my Intel Mac v11.7.1. I installed python v3.9.12. I also updated the tensofrlow.yml file to say python=3.9.12 and tensorflow==2.11 for latest tensorflow. when I run the initial "# What version of Python do you have?" commands here is the error I get...
----> 2 import tensorflow.keras
ModuleNotFoundError: No module named 'tensorflow'
any idea? please help.
I got it to work but had to install the modules manually in the tensorflow environment...
conda install -c conda-forge tensorflow
pip3 install tensorflow --upgrade
pip3 show tensorflow
conda install -c anaconda pandas
pip3 install pandas --upgrade
pip3 show pandas
conda install -c anaconda scikit-learn
pip3 install scikit-learn --upgrade
pip3 show scikit-learn
after the above I was able to use the notebook...
2022-12-19 20:59:52.432740: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Tensor Flow Version: 2.11.0
Keras Version: 2.11.0
Python 3.9.12 (main, Apr 5 2022, 01:53:17)
[Clang 12.0.0 ]
Pandas 1.5.2
Scikit-Learn 1.2.0
GPU is NOT AVAILABLE
Does he have a video for this on windows?
Thank you for the video. However, I got a problem in activating the tensorflow environment, could you or anyone help me with this?
# To activate this environment, use
#
# $ conda activate tensorflow
#
# To deactivate an active environment, use
#
# $ conda deactivate
(venv) ...MacBook-Air ~ % $ conda activate tensorflow
zsh: command not found: $
(venv) ...MacBook-Air ~ % conda activate tensorflow
(venv) ...MacBook-Air ~ % conda activate tensorflow
I tried to exit venv environment and type the command again but still it wasn’t working. What could I do to fix this?
Thank you!