Install tensorflow 2.0 | Deep Learning Tutorial 5 (Tensorflow Tutorial, Keras & Python)




[ad_1]

I will show how to install tensorflow 2.0 on windows computer. I will be installing it on top of anaconda.

Video to install anaconda on windows: https://www.youtube.com/watch?v=Vt6loGK9Adc

Next video: https://www.youtube.com/watch?v=z-ZR_8BZ1wQ&list=PLeo1K3hjS3uu7CxAacxVndI4bE_o3BDtO&index=6

Previous video: https://www.youtube.com/watch?v=ER2It2mIagI&list=PLeo1K3hjS3uu7CxAacxVndI4bE_o3BDtO&index=4

Code for logistic regression: https://github.com/codebasics/py/blob/master/ML/7_logistic_reg/7_logistic_regression.ipynb

Deep learning playlist: https://www.youtube.com/playlist?list=PLeo1K3hjS3uu7CxAacxVndI4bE_o3BDtO

Prerequisites for this series:   
1: Python tutorials (first 16 videos): https://www.youtube.com/playlist?list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0
2: Pandas tutorials(first 8 videos): https://www.youtube.com/playlist?list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy
3: Machine learning playlist (first 16 videos): https://www.youtube.com/playlist?list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw

Website: http://codebasicshub.com/
Facebook: https://www.facebook.com/codebasicshub
Twitter: https://twitter.com/codebasicshub
Patreon: https://www.patreon.com/codebasics

Source


[ad_2]

