I got an error when I set up the development environment according to the book of deeplearnig I bought, and as a result of investigation, I found that I had to use python 3.6.0 to use Tensorflow. In order to do that, I found out that I had to build a virtual environment, so I'll try to summarize it while experimenting as a beginner.
You can create a virtual environment from Create of ANACONDA NAVIGATOR. (Named tensorflow)
I tried to show a list of existing environments with the command conda info -e.
Let's actually create an environment called tensorflow from Create earlier. A virtual environment called tensorflow has been created! You can go to the created virtual environment by opening the terminal from this arrow. When I actually checked it, it was moved to tensorflow! I checked the virtual environment package created by conda list. I actually tried importing numpy but got an error.
Next, I tried moving the virtual environment with the command (conda activate virtual environment name).
I created a virtual environment with commands. conda create -n Name of virtual environment Write the packages to install. (python = x.x) (separated by spaces)
・ I was able to install tensorflow successfully!
https://qiita.com/yampy/items/4e89cd97179bbd20f726 list of conda commands
Recommended Posts