So I program a tensorflow program in python3, and can execute said scripts with python3, with the modules that I installed using pip3. But when using
tensorboard --logdir="./graphs" --port 6006
It is using Python2.7, and numpy is not installed, since I am not using Python 2. When installing numpy with pip (instead of pip3) it still does not work because AttributeErrors.
How can i tell tensorboard (and other programs) to use python3 with the pip3 modules, instead of python2.7?
Using python3 tensorboard --logdir="./graphs" --port 6006
does not work, since python3 expects me to give it a script file.
Additional Information: The tensorboard graph file has been created in the given path, from this code
import os
import tensorflow as tf
import numpy as np
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
tf.reset_default_graph()
a = tf.constant(2)
b = tf.constant(3)
c = tf.add(a, b)
with tf.Session() as sess:
writer = tf.summary.FileWriter('./graphs', sess.graph)
print(sess.run(c))