Comment List

  • codebasics
    November 18, 2020

    Please help
    Defaulting to user installation because normal site-packages is not writeable

    ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)

    ERROR: No matching distribution found for tensorflow

    I am getting this error. I have uninstalled anaconda and all python installations and done a fresh install of python.I have also tried installing it using wheel package but still it shows same result

  • codebasics
    November 18, 2020

    is it for gpu too or cpu only version

  • codebasics
    November 18, 2020

    What your Python version? I use Python 3.8 and i have tensorflow 2.3 but i can't import this

  • codebasics
    November 18, 2020

    Sir I am unable to run tensorflow can u send me any link

  • codebasics
    November 18, 2020

    I am not able to install tensorflow using gitbash or either with help of windows power shell..
    Can i use google colab for the same task
    As i use earlier its output varies from the output which is shown in the tutorial which i have seen..
    Please someone help

  • codebasics
    November 18, 2020

    My anaconda python version is 3.8.3. Can I use the same steps to install tensoflow? If not please let me know the way around.

  • codebasics
    November 18, 2020

    Please help with this.
    I have installed plain python.
    Successfully installed tensorflow.
    But while importing it gives error as:-
    OSError:- [Winerror 193] %1 is not a valid Win32 application.

  • codebasics
    November 18, 2020

    When i use git bash as administer amd wirte jupyter notebook it says bash:jupyter: comand not found
    Anyone help me to install tensorflow please

  • codebasics
    November 18, 2020

    I have successfully installed Tensorflow…..but when i am trying to import it in jupyternotebook ….I am geting an error. Can someone help me with this.

    ImportError: Traceback (most recent call last):

    File "C:Usersshailanaconda3libsite-packagestensorflowpythonpywrap_tensorflow.py", line 64, in <module>

    from tensorflow.python._pywrap_tensorflow_internal import *

    ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found

  • codebasics
    November 18, 2020

    when I worte jupyter notebook in git bach there is a erro (( bash: jupyter: command not found
    )

  • codebasics
    November 18, 2020

    I have used tenserflow, yolo and build models by seeing some videos on youtube without knowing what is happening on the process. And i thought that's deeplearning. But after seeing your tutorials i realised that there are many things i need to know before building a model

  • codebasics
    November 18, 2020

    I've uninstalled the normal python and now pip is not showing. it's not working.

  • codebasics
    November 18, 2020

    The tensorflow module is successfully installed, but while importing the module it gives me this error -"Failed to load the native tensorflow runtime." , What should I do sir?

  • codebasics
    November 18, 2020

    Sir in git bash when i write Jupiter notebook this is showing command not found where is problm please solve this

  • codebasics
    November 18, 2020

    Sir,Instead of installing in laptop..Can we use directly in COLAB For working with Tensorflow..
    Because am getting error as
    ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)

    ERROR: No matching distribution found for tensorflow

    Am using Python 3.8.3

  • codebasics
    November 18, 2020

    what is jupyter.. what is notebook ..

  • codebasics
    November 18, 2020

    your video is assuming a lot of things the user knows.. where can someone start from basics basics

  • codebasics
    November 18, 2020

    Hi! i have a problem, the module gives this error — tensorflow 1.14.0 requires google-pasta>=0.1.6
    Please, ayuda!

  • codebasics
    November 18, 2020

    I have installed Git Bash , but it does not opening the jupyter notebook .
    It says

    bash : jupyter : command not found

  • codebasics
    November 18, 2020

    I have installed tensorflow successfully. I am getting error, when i am importing in Jupyternotebook
    the error is
    ImportError Traceback (most recent call last)

    ~Anaconda3libsite-packagestensorflowpythonpywrap_tensorflow.py in <module>

    57

    —> 58 from tensorflow.python.pywrap_tensorflow_internal import *

    59

    ~Anaconda3libsite-packagestensorflowpythonpywrap_tensorflow_internal.py in <module>

    27 return _mod

    —> 28 _pywrap_tensorflow_internal = swig_import_helper()

    29 del swig_import_helper

    ~Anaconda3libsite-packagestensorflowpythonpywrap_tensorflow_internal.py in swig_import_helper()

    23 try:

    —> 24 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)

    25 finally:

    ~Anaconda3libimp.py in load_module(name, file, filename, details)

    241 else:

    –> 242 return load_dynamic(name, filename, file)

    243 elif type_ == PKG_DIRECTORY:

    ~Anaconda3libimp.py in load_dynamic(name, path, file)

    341 name=name, loader=loader, origin=path)

    –> 342 return _load(spec)

    343

    ImportError: DLL load failed: The specified module could not be found.

    During handling of the above exception, another exception occurred:

    ImportError Traceback (most recent call last)

    <ipython-input-4-d6579f534729> in <module>

    —-> 1 import tensorflow

    ~Anaconda3libsite-packagestensorflow__init__.py in <module>

    39 import sys as _sys

    40

    —> 41 from tensorflow.python.tools import module_util as _module_util

    42 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader

    43

    ~Anaconda3libsite-packagestensorflowpython__init__.py in <module>

    48 import numpy as np

    49

    —> 50 from tensorflow.python import pywrap_tensorflow

    51

    52 # Protocol buffers

    ~Anaconda3libsite-packagestensorflowpythonpywrap_tensorflow.py in <module>

    67 for some common reasons and solutions. Include the entire stack trace

    68 above this error message when asking for help.""" % traceback.format_exc()

    —> 69 raise ImportError(msg)

    70

    71 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long

    ImportError: Traceback (most recent call last):

    File "C:UsersapratapsinghAnaconda3libsite-packagestensorflowpythonpywrap_tensorflow.py", line 58, in <module>

    from tensorflow.python.pywrap_tensorflow_internal import *

    File "C:UsersapratapsinghAnaconda3libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 28, in <module>

    _pywrap_tensorflow_internal = swig_import_helper()

    File "C:UsersapratapsinghAnaconda3libsite-packagestensorflowpythonpywrap_tensorflow_internal.py", line 24, in swig_import_helper

    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)

    File "C:UsersapratapsinghAnaconda3libimp.py", line 242, in load_module

    return load_dynamic(name, filename, file)

    File "C:UsersapratapsinghAnaconda3libimp.py", line 342, in load_dynamic

    return _load(spec)

    ImportError: DLL load failed: The specified module could not be found.

    Failed to load the native TensorFlow runtime.

    See https://www.tensorflow.org/install/errors

    for some common reasons and solutions. Include the entire stack trace

    above this error message when asking for help.

    sir please help

  • codebasics
    November 18, 2020

    Great work Dhaval

  • codebasics
    November 18, 2020

    I have successfully installed Tensorflow…..but when i am trying to import it…..I am geting an error. Can someone help me with this.

  • codebasics
    November 18, 2020

    Sir I have followed the same steps as you told in the video. The tensorflow module is successfully installed, but while importing the module it gives me this error -"Failed to load the native tensorflow runtime." , What should I do now. Please help me.

  • codebasics
    November 18, 2020

    i just really waiting for your videos on DeepLearning .Thanks a lot.

  • codebasics
    November 18, 2020

    Thank you very much for nice videos. Every video after each other getting more interesting and provides tons of learning materials

  • codebasics
    November 18, 2020

    How to install tensorflow-gpu?

  • codebasics
    November 18, 2020

    Right time right video uploaded by sir

  • codebasics
    November 18, 2020

    TensorFlow is a backend engine to Keras .
    It is an excellent choice for training distributed deep learning networks.

    create a Python 3 virtual environment exclusively for_ Keras + TensorFlow-based projects
    $ mkvirtualenv keras_tf -p python3

    $ workon keras_tf

    $ pip install –upgrade tensorflow

    $ python

    >>> import tensorflow

    # install a few Python dependencies to install keras
    $ pip install numpy scipy

    $ pip install scikit-learn

    $ pip install pillow
    $ pip install h5py
    $ pip install keras

    >>> import keras
    Using TensorFlow backend.
    >>>quit()

  • codebasics
    November 18, 2020

    Too short but amazing one.

Write a comment