How to Setup TensorFlow and keras in Anaconda (Python 3.7 and Python 3.8)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
as you know I'm trying to detect rhoann today I'm going to show you how to set up things of flow in your system and you can do I can look at my screen you'll see that when I say imports times of lowest year you can see the arrow that says no model named range of flow my previous tutorial way I did stop getting started with change of flow you can see many people we are having the same complain you can see no module names thanks off flow I come down I got an errand on model names thanks to flow so this is the problem I'm going to show you exactly how to solve it so night made all the step by step at this point of this place so I remind you to subscribe to my channel if you can subscribe so let's just get started so the first thing we are going to do we are going to uninstall everything Python from our system the reason is because sometimes some peasants will go to command prompt and try to do P apip installed and if you do p IP install for instance you do p IP install things so flow after doing this while it may run like me not run you will still have the same error in get a notebook trying to do stranger flow because paint employs a different kind of model don't unders or escalate or multiply 24 is a completely different thing altogether it works in a different kennel or any different environments than normal models when you install it works in a different kennel but from here it works in a different canal alright so let's follow the procedure first let me just close this close all and I'm going to also close the I'm also going to close command prompt and finally I'm going to close to turn on both fronts so the first thing I'm going to do I'm going to uninstall everything python from my system follow this procedure and that is going to help you a lot of course if you know what's here then you can skip ahead to the app you can skip ahead in the video so first I'm going to go to add/remove programs now while we are on insulin everything is that when we use anaconda to manage our Python installation and walk with machine learning models anaconda can install everything I use anaconda to set up everything you need to set it off using anaconda so in this way you don't have models installed in different places in your system all right so at this point I'm going to add remove programs okay so right here add remove program I'm simply going to look for anaconda I'm going to look for anaconda and I'm going to install it so these are Lokhande I'm going to just uninstall it yes uninstall and if I scroll down maybe I'll see Python and I'm going to uninstall it as well so scroll down so okay for now there is no Python installed in my system so anaconda goes out uninstall everything I'm told in salina anaconda you can as well go to Program Files silence check for anaconda or Python and remove it completely so I'm simply going to go to Program Files to check if there is some other installation of Python so I'm going to come here go to Program Files and I'm going to talk to P so now there is no Python I'm going to check out another dry drive D I'm going to go to Program Files and I'm going to check for P so for now there is no Python installed so these are not conduct which we are on installing right now and you can see that I'm going to just delete the anaconda folder delete all right so the next thing we are going to do why that's uninstalling let's go to the website anaconda download and download a copy of anaconda so just go to anaconda onaconda downloads so we are going to use anaconda for python 3.7 because this is a September 2019 so go to anaconda Python distribution and we are going to select windows because this is installation for Windows and I'm going to choose download for 64b because I'm running on 64-bit system so I'm going to just click on it to download depending on your download speed this is going to take a few seconds for me it stays two minutes because my speed double speed for me my internet connection is a bit fast alright so I'm going to just close and we just wait a couple of seconds for this to complete uninstalling so we can see that the file uninstalled completely and concise completely uninstall I'm going to click Next finish perfect the next one is to install anaconda I've downloaded it and it's right here in my downloads alright let me look for it anaconda ok you can see it right here so I downloaded it twice so I'm simply going to run it now pay attention to and a combined installation because there's something you need to take note of during installation of anaconda so it starts up alright so the selection wizard comes up like this I'm going to just click on next I agree just me all users it's okay I think all users and I'm going to say nice it's likely gonna ask me to enter the credentials yes is okay and now now this is very very important installing in a in a directory that the file does not have any space at all so in this case I'm installing it in drive C program data anaconda but Eric I would like to install it in Drive D Drive D let me see do I have program data here so program data yeah yeah so yeah so I'm going to install it in Drive D and the same part but this time in Drive D and say nice so at this point you can choose add anacondas to system factorable personal leaving blank exactly the way these I'm just go ahead twinning not install it I'm gonna take a couple of seconds so let's wait for a second for it to install so as you can see the installation completed successfully I'm simply going to go nice nice so if you want to use JetBrains the Python don't worry yourself don't install anything separately outside anaconda all right so I'm going to uncheck this because we are just going with what we are doing okay open anaconda navigator so go to your Program Files and now we have anaconda city for B everything is new I'm going to just go to anaconda navigator that is what it should open so that we can set off Gupta notebook because if the notebook is what you are going to use to walk with fine to flow so we have anaconda net data open right now have a number of applications re-consent up doing we can use to walk with craig machine learning models instead he essays or install chips a notebook I've installed it before now as is follows from the previous installation and I'm going to click on environment so we can environments at this point and we are going to create a new environment of course you have this text for you here create a new environment so I'm going to just click on create here and give it a name thanks Oslo and choose the Python version here so ok just choose Python at this point yeah so just Python 3.7 not 2.7 just right on 3.7 and click click on create ok so it takes a while to set up the environment so once the environment is settled we are going to come to this site and choose not installed and we are simply going to cycle time stall road so you can see pencil flow right here but for now our environment is still coming up so let's give a couple of seconds so right now our environments a set up completely so I'm going to click on the environment all right click on it and I'm going to choose tensor flow so don't go ahead to choose many other things just two strains of flu this one so when you select things of flow from here okay selected time just click on apply right here in the lower right and click on apply so it's going to adds the kinds of flow package oh yeah depends on the package to the strains of flow and growing this is how to setup frames of flow but now we are not done because we are actually going to test it after no go ahead to click on apply and it takes some time to apply after now we are also going to state of errors and this one you already know you simply click on this place and click on apply so I'm going to do it as well so one thing you can now see is that there are 12 government's there we have the base and we have the tensorflow we are walking with normal Python projects animal data analytics project maybe understand stop finger user base but if you want to walk with legs of law then you are going to use the x applause so how does it work you need to go back to home if you go back to home at this point if you if you drop down to application you can see the same two environment here for heart based now we have x upload if I go to base you'll see that Gupta notebook is installed a few other things are installed as well okay so we can't install any more things in base for now especially we are talking about deep tunnel book but if we they are so if we go to times of flow you'll see that in terms of flow we need to install your tunnel book so that is one thing we need to do we need to put it on the book or in the in the times of the environment so that would be able to use to touch phone Denver so at this point I'm going to just come to your talent book and just click on install okay so it takes a while so we just have to allow you to complete the installation so at this point you can see that our installation of Utah notebook in times of blow-up completed naturally it's a solution of different notebook in the environment we created so we can actually come here click on launch sheets but what I'll do is to go to Program Files and open it from there so go to Program Files and choose a Mukunda now you are you are going to see you can of notebook 2 times 1 anaconda the base package the base environment and you can load the book depends of course so let's choose the tensorflow so anytime you are going to be walking with pains of flow you are going to be using the kinds of flow and programs that we created and the reason is because times of flow are walks in it in a bit a different way than normal data analytics because it's kind of resource intensive application or model so at this point you are going to try to import you can load I'm important job flow now and we see that everything problems is solved so at this point let me create a new notebook by country so and we are going to do the same import with thee that field ok so you find out from here the same import times of flow past here and I'm going to Ronny you can see that it imported successfully without any problem and I'm going to come here and say from tanks of law it will cause terror we'll also see that it will run successfully so let me Ronnie at this point so you see everything run successfully and this is how to solve this problem again I like to remind you to subscribe to my channel he'd be subscribe button below leave a comment for me and also feel free to like the video and we see in the next one
Info
Channel: Kindson The Tech Pro
Views: 164,340
Rating: undefined out of 5
Keywords: Python, TensorFlow, Jupyter Notebook, keras, numpy, anaconda, conda, Anaconda Navigator, Machine Learning, Data Science, Tensors
Id: O8yye2AHCOk
Channel Id: undefined
Length: 13min 14sec (794 seconds)
Published: Sat Sep 28 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.