

- Mac set default program for yaml install#
- Mac set default program for yaml software#
- Mac set default program for yaml code#
- Mac set default program for yaml windows#
This is important because it allows Python to use Jupyter and TensorFlow from the same environment. You can check all dependencies are in the same environment. You need to switch to hello-tf to activate the environment When the project is over, you can remove or not this environment. This is a recommended practice because each machine learning project requires different libraries. You created an isolated conda environment with the libraries you will use during the tutorials. It will take around 1.1gb of space in your hard disk.
Mac set default program for yaml windows#
Note: For Windows users, the new environment is created inside the current user directory.
Mac set default program for yaml code#
yml file with the following code : conda env create -f hello-tf.yml In this step, you only prepare the conda environment
Mac set default program for yaml install#
Note: Windows users will install TensorFlow in the next step. It will open the notepad, you can edit the file from here. notepad hello-tf.ymlĮnter following into the file name: hello-tfdependencies: Windows does not have vim program, so the Notepad is enough to complete this step. Press esc followed by :q! to quite the edit mode. pandas: Install Python version 3.6, Jupyter, Ipython,and pandas libraries.Or the path “where anaconda” command gives you Open your Terminal, and type: cd anaconda3įor Windows user (make sure of the folder before Anaconda3): cd C:\Users\Admin\Anaconda3 This action will change the working directory to PATH. Don’t forget to wrap the PATH with ‘PATH’.

PATH is the path you pasted in the text editor. If the path on the text editor does not match the working directory, you can change it by writing cd PATH in the Terminal. The Terminal will install all the libraries in this working directory. In MacOS, the latest folder is shown before the $. As you can see in the figure below, the path of anaconda3 and the working directory are identical. The Terminal sets the default working directory to Users/USERNAME. You need to specify the working directory where you want to create the yml file.Īs said before, it will be located inside Anaconda.
Mac set default program for yaml software#
A quick way to install libraries and software is to write a yml file. You will need to create a new folder inside Anaconda which will contains Ipython, Jupyter and TensorFlow. In the next, we will set the working directory from c:\ to Anaconda3.įor MacOS user, you can use the Terminal and type: which anaconda For instance, in the picture above, Anaconda is installed in the Admin folder. We are interested to know the name of the folder where Anaconda is installed because we want to create our new environment inside this path. If you are a Windows user, you can use Anaconda Prompt and type: C:\>where anaconda You will create a new conda environment that includes the necessaries libraries you will use during the tutorials about TensorFlow. The first step you need to do is to locate the path of Anaconda.

To run Tensorflow with Jupyter, you need to create an environment within Anaconda.
