Trying to install materials for the next course:
https://github.com/Dataweekends/zero_to_deep_learn...

Do the following steps:
1.git clone https://github.com/Dataweekends/zero_to_deep_learn...
Download and Install Anaconda Python 3.6
https://www.anaconda.com/download/

2.Change to course folder
cd zero_to_deep_learning_video
Create the course environment

3.conda env create
wait for the environment to create.

4.Activate the environment(Mac/Linux)
conda activate ztdl

5.conda activate ztdl
Check that your prompt changed to
(ztdl) $

6.Launch Jupyter Notebook
jupyter notebook

Open your browser to localhost: 8888

7.Run the Check environment Notebook
The notebook 0_Check_Environment.ipynb and run it.If you see the message:
Houston we are go!

but the last check fails and I get:

'/anaconda3/bin/python'

instead of:

//anaconda/envs/ztdl/bin/python

and:

'/anaconda3/lib/python3.6/site-packages/jupyter.py'

instead of:

//anaconda/envs/ztdl/lib/python3.6/site-packages/jupyter.py'

plus:
no module name tensorflow, although when I look through pip(pip list), everything is included in the list of installed files.

Ie, as I understand it, somewhere PATH Anaconda is not installed on/through the virtual machine.
__________________________________________________________________________________________

Immediately, by the way, I want to note that every time I start the terminal, I immediately receive 3 messages:

-bash: conda: command not found
__________________________________________________________________________________________

Therefore, I tried:
Found somewhere through Google

export PATH="/home/username/anaconda3/bin: $PATH" to my .bachrc
(open by typing vim ~/.bashrc)

Add this to your .zshrc:
export PATH="/home/username/anaconda3/bin: $PATH"
(open by typing vim ~/.zshrc)
Make sure to replace/home/username/anaconda3 with your actual path.

_____________________________________________________________________________ I open .bashrc in which I see
export PATH="$PATH: $HOME/.rvm/bin" #Add RVM to PATH for scripting

bottom added:
export PATH="/home/IvanIvanov1/anaconda3/bin: $PATH"

_________________________________________________________________
Further: I open /.zshrc and insert:
export PATH="/home/IvanIvanov1/anaconda3/bin: $PATH"
(besides this record there is nothing more in the file)

Esc
: x Enter

_____________________________________________________________________________________________________________
Found another following.Answer stack overflow:
https://stackoverflow.com/questions/46969296/anaco...

open .profile:

in the cat.I am now:

export PATH="$PATH: $HOME/.rvm/bin" #Add RVM to PATH for scripting

[[-s"$HOME/.rvm/scripts/rvm"]]&&source"$HOME/.rvm/scripts/rvm" #Load RVM into a shell session * as a function *

and .bash-profile:

PATH="$PATH: ~/bin"

[[-s"$HOME/.rvm/scripts/rvm"]]&&source"$HOME/.rvm/scripts/rvm" #Load RVM into a shell session * as a function *

#added by Anaconda3 5.1.0 installer
#export PATH="/anaconda3/bin: $PATH" #commented out by conda initialize

#Setting PATH for Python 3.7
#The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin: ${PATH}"" export PATH

#Setting PATH for Python 3.7
#The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin: ${PATH}"" export PATH
conda activate
conda activate
#./anaconda3/etc/profile.d/conda.sh #commented out by conda initialize
#conda activate #commented out by conda initialize
#./anaconda3/etc/profile.d/conda.sh #commented out by conda initialize
#conda activate #commented out by conda initialize
conda activate
#./anaconda3/etc/profile.d/conda.sh #commented out by conda initialize

#>>>conda initialize>>>
#!! Contents within this block are managed by'conda init'!!
__conda_setup="$('/anaconda3/bin/conda''shell.bash''hook'2>/dev/null)"
if[$? -eq 0];then
    eval"$__ conda_setup"
else
    if[-f"/anaconda3/etc/profile.d/conda.sh"];then
        ."/anaconda3/etc/profile.d/conda.sh"
    else
        export PATH="/anaconda3/bin: $PATH"
    fi
fi
unset__conda_setup
#<<<conda initialize<<<

#Setting PATH for Python 3.7
#The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin: ${PATH}"" export PATH

#Setting PATH for Python 3.7
#The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin: ${PATH}"" export PATH
#added by Anaconda3 2019.03 installer
#>>>conda init>>>
#!! Contents within this block are managed by'conda init'!!
__conda_setup="$(CONDA_REPORT_ERRORS=false'/Users/IvanIvanov1/anaconda3/bin/conda'shell.bash hook 2>/dev/null)"
if[$? -eq 0];then
    \ eval"$__ conda_setup"
else
    if[-f"/Users/IvanIvanov1/anaconda3/etc/profile.d/conda.sh"];then
        ."/Users/IvanvIvanov1/anaconda3/etc/profile.d/conda.sh"
        CONDA_CHANGEPS1=false conda activate base
    else
        \ export PATH="/Users/IvanIvanov1/anaconda3/bin: $PATH"
    fi
fi
unset __conda_setup
#<<<conda init<<<

_____________________________________________________________________________________________
Please tell me where to write and in the right direction

1 Answers 1

It was possible to resolve the problem through the installation of another kernel'a for Jupyter Notebook'a familiar programmer friend here:

https://ipython.readthedocs.io/en/stable/install/k...
Kernels for different environments

Ie the file check passes and tensorflow is located, but nevertheless, the problem most likely remains in the .bash files, since they don’t address the correct PATHs, but for now it will work.