![]() Type the following at the Command Prompt to configure the 'base' Python environment for use: conda initĬlose the Command Prompt and optionally re-open it. This will launch the Windows Command Prompt with the 'base' Python environment loaded, the beginning of the prompt will show (base) to indicate this: ![]() This will configure the base Python environment for Windows Command Prompt, Windows PowerShell, and the Windows Terminal for easier use with Anaconda.įrom Anaconda Navigator, click on the 'Environments' tab on the left:Ĭlick on the Play button and then click on 'Open Terminal': Initial Configuration of Windows Command Prompt for a Python/Anaconda Environment If Anaconda Navigator detects an available update, it will prompt to install the update, click `Yes to automatically update: The launch may take some time to complete and flashing boxes are normal during startup. Click on 'Anaconda Navigator' rather than 'Anaconda Prompt' or 'Anaconda PowerShell':Īnaconda Navigator will launch. Locate Anaconda Navigator by searching for 'Anaconda'. Launching Anaconda NavigatorĬlick on the ⊞ Start Menu. If the machine has Anaconda installed, only use conda commands, not pip commands. If Anaconda is installed on a machine, the conda and pip package managers can conflict leading to larger and more complex issues. Please give it a try, and let me know your feedback!Ĭonsider following me on GitHub, Medium, and Twitter to get more articles and tutorials on your feed if you like what I did.Various online sources will indicate the use of pip to install packages or fix various issues. no error pop up - Yeah!Īnd…Ta-da! It’s done! You can follow this article to test your newly installed packages :) no error pop up - Yeah! You can also try with Spyder. If the installation was unsuccessful, you will get an error. If everything is okay, the command will return nothing. This may take several minutes.Ĭheck your installation by importing the packages. ![]() The pop-up window will appear, go ahead and apply. In your new ‘tensorflow_env’ environment, select ‘Not installed’, and type in ‘tensorflow’. Make sure to select Python 3.6 here! Then ‘Create’, this may take few minutes. Input a new environment name - I put ‘tensorflow_env’. Go to the Environments tab and click ‘Create’.Ģ. I assume you have downloaded and installed Anaconda Navigator already. This article will walk you through the process how to install TensorFlow and Keras by using the GUI version of Anaconda. When TensorFlow is installed using conda, conda installs all the necessary and compatible dependencies for the packages as well. “ One key benefit of installing TensorFlow using conda rather than pip is a result of the conda package management system. why is tensorflow so hard to install - 600k+ results unable to install tensorflow on windows site: - 26k+ results Just before I gave up, I found this… I played around with pip install with multiple configurations for several hours, trying to figure how to properly set my python environment for TensorFlow and Keras. Photo by Krzysztof Kowalik / Unsplash Why am I writing this? Say no to pip install in the command line! Here's an alternative way to install TensorFlow on your local machine in 3 steps.
0 Comments
Leave a Reply. |