AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Anaconda install tensorflow 211/29/2023 So, we should write: ‘conda activate’ and the name of the environment. Time to enter or activate the environment, so we can manage it. Note that this process may take a couple of minutes. We get the package specifications and all that’s about to be installed. However, we’ll be using this ‘p圓-TF2.0’ environment only when we need TensorFlow 2, so we will include that in the name.įinally, we must finish the line with the language we want installed and its version, so: 'python=3'. Now, all of our widely used packages, including TensorFlow 1, are in the ‘python3’ environment. We’ll add: ‘TF2.0’ so that we know that TensorFlow 2 is installed there. In our case, that would be Python 3.Ī good idea is to add any other clarification you see fit when you have more than one environment with Python 3 installed. Once you’ve done that, you can add the version of Python. So, it’s always advisable to include ‘Python’ or simply ‘Py’ in the name. You can use Anaconda not only for Python but also for other programming languages. Then we must include the name of the environment we want to create. How to Create a New Environment in Anaconda If you have never created an environment before, you should only have the base environment.īut that should not concern you – after all, that’s why we are here. Type ‘conda info –envs’ like this and you will get a list of all the environments you have created before:Īs you can see, we have 4 different environments – the base one, Python 2, Python 3, and Python 3.7 with TF2 installed on it. Most probably, the easiest way to reach it is by searching for it in your Start menu. How to Check Our Current Environmentsįirst, please open Anaconda Prompt. If you don’t have Anaconda installed, you can refer to our tutorial on installing the Anaconda package. That’s a strong plus because there’s no need to install the main packages separately as with some other software for programming in Python. The good thing about Anaconda is that NumPy and pandas, along with many other libraries, come automatically with it. In this tutorial, we’ll show you how to create a new environment, install TensorFlow, upgrade to its latest version and then add a new kernel to Jupyter. With its latest version out, you must be wondering how you can install TensorFlow 2 on your machine and get it running.
0 Comments
Read More
Leave a Reply. |