![]() You run all these on command prompt.īottom line is, unless you have multiple environments (I highly recommend it so you can try different things) I cannot see you using activate. 'Activate' changes from one environment to the other, so unless you have multiple environments you shouldn't need it. I assume compiling tensorflow might not be completely trivial. Conda stuff is kind of pre-compiled to work with your machine/anaconda environment, while pip stuff is usually compiled on the spot. Using conda or pip installs stuff at your current installation. You can create as many environments as you want, think of each as a separate installation of python. Then you have a default environment, called root. I assume you installed python using anaconda. ![]() Congrats, these libraries will make you ready to build deep neural nets.The question is about Windows.Now your tensorflow environment contains all the common libraries used in deep learning.Inside the tensorflow environment, install the following libraries using the commands:.Close the Anaconda command prompt and open it again and activate the tensorflow environment using 'activate tensorflow' command.Now you have successfully installed the CPU version of TensorFlow. After activating, upgrade tensorflow using this command:.Activate the conda environment by issuing the following command:Īfter this step, the command prompt will change to (tensorflow).(Use this command even if you are using python 3.6 because TensorFlow will get upgraded in the following steps) Create a conda environment named tensorflow by invoking the following command:.After installing, open the Anaconda command prompt to install TensorFlow using these steps:.While installing, check the "Add Anaconda to my PATH environment variable".Uninstall current Anaconda environment and delete all the existing files associated with Anaconda from your C:\Users or where ever you installed it.Here is the solution which I explored and which worked for me: So, Jupyter notebook doesn't show env as the interpreterįor Anaconda users in Windows 10 and those who recently updated Anaconda environment, TensorFlow may cause some issues to activate or initiate. Why jupyter notebook is not picking up these modules? ModuleNotFoundError: No module named 'pandas' ![]() ModuleNotFoundError Traceback (most recent call last) I am not sure why is that when the same environment has all those packages and in the same directory, if I use Python interpreter it shows all packages. But when I just import basic python libraries in that, like pandas, it says "no packages available". It opens up a new notebook in the browser. Now, I open up a Jupyter notebook SFOM00618927A:dl i854319$ source activate tensorflow (tensorflow) SFOM00618927A:dl i854319$ conda listĪnd I can see the same list of packages in that. In that, I activated tensorflow environment SFOM00618927A:dl i854319$ source activate tensorflow So, I created a new directory (outside of this environment). However, I wanted to do the same thing in the Jupyter notebook. Now, when I open up the Python interpreter in this environment and I run the basic TensorFlow command, it all works fine. You can see that jupyter is also installed. # packages in environment at /Users/i854319/anaconda/envs/tensorflow: Here is the list of packages in that environment (tensorflow) SFOM00618927A:dl i854319$ conda list I also installed TensorFlow and Keras there. Then installed the data science Python packages, like Pandas, NumPy, etc., inside it. ![]() In Anaconda, I created an environment called tensorflow as follows conda create -n tensorflow For this, I first installed all the packages for deep learning in my Python environment. I am trying to do some deep learning work. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |