I cannot get pytorch with python 3 on macosx why?

I tried to get binaries. I tried to compile it from source, but every time I get something on python 2.7

seems like an issue might be with your python install.

What’s the output of:

python --version
pip --version

Are you using an anaconda python?

python 2.7.13 :: Anaconda custom (x86_64)

pip 9.0.1 from /Users/olivier/anaconda/lib/python2.7/site-packages (python 2.7)

but my jupyter environment is on python 3
and When I activate tensorflow, the system says :
python 3.5.2 :: continuum analytics, Inc
pip 9.0.1 from /Users/olivier/anaconda/envs/tensorflow/lib/python3.5/site-packages (python 3.5)

how can I get it fixed while keeping my Tensorflow operationnal ?