Anaconda + Conda Command

Ankit Mistry
A free video tutorial from Ankit Mistry
Software Developer | I want to Improve your life & Income.
4.3 instructor rating • 18 courses • 43,657 students

Lecture description

In this video we will see how to start anaconda prompt, and various  conda utility related  command  for performing various task like

  • update package,

  • install package,

  • remove package.

Learn more from the full course

Complete Data Analysis with Pandas : Hands-on Pandas Python

Learn in demand skill Pandas, Sci-kit Learn, Numpy For Data Science & Machine Learning : Seaborn | MatplotLib | Python

16:49:05 of on-demand video • Updated November 2020

  • Update your resume with one of the in demand skill : Data analysis Pandas
  • Setting up Python in anaconda environment
  • Refresh Python basics with crash course
  • Learn Most demanded python data analysis library : Pandas
  • Three important data structure of pandas : Series, Data Frame, Panel
  • Learn how to analyse one, two and three dimensional data
  • How to group Data for analysis
  • How to deal with Text Data with Pandas Functions
  • Analyse data having multiple level index.
  • Array and Matrix manipulation Library NumPy
  • Master pandas with quizzes.
  • Data Visualization Matplotlib and Seaborn Library
  • Importing data from various different kinds of sources
  • Complete Machine Learning work flow implementation with Scikit-learn
English Hi everyone. So we successfully installed Anaconda. Now let's see about some of the Conda related command and will verify all our installation whether the required library which we want throughout this whole course whether it is successfully installed or not while installation of Anaconda. So regarding the conda command, some of the commands related to like updating of conda or updating particular library or you want to install some new library. If it is not installed in your machine and if you want to remove some library or remove some packages how you can do it. OK so let me open this Anaconda shell. so as I am on windows machine I am just pressing here the start menu or windows button and and just search for anaconda. So if Anaconda has been successfully installed on your machine you'll be able to see this Anaconda prompt. Let me just minimize this Power point presentation as of now, OK so to verify whether Conda has been installed correctly or not. So just type "Conda" and it has given me the list of suggestion related to conda command. So that means that Conda has been completely installed. So what is conda, is a tool for managing and deploying your application your environment. and package inside your whole Anaconda environment and to let's see what is the version of Anaconda. So you can use conda hyphen version. So you have to type double hyphen. See here. So I am running here Conda 4.5.11. You can even give hyphen capital V. So it will give the same result if you want to get some of the conda related information so you can use like "conda info". So it was so you that what is the conda version, what is conda build version, Python version it has used plus Plus where it has been installed so it is installed on my local machine where the Path is "C:\Users\PC\Anaconda3" an my active environment is base. So base is nothing This base it is talking about because we haven't started the command line prompt of this Windows operating system instead of that we all started Anaconda Prompt. So some sort of same come online prompt plus some modified version of that and some extended functionality related to Anaconda has been added. So I would suggest to you to start this conda from this Anaconda prompt rather than basic command line prompt available in a Windows application. Now lets say if you want to update this conda utility so you can use like a conda update then the package you want to update. Now in this case we want to update the conda itself. So conda. So now what it will do it will start searching for whether the new version is available under some remote location. So all those channel URL. So you can see in a info Command output we have got like These are the URLs, from those URLs it will try to fetch all those latest version it will downloaded in your local machine and it will ask you whether you want to download it or not okay. So solving environment has been done and it will Asking me that while updating following package will be downloaded and following new package will be installed along with that below package will be updated. Now as of now I don't want to update any conda related package so I am 'N' any if you want to update it you can just place 'Y' and you can go ahead it will download in your local machine and it will install it. OK so as of now I am doing N. And now let's say if you want to install some specific package. So throughout this whole course we are going to use this Pandas package only so or in some of the video we are going to use this Numpy package also. So we are like let's see whether we want to install this numpy. Now this Numpy Pandas and Matplotlib all those packages and a library has been Pre-bundled with this Anaconda distribution so you do not need to install This is just to give you an idea that if some of the package you want to explicitly install on your machine you can do with this such a kind of conda command. So conda install let's say "numpy" So it will start searching for appropriate version of this numpy. Which is compatible with your current version of conda. Again it is asking that following package will be updated and following package will be downgraded but I don't want to do it. same way If you want to let's say the remove so you can use "conda remove" So while uninstalling this numpy It is asking me that following change will be happen in your system. So I don't want to do it so I am placing N. So these are the some of the very few basic command associated with conda utility for you to just get started. Now we haven't touched many commands yet but these are the very few basic command. will verify that whether required library like the numpy library, pandas library or matplotlib library has been installed by an installation of this Anaconda. So let's just go to the Python prompt. So to start the python just type Python from this Anaconda prompt and it will lend you to the Python prompt. So we are running here Python 3.7 version Now whether numpy has been installed on your machine or not. So we can use like our import numpy. So if it doesn't do error that means it has been perfectly loaded in your memory. We can even find what are the version of numpy we are running,so we can use like print numpy dot underscore underscore version So I am running here. numpy version like a 1.15.1. let's do with pandas library. so pandas also successfully loaded means it is correctly installed on our machine. Now let's find version of this pandas. So I am running here at 0.23.4 version. And let's do the matplotlib also. OK so all three liberty has been successfully loaded. That means all three library has been successfully installed while installation of this Anaconda and another one. The last one we need to verify like a Jupyter. So Jupyter lab and Jupyter notebook we'll see in next video that how to get started and some familiarity with the Jupyter notebook or Jupyter lab server. OK. So that is all about this video. See you in the next video.